icon-naming-utils.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 7506 e22a91ae2cf3
child 7706 2582c8fc8329
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 icon-naming-utils
#
# 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:         		icon-naming-utils
License:      		GPL
Group:        		System/GUI/GNOME
BuildArchitectures:	noarch
Version:      		0.7.2
Release:      		1
Distribution: 		Java Desktop System
Vendor:       		Sun Microsystems, Inc.
Summary:      		Icon naming utils
Source:       		http://tango-project.org/releases/%name-%version.tar.gz
Patch1:                 icon-naming-utils-01-mapping-dir.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:		perl-XML-Simple

%description
Icon naming utilities provide a set of scripts for dealing with icon
themes.

%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
aclocal $ACLOCAL_FLAGS
autoconf
automake -a -c -f

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

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_datadir}/dtds
%{_datadir}/icon-naming-utils
%{_datadir}/pkgconfig/icon-naming-utils.pc
%{_libexecdir}/*

%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.8.

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

* Fri Jan 06 2006 - [email protected]
- Specify libexec dir in configure to put icon-name-mapping in right dir.

* Wed Dec 21 2005 - [email protected]
- Bump to 0.6.2.

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

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