author | erwannc |
Wed, 17 Jan 2007 10:46:38 +0000 | |
changeset 9011 | aa086e796cfa |
parent 8564 | df62c23d2955 |
child 9035 | 848b8da9cf36 |
permissions | -rw-r--r-- |
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 |
# |
|
8564 | 8 |
# Owner: erwannc |
9 |
# |
|
6106 | 10 |
Name: tango-icon-theme |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
13 |
BuildArchitectures: noarch |
|
7506 | 14 |
Version: 0.7.2 |
6106 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Summary: tango icon theme |
|
19 |
Source: http://tango-project.org/releases/%name-%version.tar.gz |
|
9011 | 20 |
#owner: damienc date:2006-01-06 type:bug |
6508
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
21 |
Patch1: tango-icon-theme-01-pkgconfig_ver.diff |
6106 | 22 |
URL: http://www.tango-project.org/ |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
Docdir: %{_defaultdocdir}/doc |
|
25 |
Autoreqprov: on |
|
26 |
||
27 |
BuildRequires: intltool |
|
28 |
BuildRequires: glib2 |
|
29 |
BuildRequires: automake >= 1.9 |
|
30 |
BuildRequires: icon-naming-utils |
|
31 |
||
32 |
%description |
|
33 |
The aim of the tango project is providing a standard set of |
|
34 |
icons for the Linux desktop. |
|
35 |
||
36 |
%prep |
|
37 |
%setup -q |
|
6508
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
38 |
%patch1 -p1 |
6106 | 39 |
|
40 |
%build |
|
41 |
%ifos linux |
|
42 |
if [ -x /usr/bin/getconf ]; then |
|
43 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
44 |
fi |
|
45 |
%else |
|
46 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
47 |
%endif |
|
48 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
49 |
CPUS=1 |
|
50 |
fi |
|
51 |
||
52 |
libtoolize --force |
|
6637 | 53 |
intltoolize --force |
54 |
glib-gettextize --force |
|
6106 | 55 |
aclocal $ACLOCAL_FLAGS |
56 |
automake -a -c -f |
|
57 |
autoconf |
|
58 |
||
59 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
60 |
./configure --prefix=%{_prefix} \ |
|
61 |
--sysconfdir=%{_sysconfdir} |
|
62 |
make -j $CPUS |
|
63 |
||
64 |
%install |
|
65 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
66 |
||
67 |
%clean |
|
68 |
rm -rf $RPM_BUILD_ROOT |
|
69 |
||
70 |
%files |
|
71 |
%defattr(-, root, root) |
|
72 |
%{_datadir}/icons/tango |
|
73 |
%{_libdir}/pkgconfig/tango-icon-theme.pc |
|
74 |
||
75 |
%changelog |
|
7506 | 76 |
* Fri Jun 23 2006 - [email protected] |
77 |
- Bump to 0.7.2. |
|
78 |
||
6800 | 79 |
* Tue Feb 21 2006 - [email protected] |
80 |
- Bump to 0.7.0. |
|
81 |
||
6726 | 82 |
* Thu Feb 9 2006 - [email protected] |
83 |
- Bump to 0.6.7. |
|
84 |
||
6637 | 85 |
* Sat Jan 21 2006 - [email protected] |
86 |
- Call intltoolize and glib-gettextize. |
|
87 |
||
6594 | 88 |
* Tue Jan 17 2006 - [email protected] |
89 |
- Bump to 0.6.5. |
|
90 |
||
6508
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
91 |
* Fri Jan 06 2006 - [email protected] |
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
92 |
- Add patch to downgrade pkg-config ver and remove hard-coding of dir to |
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
93 |
icon-name-mapping (so it builds in the SUNWgnome-themes super-package). |
6453 | 94 |
* Wed Dec 21 2005 - [email protected] |
95 |
- Bump to 0.6.3. |
|
96 |
||
97 |
Wed Oct 26 2005 - [email protected] |
|
6186 | 98 |
- Bump to 0.3.2.1. |
99 |
||
6106 | 100 |
* Sat Oct 15 2005 - [email protected] |
101 |
- created |