SPECS: nspluginwrapper.spec - create separate dir for plugins
glen
glen at pld-linux.org
Wed Jan 10 02:56:12 CET 2007
Author: glen Date: Wed Jan 10 01:56:12 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- create separate dir for plugins
---- Files affected:
SPECS:
nspluginwrapper.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/nspluginwrapper.spec
diff -u SPECS/nspluginwrapper.spec:1.12 SPECS/nspluginwrapper.spec:1.13
--- SPECS/nspluginwrapper.spec:1.12 Wed Jan 10 02:07:47 2007
+++ SPECS/nspluginwrapper.spec Wed Jan 10 02:56:06 2007
@@ -5,7 +5,7 @@
Summary(pl): Wtyczka Open Source dla kompatybilności z wtyczkami Netscape'a 4 (NPAPI)
Name: nspluginwrapper
Version: 0.9.91.2
-Release: 0.7
+Release: 0.11
License: GPL v2
Group: Applications/Multimedia
Source0: http://gwenole.beauchesne.info/projects/nspluginwrapper/files/%{name}-%{version}.tar.bz2
@@ -14,7 +14,7 @@
URL: http://gwenole.beauchesne.info/en/projects/nspluginwrapper
BuildRequires: /usr/lib/libsupc++.a
BuildRequires: gtk+2-devel
-BuildRequires: rpmbuild(macros) >= 1.357
+BuildRequires: rpmbuild(macros) >= 1.363
Requires: browser-plugins >= 2.0
Requires: linux32
#Requires: qemu
@@ -45,13 +45,14 @@
%install
rm -rf $RPM_BUILD_ROOT
+# we pretend we're browser for x86 ;)
+install -d $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/plugins
+%browser_plugins_add_browser %{name} -p %{_prefix}/lib/%{name}/plugins -a i386
+
%{__make} install \
DONT_STRIP=yes \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
-ln -s %{_prefix}/lib/%{name}/%{_arch}/%{_os}/npwrapper.so $RPM_BUILD_ROOT%{_browserpluginsdir}/npwrapper.so
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,7 +75,6 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog NEWS README TODO
-%attr(755,root,root) %{_browserpluginsdir}/npwrapper.so
%attr(755,root,root) %{_bindir}/nspluginwrapper
%dir %{_prefix}/lib/nspluginwrapper
%dir %{_prefix}/lib/nspluginwrapper/i386
@@ -90,12 +90,20 @@
%attr(755,root,root) %{_prefix}/lib/nspluginwrapper/x86_64/linux/npconfig
%attr(755,root,root) %{_prefix}/lib/nspluginwrapper/x86_64/linux/npwrapper.so
+# you should put plugins here you want to be automatically used in 64bit browsers
+%dir %{_prefix}/lib/%{name}/plugins
+%{_browserpluginsconfdir}/browsers.d/%{name}.*
+%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2007/01/10 01:56:06 glen
+- create separate dir for plugins
+
Revision 1.12 2007/01/10 01:07:47 glen
- reset umask for nspluginwrapper prog
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nspluginwrapper.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list