diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3dd8b0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xine-plugin-1.0.2.tar.bz2 diff --git a/dead.package b/dead.package deleted file mode 100644 index a621cab..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Moved to RPM Fusion together with xine-lib 1.2+ diff --git a/sources b/sources new file mode 100644 index 0000000..db93bea --- /dev/null +++ b/sources @@ -0,0 +1 @@ +dde79a4d12270cbe0c71a0c1afa41111 xine-plugin-1.0.2.tar.bz2 diff --git a/xine-plugin-1.0-xine-version-check.patch b/xine-plugin-1.0-xine-version-check.patch new file mode 100644 index 0000000..b960841 --- /dev/null +++ b/xine-plugin-1.0-xine-version-check.patch @@ -0,0 +1,18 @@ +diff -up xine-plugin-1.0/configure.xine-version-check xine-plugin-1.0/configure +--- xine-plugin-1.0/configure.xine-version-check 2007-02-03 00:37:21.000000000 +0100 ++++ xine-plugin-1.0/configure 2008-02-09 13:55:20.000000000 +0100 +@@ -21955,11 +21955,11 @@ echo $ECHO_N "checking for XINE-LIB vers + XINE_LIBS=`$XINE_CONFIG $xine_config_args --libs` + XINE_ACFLAGS=`$XINE_CONFIG $xine_config_args --acflags` + xine_config_major_version=`$XINE_CONFIG $xine_config_args --version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` ++ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'` + xine_config_minor_version=`$XINE_CONFIG $xine_config_args --version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` ++ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'` + xine_config_sub_version=`$XINE_CONFIG $xine_config_args --version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` ++ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'` + xine_data_dir=`$XINE_CONFIG $xine_config_args --datadir` + xine_script_dir=`$XINE_CONFIG $xine_config_args --scriptdir` + xine_plugin_dir=`$XINE_CONFIG $xine_config_args --plugindir` diff --git a/xine-plugin.spec b/xine-plugin.spec new file mode 100644 index 0000000..3fa3853 --- /dev/null +++ b/xine-plugin.spec @@ -0,0 +1,104 @@ +Name: xine-plugin +Version: 1.0.2 +Release: 4%{?dist} +Summary: Mozilla/Netscape compatible media plugin + +Group: Applications/Multimedia +License: GPLv2+ +URL: http://xinehq.de/ +Source0: http://prdownloads.sourceforge.net/xine/xine-plugin-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: xine-lib-devel +BuildRequires: pkgconfig +BuildRequires: xorg-x11-proto-devel +BuildRequires: libX11-devel + +Requires: mozilla-filesystem + +%description +This is a very simple netscape/mozilla browser plugin using the xine +engine to display multimedia streams. + +Features: + +- embedded display on browser window +- streaming playback directly from xine engine +- playback control using keyboard +- relative paths supported +- on screen display of buffering and stream information +- playlists and references support +- loop and repeat mode +- multiple instances within the same page +- javascript support + + +%prep +%setup -q + +%build +%configure --with-plugindir=%{_libdir}/mozilla/plugins +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT/%{_libdir}/mozilla/plugins/*.la + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{_libdir}/mozilla/plugins/* + + +%changelog +* Mon Feb 07 2011 Fedora Release Engineering - 1.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jul 27 2009 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Dec 11 2008 Martin Sourada - 1.0.2-1 +- new upstreame release +- should fix rhbz #473830 + +* Sun Jun 22 2008 Martin Stransky - 1.0.1-4 +- rebuild against new xulrunner + +* Sun Jun 01 2008 Martin Sourada - 1.0.1-3 +- require mozilla-filesystem instead of xulrunner on >= F9 + +* Wed Apr 23 2008 Martin Sourada - 1.0.1-2 +- remove the dropped patch from spec file completely + +* Tue Apr 22 2008 Martin Sourada - 1.0.1-1 +- new upstream release +- drop the xine-lib version patch - fixed in upstream + +* Sat Feb 09 2008 Martin Sourada - 1.0-6 +- rebuild for gcc 4.3 +- add patch for x.y.z.w format xine-lib version string + +* Tue Aug 21 2007 Martin Sourada - 1.0-5 +- rebuild + +* Thu Aug 09 2007 Martin Sourada - 1.0-4 +- update License: field to GPLv2+ + +* Wed Mar 14 2007 Martin Sourada - 1.0-3 +- fix rpmlint warning + +* Tue Mar 13 2007 Martin Sourada - 1.0-2 +- add BR: xorg-x11-proto-devel, libX11-devel + +* Sun Feb 04 2007 Martin Sourada - 1.0-1 +- Initial package