icon-naming-utils.spec revision 13315
3853N/A#
3853N/A# spec file for package icon-naming-utils
3853N/A#
3853N/A# Copyright (c) 2005 Sun Microsystems, Inc.
3853N/A# This file and all modifications and additions to the pristine
3853N/A# package are under the same license as the package itself.
3853N/A#
3853N/A# Owner: laca
3853N/A# bugdb: bugs.freedesktop.org
3853N/A#
3853N/AName: icon-naming-utils
3853N/ALicense: GPL
3853N/AGroup: System/GUI/GNOME
3853N/ABuildArchitectures: noarch
3853N/AVersion: 0.8.6
3853N/ARelease: 1
3853N/ADistribution: Java Desktop System
3853N/AVendor: Sun Microsystems, Inc.
3853N/ASummary: Icon naming utils
3853N/ASource: http://tango.freedesktop.org/releases/%name-%version.tar.bz2
3853N/A# date:2006-09-19 owner:erwannc type:feature
3853N/A# FIXME: upstreamable?
3853N/APatch1: icon-naming-utils-01-extra-file.diff
3853N/AURL: http://tango.freedesktop.org/
4501N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
5817N/ADocdir: %{_defaultdocdir}/doc
3853N/AAutoreqprov: on
3853N/A
3853N/ABuildRequires: intltool
3853N/ABuildRequires: glib2
3853N/ABuildRequires: automake >= 1.9
3853N/ABuildRequires: perl-XML-Simple
3853N/A
3853N/A%description
3853N/AIcon naming utilities provide a set of scripts for dealing with icon
3853N/Athemes.
5817N/A
3853N/A%prep
3853N/A%setup -q
3853N/A%patch1 -p1
3853N/A
3853N/A%build
3853N/A%ifos linux
3853N/Aif [ -x /usr/bin/getconf ]; then
3853N/A CPUS=`getconf _NPROCESSORS_ONLN`
3853N/Afi
3853N/A%else
3853N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3853N/A%endif
3853N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
3853N/A CPUS=1
5305N/Afi
5305N/A
3853N/Alibtoolize --force
3853N/Aaclocal $ACLOCAL_FLAGS
3853N/Aautoconf
3853N/Aautomake -a -c -f
3853N/A
5305N/ACFLAGS="$RPM_OPT_FLAGS" \
5305N/A./configure --prefix=%{_prefix} \
3853N/A --libexecdir=%{_libexecdir} \
3853N/A --sysconfdir=%{_sysconfdir}
5305N/Amake -j $CPUS
3853N/A
5305N/A%install
3853N/Amake DESTDIR=$RPM_BUILD_ROOT install
5305N/A
3853N/A%clean
3853N/Arm -rf $RPM_BUILD_ROOT
3853N/A
3853N/A%files
3853N/A%defattr(-, root, root)
3853N/A%{_datadir}/dtds
3853N/A%{_datadir}/icon-naming-utils
3853N/A%{_datadir}/pkgconfig/icon-naming-utils.pc
3853N/A%{_libexecdir}/*
3853N/A
3853N/A%changelog
5337N/A* Tue Aug 28 2007 - damien.carbery@sun.com
5337N/A- Bump to 0.8.6. Remove upstream patch, 02-uninstalled.
5337N/A* Wed Mar 07 2007 - damien.carbery@sun.com
5337N/A- Add patch, 02-uninstalled, to add support for uninstalled.pc file. Will help
3853N/A resolve #9837. Changes to SUNWgnome-themes to follow.
3853N/A* Tue Mar 06 2007 - damien.carbery@sun.com
3853N/A- Bump to 0.8.2. Remove upstream patch, 01-mapping-dir. Renumber rest.
3853N/A* Wed Aug 23 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.8.1.
3853N/A* Wed Aug 09 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.8.0.
3853N/A* Fri Jul 21 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.7.3.
3853N/A* Fri Jun 23 2006 - brian.cameron@sun.com
3853N/A- Bump to 0.7.2.
3853N/A* Tue Feb 21 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.7.0.
3853N/A* Thu Feb 9 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.6.8.
3853N/A* Tue Jan 17 2006 - damien.carbery@sun.com
3853N/A- Bump to 0.6.5.
3853N/A* Fri Jan 06 2006 - damien.carbery@sun.com
3853N/A- Specify libexec dir in configure to put icon-name-mapping in right dir.
5305N/A* Wed Dec 21 2005 - damien.carbery@sun.com
3853N/A- Bump to 0.6.2.
5817N/A* Wed Oct 26 2005 - damien.carbery@sun.com
3853N/A- Bump to 0.3.2.
5817N/A* Sat Oct 15 2005 - laca@sun.com
3853N/A- created
5817N/A