]> git.pld-linux.org Git - packages/browser-plugin-vlc.git/commitdiff
- initial vlc browser plugin auto/th/npapi-vlc-2.1.0-0.20131028.1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 28 Oct 2013 18:34:43 +0000 (19:34 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 28 Oct 2013 18:34:43 +0000 (19:34 +0100)
npapi-vlc.spec [new file with mode: 0644]

diff --git a/npapi-vlc.spec b/npapi-vlc.spec
new file mode 100644 (file)
index 0000000..2c88b91
--- /dev/null
@@ -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
This page took 0.111855 seconds and 4 git commands to generate.