SPECS: gnash.spec - P: browser(flash) - use browser plugins
sparky
sparky at pld-linux.org
Sun Feb 25 18:10:04 CET 2007
Author: sparky Date: Sun Feb 25 17:10:04 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- P: browser(flash)
- use browser plugins
---- Files affected:
SPECS:
gnash.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/gnash.spec
diff -u SPECS/gnash.spec:1.9 SPECS/gnash.spec:1.10
--- SPECS/gnash.spec:1.9 Tue Feb 13 08:16:46 2007
+++ SPECS/gnash.spec Sun Feb 25 18:09:59 2007
@@ -40,6 +40,7 @@
BuildRequires: xorg-lib-libXmu-devel
BuildRequires: zlib-devel
Requires: browser-plugins(%{_target_base_arch})
+Provides: browser(flash)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -73,6 +74,24 @@
Wtyczka Klash dla Konquerora służąca do wyświetlania Flasha przy
użyciu biblioteki Gnash.
+%package -n browser-plugin-%{name}
+Summary: Browser plugin for Flash rendering
+Summary(pl.UTF-8): Wtyczka przeglądarki wyświetlająca animacje Flash
+Group: X11/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: browser-plugins(%{_target_base_arch})
+Requires: browser-plugins >= 2.0
+Obsoletes: browser-plugin-gplflash2
+Obsoletes: mozilla-plugin-gplflash2
+
+%description -n browser-plugin-%{name}
+Browser plugin for rendering of Flash animations based on gnash
+library.
+
+%description -n browser-plugin-%{name} -l pl.UTF-8
+Wtyczka przeglądarki wyświetlająca animacje Flash oparta na bibliotece
+gnash.
+
%prep
%setup -q
@@ -88,7 +107,7 @@
%{?with_kde:--enable-klash} \
--enable-mp3 \
--enable-pthreads \
- --with-plugindir=%{_libdir}/browser-plugins
+ --with-plugindir=%{_browserpluginsdir}
%{__make}
%install
@@ -106,6 +125,14 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post -n browser-plugin-%{name}
+%update_browser_plugins
+
+%postun -n browser-plugin-%{name}
+if [ "$1" = 0 ]; then
+ %update_browser_plugins
+fi
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
@@ -121,7 +148,10 @@
%attr(755,root,root) %{_libdir}/libgnashgeo-*.so
%attr(755,root,root) %{_libdir}/libgnashgui-*.so
%attr(755,root,root) %{_libdir}/libgnashserver-*.so
-%attr(755,root,root) %{_libdir}/browser-plugins/libgnashplugin.so
+
+%files -n browser-plugin-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_browserpluginsdir}/libgnashplugin.so
%if %{with kde}
%files -n konqueror-plugin-klash
@@ -141,6 +171,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2007/02/25 17:09:59 sparky
+- P: browser(flash)
+- use browser plugins
+
Revision 1.9 2007/02/13 07:16:46 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnash.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list