[packages/npapi-vlc] - initial vlc browser plugin

arekm arekm at pld-linux.org
Mon Oct 28 19:35:00 CET 2013


commit b92e7c048537097ebbc07bb1ba56d2401fa9452c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Oct 28 19:34:43 2013 +0100

    - initial vlc browser plugin

 npapi-vlc.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/npapi-vlc.spec b/npapi-vlc.spec
new file mode 100644
index 0000000..2c88b91
--- /dev/null
+++ b/npapi-vlc.spec
@@ -0,0 +1,60 @@
+%define	snap	20131028
+Summary:	NPAPI plugin for libvlc
+Name:		npapi-vlc
+Version:	2.1.0
+Release:	0.%{snap}.1
+License:	LGPL v2+
+Group:		Applications/Networking
+URL:		http://git.videolan.org/?p=npapi-vlc.git;a=summary
+Source0:	%{name}-%{snap}.tar.bz2
+# Source0-md5:	beb2922f9c18b5f531f26cfb441741f0
+BuildRequires:	gtk+2-devel
+BuildRequires:	libtool
+BuildRequires:	vlc-devel >= 2.1.0
+BuildRequires:	xulrunner-devel
+Requires:	browser-plugins >= 2.0
+Requires:	browser-plugins(%{_target_base_arch})
+Obsoletes:	browser-plugin-vlc
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NPAPI plugin for libvlc.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__libtoolize}
+%{__autoheader}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--disable-silent-rules
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	npvlcdir=%{_browserpluginsdir} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm $RPM_BUILD_ROOT%{_browserpluginsdir}/libvlcplugin.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_browser_plugins
+
+%postun
+if [ "$1" = 0 ]; then
+        %update_browser_plugins
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING NEWS
+%attr(755,root,root) %{_browserpluginsdir}/libvlcplugin.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/npapi-vlc.git/commitdiff/b92e7c048537097ebbc07bb1ba56d2401fa9452c



More information about the pld-cvs-commit mailing list