SPECS: browser-common.spec (NEW) - similiar approach for extension...

glen glen at pld-linux.org
Wed Sep 28 15:25:26 CEST 2005


Author: glen                         Date: Wed Sep 28 13:25:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- similiar approach for extensions and themes, based on browser-plugins

---- Files affected:
SPECS:
   browser-common.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/browser-common.spec
diff -u /dev/null SPECS/browser-common.spec:1.1
--- /dev/null	Wed Sep 28 15:25:26 2005
+++ SPECS/browser-common.spec	Wed Sep 28 15:25:06 2005
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+# TODO
+# - convert all plugin packages to store their plugins in this base
+#   directory.
+# known NPAPI compatible browsers from PLD CVS:
+# - mozilla
+# - mozilla-firefox
+# - konqueror
+# - opera (ix86 only)
+# - galeon
+# - skipstone
+# - kazehakase
+# - netscape (trigger on netscape-common)
+# Extensions are for mozilla based browsers (please complete the list)
+# - mozilla
+# - mozilla-firefox
+# Themes (none exists yet)
+Summary:	Base package for web browser components
+Summary(pl):	Podstawowy pakiet dla wtyczek przeglądarek WWW
+Name:		browser-common
+Version:	0.9
+Release:	0.4
+License:	GPL
+Group:		Base
+URL:		http://www.mozilla.org/projects/plugins/
+Provides:	%{name}(%{_target_cpu}) = %{version}-%{release}
+# be compatible, so don't need to rebuild all packages depending on browser-plugins
+Obsoletes:	browser-plugins
+Provides:	browser-plugins(%{_target_cpu})
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides base directories for browser components like
+plugins, extensions and themes.
+
+%description -l pl
+Ten pakiet dostarcza podstawowy katalog dla wtyczek przeglądarek
+zgodnych z Netscape Plugin API (NPAPI).
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/browser-common/{plugins,themes,extensions}
+touch $RPM_BUILD_ROOT%{_libdir}/browser-plugins
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -d %{_libdir}/browser-plugins ]; then
+	mv -f %{_libdir}/browser-plugins/* %{_libdir}/browser-common/plugins
+	rmdir %{_libdir}/browser-plugins
+	ln -snf %{_libdir}/browser-common/plugins %{_libdir}/browser-plugins
+fi
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/browser-common
+%ghost %{_libdir}/browser-plugins
+
+%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.1  2005/09/28 13:25:06  glen
+- similiar approach for extensions and themes, based on browser-plugins
+
+Revision 1.9  2005/09/06 17:24:35  glen
+- also exists netscape.spec
+
+Revision 1.8  2005/08/23 18:55:18  glen
+- i belive browser is a thing (fix last commit msg)
+
+Revision 1.7  2005/08/23 18:54:24  glen
+- listing browsers (please complete the list if you find something missing)
+
+Revision 1.6  2005/08/23 18:14:05  glen
+- include VR in virtual prov, rel 2
+
+Revision 1.5  2005/08/23 18:07:14  glen
+- provide virtual to identify built archdecture
+
+Revision 1.4  2005/08/23 18:05:28  glen
+- arch dependant due %{_libdir} usage
+
+Revision 1.3  2005/06/23 13:05:39  glen
+- rel 1
+
+Revision 1.2  2005/06/22 17:36:33  qboosh
+- pl
+
+Revision 1.1  2005/06/20 17:13:15  glen
+- new
================================================================



More information about the pld-cvs-commit mailing list