[packages/npapi-vlc] - pl, cleanup, completed BRs
qboosh
qboosh at pld-linux.org
Mon Feb 16 21:13:49 CET 2015
commit 0e3ceb102018307862c8e36e97e6417e535622a2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Feb 16 21:15:07 2015 +0100
- pl, cleanup, completed BRs
npapi-vlc.spec | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
---
diff --git a/npapi-vlc.spec b/npapi-vlc.spec
index 2c88b91..6fcf860 100644
--- a/npapi-vlc.spec
+++ b/npapi-vlc.spec
@@ -1,17 +1,25 @@
+# TODO: rename to browser-plugin-vlc?
%define snap 20131028
Summary: NPAPI plugin for libvlc
+Summary(pl.UTF-8): Wtyczka NPAPI do libvlc
Name: npapi-vlc
Version: 2.1.0
Release: 0.%{snap}.1
-License: LGPL v2+
+License: GPL 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
+URL: http://git.videolan.org/?p=npapi-vlc.git;a=summary
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: gtk+2-devel >= 2.0
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:2
+BuildRequires: libxcb-devel
+BuildRequires: pkgconfig
BuildRequires: vlc-devel >= 2.1.0
-BuildRequires: xulrunner-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xulrunner-devel >= 1.9.2
Requires: browser-plugins >= 2.0
Requires: browser-plugins(%{_target_base_arch})
Obsoletes: browser-plugin-vlc
@@ -20,17 +28,21 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
NPAPI plugin for libvlc.
+%description -l pl.UTF-8
+Wtyczka NPAPI do libvlc.
+
%prep
%setup -q -n %{name}
%build
%{__libtoolize}
-%{__autoheader}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ --with-mozilla-pkg=mozilla-plugin
%{__make}
@@ -41,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT
npvlcdir=%{_browserpluginsdir} \
DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_browserpluginsdir}/libvlcplugin.la
+%{__rm} $RPM_BUILD_ROOT%{_browserpluginsdir}/libvlcplugin.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -56,5 +68,5 @@ fi
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING NEWS
+%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_browserpluginsdir}/libvlcplugin.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/npapi-vlc.git/commitdiff/0e3ceb102018307862c8e36e97e6417e535622a2
More information about the pld-cvs-commit
mailing list