10139N/A#
10139N/A# spec file for package icon-naming-utils
10139N/A#
10139N/A# Copyright (c) 2005 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#
17185N/A%define owner laca
10227N/A# bugdb: bugs.freedesktop.org
10139N/A#
17180N/A
17180N/A%define OSR 8711:0.8.6
17180N/A
10139N/AName: icon-naming-utils
10139N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/ABuildArchitectures: noarch
16253N/AVersion: 0.8.90
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
18615N/AVendor: freedesktop.org
10139N/ASummary: Icon naming utils
13315N/ASource: http://tango.freedesktop.org/releases/%name-%version.tar.bz2
10139N/A# date:2006-09-19 owner:erwannc type:feature
10139N/A# FIXME: upstreamable?
10209N/APatch1: icon-naming-utils-01-extra-file.diff
13315N/AURL: http://tango.freedesktop.org/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: on
10139N/A
10139N/ABuildRequires: intltool
10139N/ABuildRequires: glib2
10139N/ABuildRequires: automake >= 1.9
10139N/ABuildRequires: perl-XML-Simple
10139N/A
10139N/A%description
10139N/AIcon naming utilities provide a set of scripts for dealing with icon
10139N/Athemes.
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/Alibtoolize --force
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautoconf
10139N/Aautomake -a -c -f
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --sysconfdir=%{_sysconfdir}
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr(-, root, root)
10139N/A%{_datadir}/dtds
10139N/A%{_datadir}/icon-naming-utils
10139N/A%{_datadir}/pkgconfig/icon-naming-utils.pc
10139N/A%{_libexecdir}/*
10139N/A
10139N/A%changelog
16253N/A* Thu Mar 26 2009 - brian.cameron@sun.com
16253N/A- Bump to 0.8.90.
13772N/A* Tue Aug 05 2007 - damien.carbery@sun.com
13772N/A- Bump to 0.8.7.
13772N/A* Tue Jul 03 2007 - damien.carbery@sun.com
11130N/A- Bump to 0.8.6. Remove upstream patch, 02-uninstalled.
10227N/A* Wed Mar 07 2007 - damien.carbery@sun.com
10227N/A- Add patch, 02-uninstalled, to add support for uninstalled.pc file. Will help
10227N/A resolve #9837. Changes to SUNWgnome-themes to follow.
10227N/A* Tue Mar 06 2007 - damien.carbery@sun.com
10209N/A- Bump to 0.8.2. Remove upstream patch, 01-mapping-dir. Renumber rest.
10139N/A* Wed Aug 23 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.8.1.
10139N/A* Wed Aug 09 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.8.0.
10139N/A* Fri Jul 21 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.7.3.
10139N/A* Fri Jun 23 2006 - brian.cameron@sun.com
10139N/A- Bump to 0.7.2.
10139N/A* Tue Feb 21 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.7.0.
10139N/A* Thu Feb 9 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.6.8.
10139N/A* Tue Jan 17 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.6.5.
10139N/A* Fri Jan 06 2006 - damien.carbery@sun.com
10139N/A- Specify libexec dir in configure to put icon-name-mapping in right dir.
10139N/A* Wed Dec 21 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.6.2.
10139N/A* Wed Oct 26 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.3.2.
10139N/A* Sat Oct 15 2005 - laca@sun.com
10139N/A- created