Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > b0ff9d09571c98143a5ba603362ecbca > files > 2

moonshine-0.2-3mdv2009.1.src.rpm

%define name moonshine
%define version 0.2
%define release %mkrel 3

Summary: Windows Media player based on Moonlight
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://abock.org/moonshine/releases/%{name}-%{version}.tar.bz2
License: MIT
Group: Video
Url: http://abock.org/moonshine/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: xulrunner-devel-unstable
BuildRequires: glib2-devel
Requires: moon >= 1.0

%description
Moonshine leverages the Windows Media capabilities from Silverlight,
provided by the Moonlight browser plugin on Linux, and the Firefox web
browser framework to enable the playback of embedded Windows Media
content on the web and local files on a user's desktop.

%package player
Summary: Standalone Windows Media player
Group: Video
Requires: xulrunner
Requires: %name = %version-%release

%description player
Moonshine leverages the Windows Media capabilities from Silverlight,
provided by the Moonlight browser plugin on Linux, and the Firefox web
browser framework to enable the playback of embedded Windows Media
content on the web and local files on a user's desktop.


%prep
%setup -q

%build
%configure2_5x --with-browser-plugin-dir=%_libdir/mozilla/plugins
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README AUTHORS NEWS
%_libdir/mozilla/plugins/libmoonshine-plugin.so
%_libdir/mozilla/plugins/libmoonshine-plugin.la

%files player
%defattr(-,root,root)
%doc README
%_bindir/%name
%_datadir/applications/%name.desktop
%_datadir/icons/hicolor/*/*/*
%_datadir/%name


%changelog
* Thu Feb 12 2009 Götz Waschk <waschk@mandriva.org> 0.2-3mdv2009.1
+ Revision: 339720
- move data files to the player package
- fix browser plugin dir
- import moonshine