diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f56685 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xine-plugin-1.0.tar.bz2 diff --git a/Makefile b/Makefile deleted file mode 100644 index 23c548d..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xine-plugin -# $Id$ -NAME := xine-plugin -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/sources b/sources index e69de29..a811738 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05498789ac11990d5ddd05269671ad0d xine-plugin-1.0.tar.bz2 diff --git a/xine-plugin.spec b/xine-plugin.spec new file mode 100644 index 0000000..74cbade --- /dev/null +++ b/xine-plugin.spec @@ -0,0 +1,68 @@ +Name: xine-plugin +Version: 1.0 +Release: 3%{?dist} +Summary: Media plugin for mozilla compatible browsers using libxine backend + +Group: Applications/Multimedia +License: GPL +URL: http://xinehq.de/ +Source0: http://prdownloads.sourceforge.net/xine/xine-plugin-1.0.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: %{_libdir}/mozilla/plugins + +%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 +* 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