pkg-config.spec revision 17177
18861N/A#
18861N/A# spec file for package pkg-config
18861N/A#
18861N/A# Copyright (c) 2008 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
20890N/A# package are under the same license as the package itself.
18861N/A#
18861N/A# Owner: laca
18861N/A#
20307N/A
18861N/A%define OSR delivered in s10:0
18861N/A
18861N/AName: pkg-config
18861N/ALicense: GPL
18861N/AGroup: System/Libraries
18861N/AVersion: 0.23
18861N/ARelease: 1
18861N/ADistribution: Java Desktop System
18861N/AVendor: Sun Microsystems, Inc.
18861N/ASummary: Helper tool used when compiling applications and libraries.
18861N/ASource: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz
18861N/A# date:2004-06-06 owner:laca type:bug bugster:4809315
18861N/A# upstreamable
19140N/APatch1: pkgconfig-01-suppress_gnome-config_error_msg.diff
18861N/AURL: http://pkgconfig.freedesktop.org
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/ADocdir: %{_defaultdocdir}/%{name}
18861N/AAutoreqprov: on
18861N/A
20857N/A%description
20890N/Apkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line
20890N/A
20890N/A%prep
20890N/A%setup -q
20890N/A%patch1 -p1
20892N/A
20890N/A%build
20890N/A%ifos linux
20890N/Aif [ -x /usr/bin/getconf ]; then
18861N/A CPUS=`getconf _NPROCESSORS_ONLN`
18861N/Afi
18861N/A%else
18861N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20890N/A%endif
18861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18861N/A CPUS=1
18861N/Afi
18861N/A
18861N/ACFLAGS="$RPM_OPT_FLAGS" \
18861N/A./configure --prefix=%{_prefix} --mandir=%{_mandir}
18861N/Amake -j$CPUS
18861N/A
18861N/A%install
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A
18861N/A%changelog
18861N/A* Tue Jul 15 2008 - damien.carbery@sun.com
18861N/A- Separate out from SUNWgnome-common-devel.spec.
18861N/A