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