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