packages: js/js.spec - separated -libs (libjs.so.1 for compatibility with p...
qboosh
qboosh at pld-linux.org
Sat Feb 4 15:47:50 CET 2012
Author: qboosh Date: Sat Feb 4 14:47:50 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- separated -libs (libjs.so.1 for compatibility with programs linked to pre-1.8.x js)
---- Files affected:
packages/js:
js.spec (1.55 -> 1.56)
---- Diffs:
================================================================
Index: packages/js/js.spec
diff -u packages/js/js.spec:1.55 packages/js/js.spec:1.56
--- packages/js/js.spec:1.55 Tue May 4 16:00:48 2010
+++ packages/js/js.spec Sat Feb 4 15:47:45 2012
@@ -3,15 +3,16 @@
# Conditional build:
%bcond_without threads # thread-safe library (requires nspr)
%bcond_without java # libjsj and lshell
+#
%include /usr/lib/rpm/macros.perl
Summary: JavaScript Reference Implementation
Summary(pl.UTF-8): Wzorcowa implementacja JavaScriptu
Name: js
Version: 1.7.0
-Release: 7
+Release: 8
Epoch: 2
License: MPL 1.1 or GPL v2+ or LGPL v2.1+
-Group: Libraries
+Group: Development/Languages
Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}.tar.gz
# Source0-md5: 5571134c3863686b623ebe4e6b1f6fe6
Patch0: %{name}-makefile.patch
@@ -24,6 +25,7 @@
BuildRequires: readline-devel
BuildRequires: rpm-perlprov
BuildRequires: rpmbuild(macros) >= 1.294
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
# dead, removed upstream
Obsoletes: perl-JS
Conflicts: njs
@@ -46,11 +48,23 @@
która może być używana interaktywnie lub z plikami .js do uruchamiania
skryptów.
+%package libs
+Summary: JavaScript Reference Implementation library
+Summary(pl.UTF-8): Biblioteka wzorcowej implementacja JavaScriptu
+Group: Libraries
+Conflicts: js < 1.7.0-8
+
+%description libs
+JavaScript Reference Implementation (codename SpiderMonkey) library.
+
+%description libs -l pl.UTF-8
+Biblioteka wzorcowej implementacja JavaScriptu (SpiderMonkey).
+
%package devel
Summary: Header files for JavaScript reference library
Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki JavaScript
Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Conflicts: njs-devel
%{?with_threads:Provides: js-devel(threads)}
@@ -187,8 +201,8 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%post java -p /sbin/ldconfig
%postun java -p /sbin/ldconfig
@@ -197,6 +211,9 @@
%defattr(644,root,root,755)
%doc src/README.html
%attr(755,root,root) %{_bindir}/js
+
+%files libs
+%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libjs.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libjs.so.1
@@ -240,6 +257,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2012/02/04 14:47:45 qboosh
+- separated -libs (libjs.so.1 for compatibility with programs linked to pre-1.8.x js)
+
Revision 1.55 2010/05/04 14:00:48 pawelz
- now we have Java on all archs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/js/js.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list