10139N/A#
10139N/A# spec file for package tango-icon-theme
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 erwannc
10139N/A# bugdb: bugs.freedesktop.org
10139N/A#
17180N/A
17180N/A%define OSR 4512:0.7.2
17180N/A
10139N/AName: tango-icon-theme
19112N/ALicense: GPL v2
10139N/AGroup: System/GUI/GNOME
10139N/ABuildArchitectures: noarch
16253N/AVersion: 0.8.90
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
18616N/AVendor: freedesktop.org
10139N/ASummary: tango icon theme
13315N/ASource: http://tango.freedesktop.org/releases/%name-%version.tar.bz2
12773N/A%if %build_l10n
12773N/ASource1: l10n-configure.sh
12773N/A%endif
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: icon-naming-utils
10139N/A
10139N/A%description
10139N/AThe aim of the tango project is providing a standard set of
10139N/Aicons for the Linux desktop.
10139N/A
10139N/A%prep
10139N/A%setup -q
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
15336N/Aintltoolize --force --copy --automake
12773N/A
12773N/A%if %build_l10n
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A%endif
12773N/A
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautomake -a -c -f
10139N/Aautoconf
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} \
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}/icons/tango
10139N/A%{_libdir}/pkgconfig/tango-icon-theme.pc
10139N/A
10139N/A%changelog
16253N/A* Thu mar 26 2009 - brian.cameron@sun.com
16253N/A- Bump to 0.8.90.
15336N/A* Wed Nov 12 2008 - takao.fujiwara@sun.com
15336N/A- Removed glib-gettextize to avoid a build error with intltool 0.40.5.
11130N/A* Tue Aug 28 2007 - damien.carbery@sun.com
11130N/A- Bump to 0.8.1.
10199N/A* Tue Mar 06 2006 - brian.cameron@sun.com
10199N/A- Bump to 0.8.0.
10139N/A* Thu Feb 01 2007 - damien.carbery@sun.com
10139N/A- Add patch metadata after pushing patch to bugzilla.
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.7.
10139N/A* Sat Jan 21 2006 - damien.carbery@sun.com
10139N/A- Call intltoolize and glib-gettextize.
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- Add patch to downgrade pkg-config ver and remove hard-coding of dir to
10139N/A icon-name-mapping (so it builds in the SUNWgnome-themes super-package).
10139N/A* Wed Dec 21 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.6.3.
10139N/A Wed Oct 26 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.3.2.1.
10139N/A* Sat Oct 15 2005 - laca@sun.com
10139N/A- created
16253N/A