pkg-config.spec revision 20862
10139N/A#
10139N/A# spec file for package pkg-config
10139N/A#
12197N/A# Copyright (c) 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner laca
10139N/A#
10139N/A
10139N/A%define OSR delivered in s10:n/a
15322N/A
10139N/AName: pkg-config
16893N/ALicense: GPLv2
10139N/AGroup: System/Libraries
10139N/AVersion: 0.26
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
16172N/AVendor: Gnome Community
10142N/ASummary: Helper tool used when compiling applications and libraries.
12773N/ASource: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz
12773N/AURL: http://pkgconfig.freedesktop.org
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
12073N/AAutoreqprov: on
10139N/A
10139N/A%description
10139N/Apkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} --mandir=%{_mandir}
10139N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10142N/A
10139N/A%files
10139N/A
10139N/A%changelog
10139N/A* Thu Oct 20 2011 - brian.cameron@oracle.com
10139N/A- Bump to 0.26.
10504N/A* Thu Jun 03 2010 - dave.lin@sun.com
10139N/A- Rolled back to 0.23. Because 0.25 escapes characters '$', '(' and ')', and
10139N/A returns the string like this "\$\(top_builddir\)/../...", which could not be
10139N/A substituted correctly in Makefile and cause many gnome modules build failed.
10139N/A* Fri May 28 2010 - brian.cameron@oracle.com
10139N/A- Bump to 0.25. I previously unbumped back to 0.23 because 0.24 had a COPYING
10139N/A file that said GPLv3. However, this was an error and has been corrected in
10139N/A 0.25. So now it is okay to bump.
10139N/A* Mon May 24 2010 - brian.cameron@oracle.com
10139N/A- Bump to 0.24.
10139N/A* Tue Jul 15 2008 - damien.carbery@sun.com
10139N/A- Separate out from SUNWgnome-common-devel.spec.
10139N/A