|
@@ -11,7 +11,7 @@
|
|
%define plugin_config_binary plugin-config
|
|
%define plugin_config_binary plugin-config
|
|
|
|
|
|
# Excluded plugins (separated by ':')
|
|
# Excluded plugins (separated by ':')
|
|
-%define exclude_list "libtotem*:libjavaplugin*:gecko-mediaplayer*:mplayerplug-in*:librhythmbox*:packagekit*:libnsISpicec*"
|
|
|
|
|
|
+%define exclude_list "libtotem*:libjavaplugin*:gecko-mediaplayer*:mplayerplug-in*:librhythmbox*:packagekit*:libnsISpicec*:libgnashplugin*:liblightsparkplugin*:libflashplayer*"
|
|
|
|
|
|
# Target defines
|
|
# Target defines
|
|
%if "%{_target_cpu}" == "i386"
|
|
%if "%{_target_cpu}" == "i386"
|
|
@@ -74,23 +74,17 @@
|
|
|
|
|
|
Summary: A compatibility layer for Netscape 4 plugins
|
|
Summary: A compatibility layer for Netscape 4 plugins
|
|
Name: nspluginwrapper
|
|
Name: nspluginwrapper
|
|
-Version: 1.3.0
|
|
|
|
-Release: 4%{?_dist_release}
|
|
|
|
-Source0: http://gwenole.beauchesne.info/projects/nspluginwrapper/files/%{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
|
|
|
|
|
|
+Version: 1.4.4
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Source0: http://nspluginwrapper.org/download/%{name}-%{version}%{?svndate:-%{svndate}}.tar.gz
|
|
Source1: %{plugin_config_name}.tar.gz
|
|
Source1: %{plugin_config_name}.tar.gz
|
|
Source2: plugin-config.sh.in
|
|
Source2: plugin-config.sh.in
|
|
Source3: %{name}.sh.in
|
|
Source3: %{name}.sh.in
|
|
Patch1: nspluginwrapper-1.3.0-make.patch
|
|
Patch1: nspluginwrapper-1.3.0-make.patch
|
|
-Patch2: nspluginwrapper-1.3.0-configure.patch
|
|
|
|
Patch3: nspluginwrapper-1.3.0-directory.patch
|
|
Patch3: nspluginwrapper-1.3.0-directory.patch
|
|
-Patch4: nspluginwrapper-20090625-fix-npident-array-sending.patch
|
|
|
|
-Patch5: nspluginwrapper-1.3.0-inst.patch
|
|
|
|
Patch6: nspluginwrapper-1.3.0-compiz.patch
|
|
Patch6: nspluginwrapper-1.3.0-compiz.patch
|
|
Patch7: nspluginwrapper-1.3.0-comp.patch
|
|
Patch7: nspluginwrapper-1.3.0-comp.patch
|
|
-Patch8: nspluginwrapper-1.3.0-silent.patch
|
|
|
|
Patch9: nspluginwrapper-1.3.0-timeout.patch
|
|
Patch9: nspluginwrapper-1.3.0-timeout.patch
|
|
-Patch10: npplayer-xid.patch
|
|
|
|
-Patch11: nspluginwrapper-1.3.0-racecond.patch
|
|
|
|
Patch100: plugin-config-setuid.patch
|
|
Patch100: plugin-config-setuid.patch
|
|
Patch101: plugin-config-umask.patch
|
|
Patch101: plugin-config-umask.patch
|
|
Patch102: plugin-config-print.patch
|
|
Patch102: plugin-config-print.patch
|
|
@@ -99,7 +93,7 @@ Patch104: plugin-config-time-check.patch
|
|
|
|
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
-URL: http://gwenole.beauchesne.info/projects/nspluginwrapper/
|
|
|
|
|
|
+URL: http://nspluginwrapper.org/
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Provides: %{name} = %{version}-%{release}
|
|
Provides: %{name} = %{version}-%{release}
|
|
@@ -143,16 +137,10 @@ This package consists in:
|
|
|
|
|
|
# Installation & build patches
|
|
# Installation & build patches
|
|
%patch1 -p1 -b .make
|
|
%patch1 -p1 -b .make
|
|
-%patch2 -p1 -b .conf
|
|
|
|
%patch3 -p1 -b .dir
|
|
%patch3 -p1 -b .dir
|
|
-%patch4 -p0 -b .array
|
|
|
|
-%patch5 -p1 -b .inst
|
|
|
|
%patch6 -p1 -b .compiz
|
|
%patch6 -p1 -b .compiz
|
|
%patch7 -p1 -b .comp
|
|
%patch7 -p1 -b .comp
|
|
-%patch8 -p1 -b .silent
|
|
|
|
%patch9 -p1 -b .timeout
|
|
%patch9 -p1 -b .timeout
|
|
-%patch10 -p1 -b .xid
|
|
|
|
-%patch11 -p1 -b .racecond
|
|
|
|
|
|
|
|
# Plugin-config patches
|
|
# Plugin-config patches
|
|
pushd %plugin_config_name
|
|
pushd %plugin_config_name
|
|
@@ -179,29 +167,24 @@ popd
|
|
|
|
|
|
# set the propper built options
|
|
# set the propper built options
|
|
%if "%{target_bits}" == "64"
|
|
%if "%{target_bits}" == "64"
|
|
- export LDFLAGS="-m64 -L%{libdir64}"
|
|
|
|
|
|
+ export LDFLAGS="-m64 -L%{libdir64} -ldl"
|
|
%else
|
|
%else
|
|
- export LDFLAGS="-m32 -L%{libdir32}"
|
|
|
|
|
|
+ export LDFLAGS="-m32 -L%{libdir32} -ldl"
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-mkdir %{build_dir}
|
|
|
|
|
|
+%__mkdir_p %{build_dir}
|
|
pushd %{build_dir}
|
|
pushd %{build_dir}
|
|
../configure \
|
|
../configure \
|
|
--prefix=%{_prefix} \
|
|
--prefix=%{_prefix} \
|
|
--target-cpu=%{_target_cpu} \
|
|
--target-cpu=%{_target_cpu} \
|
|
- --pkgdir=%{name} \
|
|
|
|
--pkglibdir=%{pkgdir} \
|
|
--pkglibdir=%{pkgdir} \
|
|
--with-lib32=%{lib32} \
|
|
--with-lib32=%{lib32} \
|
|
--with-lib64=%{lib64} \
|
|
--with-lib64=%{lib64} \
|
|
- --with-base-lib=%{lib} \
|
|
|
|
- --with-base-libdir=%{libdir} \
|
|
|
|
--viewer-paths=%{pkgdir} \
|
|
--viewer-paths=%{pkgdir} \
|
|
- --with-x11-prefix=/usr \
|
|
|
|
- --with-gecko=%{gecko_flavour} \
|
|
|
|
--enable-viewer \
|
|
--enable-viewer \
|
|
--viewer-paths="%{pkgdir32}:%{pkgdir64}"\
|
|
--viewer-paths="%{pkgdir32}:%{pkgdir64}"\
|
|
--disable-biarch
|
|
--disable-biarch
|
|
-
|
|
|
|
|
|
+
|
|
%__make
|
|
%__make
|
|
popd
|
|
popd
|
|
|
|
|
|
@@ -221,7 +204,7 @@ popd
|
|
|
|
|
|
%__make -C %{build_dir} install DESTDIR=$RPM_BUILD_ROOT
|
|
%__make -C %{build_dir} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
-ln -s %{pkgdir}/npwrapper.so $RPM_BUILD_ROOT/%{plugindir}/npwrapper.so
|
|
|
|
|
|
+%__ln_s %{pkgdir}/npwrapper.so $RPM_BUILD_ROOT/%{plugindir}/npwrapper.so
|
|
|
|
|
|
# Install plugin-config utility
|
|
# Install plugin-config utility
|
|
pushd %{plugin_config_name}
|
|
pushd %{plugin_config_name}
|
|
@@ -282,13 +265,11 @@ fi;
|
|
%{pkgdir}/npviewer.sh
|
|
%{pkgdir}/npviewer.sh
|
|
%{pkgdir}/npviewer
|
|
%{pkgdir}/npviewer
|
|
%{pkgdir}/npplayer
|
|
%{pkgdir}/npplayer
|
|
-%{pkgdir}/libxpcom.so
|
|
|
|
%{pkgdir}/libnoxshm.so
|
|
%{pkgdir}/libnoxshm.so
|
|
%{pkgdir}/nspluginplayer
|
|
%{pkgdir}/nspluginplayer
|
|
%{plugindir}/npwrapper.so
|
|
%{plugindir}/npwrapper.so
|
|
%{_bindir}/mozilla-plugin-config
|
|
%{_bindir}/mozilla-plugin-config
|
|
%config %{_sysconfdir}/sysconfig/%{name}
|
|
%config %{_sysconfdir}/sysconfig/%{name}
|
|
-
|
|
|
|
## <mozilla-filesystem>
|
|
## <mozilla-filesystem>
|
|
/usr/lib*/mozilla
|
|
/usr/lib*/mozilla
|
|
%{_datadir}/mozilla
|
|
%{_datadir}/mozilla
|
|
@@ -310,7 +291,6 @@ fi;
|
|
%{pkgdir}/npviewer.sh
|
|
%{pkgdir}/npviewer.sh
|
|
%{pkgdir}/npviewer
|
|
%{pkgdir}/npviewer
|
|
%{pkgdir}/npplayer
|
|
%{pkgdir}/npplayer
|
|
-%{pkgdir}/libxpcom.so
|
|
|
|
%{pkgdir}/libnoxshm.so
|
|
%{pkgdir}/libnoxshm.so
|
|
%{pkgdir}/nspluginplayer
|
|
%{pkgdir}/nspluginplayer
|
|
%{plugindir}/npwrapper.so
|
|
%{plugindir}/npwrapper.so
|
|
@@ -318,6 +298,11 @@ fi;
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.4.4-1
|
|
|
|
+- new upstream release based on Fedora rawhide
|
|
|
|
+- supported native Linux x86_64 flash-plugin
|
|
|
|
+ - added libflashplayer to ignored plugins (exclude_list)
|
|
|
|
+
|
|
* Fri Apr 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.0-4
|
|
* Fri Apr 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.0-4
|
|
- added spice-xpi to ignored plugins
|
|
- added spice-xpi to ignored plugins
|
|
- applied some improvement patches from Fedora rawhide
|
|
- applied some improvement patches from Fedora rawhide
|