SPECS (AC-branch): mozilla-firefox.spec - lets try to separate lib...
hawk
hawk at pld-linux.org
Thu Aug 3 08:45:06 CEST 2006
Author: hawk Date: Thu Aug 3 06:45:06 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- lets try to separate libs into subpackage, NFY
---- Files affected:
SPECS:
mozilla-firefox.spec (1.131.2.9 -> 1.131.2.10)
---- Diffs:
================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.131.2.9 SPECS/mozilla-firefox.spec:1.131.2.10
--- SPECS/mozilla-firefox.spec:1.131.2.9 Tue Aug 1 18:31:11 2006
+++ SPECS/mozilla-firefox.spec Thu Aug 3 08:45:01 2006
@@ -53,6 +53,7 @@
BuildRequires: perl-modules >= 5.004
BuildRequires: pkgconfig
BuildRequires: zip
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: %{name}-lang-resources = %{version}
Requires: nspr >= 1:4.6.1-2
Requires: nss >= 1:3.10.2
@@ -73,6 +74,17 @@
Mozilla Firefox jest open sourcową przeglądarką sieci WWW, stworzoną z
myślą o zgodności ze standardami, wydajnością i przenośnością.
+%package libs
+Summary: Mozilla Firefox shared libraries
+Summary(pl): Biblioteki współdzielone Mozilla Firefox
+Group: Libraries
+
+%description libs
+Mozilla Firefox shared libraries.
+
+%description libs -l pl
+Biblioteki współdzielone Mozilla Firefox.
+
%package devel
Summary: Headers for developing programs that will use Mozilla Firefox
Summary(pl): Mozilla Firefox - pliki nagłówkowe
@@ -286,6 +298,9 @@
rm -rf %{_firefoxdir}/extensions
fi
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%triggerpostun -- %{name} < 1.5
%banner %{name} -e <<EOF
NOTICE:
@@ -334,6 +349,24 @@
%dir %{_firefoxdir}/extensions/inspector at mozilla.org
%{_firefoxdir}/extensions/inspector at mozilla.org/*
+%files libs
+%defattr(644,root,root,755)
+%dir %{_firefoxdir}
+# libxpcom.so used by mozillaplug-in
+# probably should add more if more packages require
+%attr(755,root,root) %{_firefoxdir}/libxpcom.so
+%attr(755,root,root) %{_firefoxdir}/libxpcom_compat.so
+%attr(755,root,root) %{_firefoxdir}/libxpcom_core.so
+
+# add rest too
+%attr(755,root,root) %{_firefoxdir}/libgfxpsshar.so
+%attr(755,root,root) %{_firefoxdir}/libgkgfx.so
+%attr(755,root,root) %{_firefoxdir}/libgtkembedmoz.so
+%attr(755,root,root) %{_firefoxdir}/libgtkxtbin.so
+%attr(755,root,root) %{_firefoxdir}/libjsj.so
+%attr(755,root,root) %{_firefoxdir}/libmozjs.so
+%attr(755,root,root) %{_firefoxdir}/libxpistub.so
+
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/regxpcom
@@ -354,6 +387,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.131.2.10 2006/08/03 06:45:01 hawk
+- lets try to separate libs into subpackage, NFY
+
Revision 1.131.2.9 2006/08/01 16:31:11 havner
- rel 2 against fixed fonts patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.131.2.9&r2=1.131.2.10&f=u
More information about the pld-cvs-commit
mailing list