SPECS: nspr.spec - rel 2; put correct version in pc file
arekm
arekm at pld-linux.org
Tue Feb 26 23:25:01 CET 2008
Author: arekm Date: Tue Feb 26 22:25:01 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 2; put correct version in pc file
---- Files affected:
SPECS:
nspr.spec (1.57 -> 1.58)
---- Diffs:
================================================================
Index: SPECS/nspr.spec
diff -u SPECS/nspr.spec:1.57 SPECS/nspr.spec:1.58
--- SPECS/nspr.spec:1.57 Sat Feb 16 13:49:21 2008
+++ SPECS/nspr.spec Tue Feb 26 23:24:56 2008
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Przenośne biblioteki uruchomieniowe Netscape
Name: nspr
Version: 4.7
-Release: 1
+Release: 2
Epoch: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
@@ -57,6 +57,8 @@
%patch0 -p1
%patch1 -p0
+install %{SOURCE1} mozilla/nsprpub/nspr-mozilla-nspr.pc.in
+
%build
cd mozilla/nsprpub
cp -f /usr/share/automake/config.sub build/autoconf
@@ -74,6 +76,8 @@
%{__make}
+./config.status --file=nspr-mozilla-nspr.pc
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
@@ -81,11 +85,7 @@
%{__make} -C mozilla/nsprpub install \
DESTDIR=$RPM_BUILD_ROOT
-sed \
- -e 's#libdir=.*#libdir=%{_libdir}#g' \
- -e 's#includedir=.*#includedir=%{_includedir}#g' \
- -e 's#VERSION#%{version}#g' \
- %{SOURCE1} > $RPM_BUILD_ROOT%{_pkgconfigdir}/mozilla-nspr.pc
+install mozilla/nsprpub/nspr-mozilla-nspr.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/mozilla-nspr.pc
ln -s mozilla-nspr.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/nspr.pc
@@ -123,6 +123,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.58 2008-02-26 22:24:56 arekm
+- rel 2; put correct version in pc file
+
Revision 1.57 2008-02-16 12:49:21 qboosh
- updated md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nspr.spec?r1=1.57&r2=1.58&f=u
More information about the pld-cvs-commit
mailing list