tango-icon-theme.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 7506 e22a91ae2cf3
child 8564 df62c23d2955
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.

#
# spec file for package tango-icon-theme
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name:         		tango-icon-theme
License:      		GPL
Group:        		System/GUI/GNOME
BuildArchitectures:	noarch
Version:      		0.7.2
Release:      		1
Distribution: 		Java Desktop System
Vendor:       		Sun Microsystems, Inc.
Summary:      		tango icon theme
Source:       		http://tango-project.org/releases/%name-%version.tar.gz
Patch1:                 tango-icon-theme-01-pkgconfig_ver.diff
URL:          		http://www.tango-project.org/
BuildRoot:    		%{_tmppath}/%{name}-%{version}-build
Docdir:	      		%{_defaultdocdir}/doc
Autoreqprov:  		on

BuildRequires:		intltool
BuildRequires:		glib2
BuildRequires:		automake >= 1.9
BuildRequires:          icon-naming-utils

%description
The aim of the tango project is providing a standard set of
icons for the Linux desktop.

%prep
%setup -q
%patch1 -p1

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
intltoolize --force
glib-gettextize --force
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_FLAGS"			\
./configure --prefix=%{_prefix}		\
	    --sysconfdir=%{_sysconfdir}
make -j $CPUS

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_datadir}/icons/tango
%{_libdir}/pkgconfig/tango-icon-theme.pc

%changelog
* Fri Jun 23 2006 - [email protected]
- Bump to 0.7.2.

* Tue Feb 21 2006 - [email protected]
- Bump to 0.7.0.

* Thu Feb  9 2006 - [email protected]
- Bump to 0.6.7.

* Sat Jan 21 2006 - [email protected]
- Call intltoolize and glib-gettextize.

* Tue Jan 17 2006 - [email protected]
- Bump to 0.6.5.

* Fri Jan 06 2006 - [email protected]
- Add patch to downgrade pkg-config ver and remove hard-coding of dir to
  icon-name-mapping (so it builds in the SUNWgnome-themes super-package).
* Wed Dec 21 2005 - [email protected]
- Bump to 0.6.3.

 Wed Oct 26 2005 - [email protected]
- Bump to 0.3.2.1.

* Sat Oct 15 2005 - [email protected]
- created