SPECS: libconfig.spec - added info patch and missing fix-info-dir ...

qboosh qboosh at pld-linux.org
Fri Nov 30 23:18:27 CET 2007


Author: qboosh                       Date: Fri Nov 30 22:18:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added info patch and missing fix-info-dir calls
- added missing ac/am/lt BRs

---- Files affected:
SPECS:
   libconfig.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/libconfig.spec
diff -u SPECS/libconfig.spec:1.3 SPECS/libconfig.spec:1.4
--- SPECS/libconfig.spec:1.3	Sat Nov  3 18:36:06 2007
+++ SPECS/libconfig.spec	Fri Nov 30 23:18:22 2007
@@ -3,13 +3,18 @@
 Summary(pl.UTF-8):	Biblioteka C do plików konfiguracyjnych
 Name:		libconfig
 Version:	1.2
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.hyperrealm.com/libconfig/%{name}-%{version}.tar.gz
 # Source0-md5:	fa52507f0db285673f23b7193af4efd4
+Patch0:		%{name}-info.patch
 URL:		http://www.hyperrealm.com/main.php?s=libconfig
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
 BuildRequires:	libstdc++-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	texinfo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -98,6 +103,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -120,6 +126,12 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %post	c++ -p /sbin/ldconfig
 %postun	c++ -p /sbin/ldconfig
 
@@ -163,6 +175,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007-11-30 22:18:22  qboosh
+- added info patch and missing fix-info-dir calls
+- added missing ac/am/lt BRs
+
 Revision 1.3  2007-11-03 17:36:06  qboosh
 - separated libconfig++ so main package doesn't require libstdc++
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libconfig.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list