tango-icon-theme.spec revision 19112
18861N/A#
18861N/A# spec file for package tango-icon-theme
18861N/A#
18861N/A# Copyright (c) 2005 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
20226N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner erwannc
18861N/A# bugdb: bugs.freedesktop.org
18861N/A#
18861N/A
18861N/A%define OSR 4512:0.7.2
18861N/A
18861N/AName: tango-icon-theme
18861N/ALicense: GPL v2
18861N/AGroup: System/GUI/GNOME
18861N/ABuildArchitectures: noarch
18861N/AVersion: 0.8.90
18861N/ARelease: 1
18861N/ADistribution: Java Desktop System
18861N/AVendor: freedesktop.org
18861N/ASummary: tango icon theme
18861N/ASource: http://tango.freedesktop.org/releases/%name-%version.tar.bz2
18861N/A%if %build_l10n
18861N/ASource1: l10n-configure.sh
18861N/A%endif
18861N/AURL: http://tango.freedesktop.org/
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/ADocdir: %{_defaultdocdir}/doc
19094N/AAutoreqprov: on
18861N/A
20304N/ABuildRequires: intltool
18861N/ABuildRequires: glib2
18861N/ABuildRequires: automake >= 1.9
20238N/ABuildRequires: icon-naming-utils
18861N/A
18861N/A%description
19142N/AThe aim of the tango project is providing a standard set of
19142N/Aicons for the Linux desktop.
19142N/A
19142N/A%prep
19142N/A%setup -q
19142N/A
19142N/A%build
20263N/A%ifos linux
20238N/Aif [ -x /usr/bin/getconf ]; then
20238N/A CPUS=`getconf _NPROCESSORS_ONLN`
20238N/Afi
18993N/A%else
18993N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20254N/A%endif
18993N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
19142N/A CPUS=1
18861N/Afi
20259N/A
20259N/Alibtoolize --force
20225N/Aintltoolize --force --copy --automake
20259N/A
20226N/A%if %build_l10n
20226N/Abash -x %SOURCE1 --enable-copyright
20226N/A%endif
20225N/A
20100N/Aaclocal $ACLOCAL_FLAGS
20100N/Aautomake -a -c -f
20100N/Aautoconf
20100N/A
20100N/ACFLAGS="$RPM_OPT_FLAGS" \
20100N/A./configure --prefix=%{_prefix} \
20100N/A --sysconfdir=%{_sysconfdir}
20100N/Amake -j $CPUS
18861N/A
18861N/A%install
18861N/Amake DESTDIR=$RPM_BUILD_ROOT install
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A%defattr(-, root, root)
18861N/A%{_datadir}/icons/tango
18861N/A%{_libdir}/pkgconfig/tango-icon-theme.pc
18861N/A
18861N/A%changelog
18861N/A* Thu mar 26 2009 - brian.cameron@sun.com
18861N/A- Bump to 0.8.90.
18861N/A* Wed Nov 12 2008 - takao.fujiwara@sun.com
18861N/A- Removed glib-gettextize to avoid a build error with intltool 0.40.5.
18861N/A* Tue Aug 28 2007 - damien.carbery@sun.com
19896N/A- Bump to 0.8.1.
18861N/A* Tue Mar 06 2006 - brian.cameron@sun.com
18861N/A- Bump to 0.8.0.
18861N/A* Thu Feb 01 2007 - damien.carbery@sun.com
18861N/A- Add patch metadata after pushing patch to bugzilla.
18861N/A* Fri Jun 23 2006 - brian.cameron@sun.com
18861N/A- Bump to 0.7.2.
18861N/A* Tue Feb 21 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.7.0.
18861N/A* Thu Feb 9 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.6.7.
18861N/A* Sat Jan 21 2006 - damien.carbery@sun.com
18861N/A- Call intltoolize and glib-gettextize.
18861N/A* Tue Jan 17 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.6.5.
18861N/A* Fri Jan 06 2006 - damien.carbery@sun.com
18861N/A- Add patch to downgrade pkg-config ver and remove hard-coding of dir to
18861N/A icon-name-mapping (so it builds in the SUNWgnome-themes super-package).
18861N/A* Wed Dec 21 2005 - damien.carbery@sun.com
20165N/A- Bump to 0.6.3.
20165N/A Wed Oct 26 2005 - damien.carbery@sun.com
20165N/A- Bump to 0.3.2.1.
20165N/A* Sat Oct 15 2005 - laca@sun.com
20165N/A- created
20165N/A
20165N/A