pkg-config.spec revision 18616
10139N/A#
10139N/A# spec file for package pkg-config
10139N/A#
10139N/A# Copyright (c) 2008 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:0
10139N/A
10139N/AName: pkg-config
10139N/ALicense: GPL
10139N/AGroup: System/Libraries
10139N/AVersion: 0.23
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Gnome Community
10139N/ASummary: Helper tool used when compiling applications and libraries.
10139N/ASource: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz
10767N/A# date:2004-06-06 owner:laca type:bug bugster:4809315
10158N/A# upstreamable
10767N/APatch1: pkgconfig-01-suppress_gnome-config_error_msg.diff
10139N/AURL: http://pkgconfig.freedesktop.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
10139N/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%patch1 -p1
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
10139N/A
10139N/A%files
10139N/A
10139N/A%changelog
10139N/A* Tue Jul 15 2008 - damien.carbery@sun.com
10139N/A- Separate out from SUNWgnome-common-devel.spec.
10139N/A