packages: pkgconfig/pkgconfig.spec - updated to 0.26 - use system popt

megabajt megabajt at pld-linux.org
Sun May 15 16:41:38 CEST 2011


Author: megabajt                     Date: Sun May 15 14:41:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.26
- use system popt

---- Files affected:
packages/pkgconfig:
   pkgconfig.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: packages/pkgconfig/pkgconfig.spec
diff -u packages/pkgconfig/pkgconfig.spec:1.54 packages/pkgconfig/pkgconfig.spec:1.55
--- packages/pkgconfig/pkgconfig.spec:1.54	Fri Nov 19 12:08:27 2010
+++ packages/pkgconfig/pkgconfig.spec	Sun May 15 16:41:33 2011
@@ -1,21 +1,23 @@
 # $Revision$, $Date$
-# TODO: system popt, system glib2 with bootstrap bcond?
 Summary:	A tool for determining compilation options
 Summary(pl.UTF-8):	Narzędzie do ustalania opcji kompilacji
 Summary(pt_BR.UTF-8):	Ferramenta para determinar opções de compilação
 Summary(ru.UTF-8):	Инструмент для определения опций компиляции
 Summary(uk.UTF-8):	Інструмент для визначення опцій компіляції
 Name:		pkgconfig
-Version:	0.25
-Release:	4
+Version:	0.26
+Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		Development/Tools
 Source0:	http://pkgconfig.freedesktop.org/releases/pkg-config-%{version}.tar.gz
-# Source0-md5:	a3270bab3f4b69b7dc6dbdacbcae9745
-Patch0:		%{name}-ac.patch
+# Source0-md5:	47525c26a9ba7ba14bf85e01509a7234
 URL:		http://pkgconfig.freedesktop.org/wiki/
+BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	glib2-devel
+BuildRequires:	libtool
+BuildRequires:	popt-devel
 Provides:	pkg-config = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -47,12 +49,17 @@
 
 %prep
 %setup -q -n pkg-config-%{version}
-%patch0 -p1
 
 %build
-cp -f /usr/share/automake/config.* .
-cp -f /usr/share/automake/config.* glib-1.2.10
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+GLIB_CFLAGS="-I/usr/include/glib-2.0 -I%{_libdir}/glib-2.0/include" \
+GLIB_LIBS="-lglib-2.0" \
+%configure \
+	--with-installed-popt
 
 %{__make}
 
@@ -78,6 +85,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2011/05/15 14:41:33  megabajt
+- updated to 0.26
+- use system popt
+
 Revision 1.54  2010/11/19 11:08:27  hawk
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pkgconfig/pkgconfig.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list