6106
|
1 |
#
|
|
2 |
# spec file for package tango-icon-theme
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
Name: tango-icon-theme
|
|
9 |
License: GPL
|
|
10 |
Group: System/GUI/GNOME
|
|
11 |
BuildArchitectures: noarch
|
6186
|
12 |
Version: 0.3.2.1
|
6106
|
13 |
Release: 1
|
|
14 |
Distribution: Java Desktop System
|
|
15 |
Vendor: Sun Microsystems, Inc.
|
|
16 |
Summary: tango icon theme
|
|
17 |
Source: http://tango-project.org/releases/%name-%version.tar.gz
|
|
18 |
URL: http://www.tango-project.org/
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
Docdir: %{_defaultdocdir}/doc
|
|
21 |
Autoreqprov: on
|
|
22 |
|
|
23 |
BuildRequires: intltool
|
|
24 |
BuildRequires: glib2
|
|
25 |
BuildRequires: automake >= 1.9
|
|
26 |
BuildRequires: icon-naming-utils
|
|
27 |
|
|
28 |
%description
|
|
29 |
The aim of the tango project is providing a standard set of
|
|
30 |
icons for the Linux desktop.
|
|
31 |
|
|
32 |
%prep
|
|
33 |
%setup -q
|
|
34 |
|
|
35 |
%build
|
|
36 |
%ifos linux
|
|
37 |
if [ -x /usr/bin/getconf ]; then
|
|
38 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
39 |
fi
|
|
40 |
%else
|
|
41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
42 |
%endif
|
|
43 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
44 |
CPUS=1
|
|
45 |
fi
|
|
46 |
|
|
47 |
libtoolize --force
|
|
48 |
aclocal $ACLOCAL_FLAGS
|
|
49 |
automake -a -c -f
|
|
50 |
autoconf
|
|
51 |
|
|
52 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
53 |
./configure --prefix=%{_prefix} \
|
|
54 |
--sysconfdir=%{_sysconfdir}
|
|
55 |
make -j $CPUS
|
|
56 |
|
|
57 |
%install
|
|
58 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
59 |
|
|
60 |
%clean
|
|
61 |
rm -rf $RPM_BUILD_ROOT
|
|
62 |
|
|
63 |
%files
|
|
64 |
%defattr(-, root, root)
|
|
65 |
%{_datadir}/icons/tango
|
|
66 |
%{_libdir}/pkgconfig/tango-icon-theme.pc
|
|
67 |
|
|
68 |
%changelog
|
6186
|
69 |
* Wed Oct 26 2005 - [email protected]
|
|
70 |
- Bump to 0.3.2.1.
|
|
71 |
|
6106
|
72 |
* Sat Oct 15 2005 - [email protected]
|
|
73 |
- created
|