author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 19073 | 09f5bf6611e6 |
child 8802 | 8b85f74876c5 |
permissions | -rw-r--r-- |
6106 | 1 |
# |
2 |
# spec file for package icon-naming-utils |
|
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: laca |
9 |
# |
|
6106 | 10 |
Name: icon-naming-utils |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
13 |
BuildArchitectures: noarch |
|
7956 | 14 |
Version: 0.8.1 |
6106 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
6189 | 18 |
Summary: Icon naming utils |
6106 | 19 |
Source: http://tango-project.org/releases/%name-%version.tar.gz |
19073 | 20 |
# date:2005-10-15 owner:laca type:feature |
21 |
# https://bugs.freedesktop.org/show_bug.cgi?id=9101 |
|
6106 | 22 |
Patch1: icon-naming-utils-01-mapping-dir.diff |
19073 | 23 |
# date:2006-09-19 owner:erwannc type:feature |
24 |
# FIXME: upstreamable? |
|
8165 | 25 |
Patch2: icon-naming-utils-02-extra-file.diff |
6106 | 26 |
URL: http://www.tango-project.org/ |
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
28 |
Docdir: %{_defaultdocdir}/doc |
|
29 |
Autoreqprov: on |
|
30 |
||
31 |
BuildRequires: intltool |
|
32 |
BuildRequires: glib2 |
|
33 |
BuildRequires: automake >= 1.9 |
|
6923 | 34 |
BuildRequires: perl-XML-Simple |
6106 | 35 |
|
36 |
%description |
|
6189 | 37 |
Icon naming utilities provide a set of scripts for dealing with icon |
38 |
themes. |
|
6106 | 39 |
|
40 |
%prep |
|
41 |
%setup -q |
|
42 |
%patch1 -p1 |
|
8165 | 43 |
%patch2 -p1 |
6106 | 44 |
|
45 |
%build |
|
46 |
%ifos linux |
|
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
52 |
%endif |
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
57 |
libtoolize --force |
|
58 |
aclocal $ACLOCAL_FLAGS |
|
59 |
autoconf |
|
60 |
automake -a -c -f |
|
61 |
||
62 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
63 |
./configure --prefix=%{_prefix} \ |
|
6508
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
64 |
--libexecdir=%{_libexecdir} \ |
6106 | 65 |
--sysconfdir=%{_sysconfdir} |
66 |
make -j $CPUS |
|
67 |
||
68 |
%install |
|
69 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
70 |
||
71 |
%clean |
|
72 |
rm -rf $RPM_BUILD_ROOT |
|
73 |
||
74 |
%files |
|
75 |
%defattr(-, root, root) |
|
6923 | 76 |
%{_datadir}/dtds |
77 |
%{_datadir}/icon-naming-utils |
|
78 |
%{_datadir}/pkgconfig/icon-naming-utils.pc |
|
79 |
%{_libexecdir}/* |
|
6106 | 80 |
|
81 |
%changelog |
|
7956 | 82 |
* Wed Aug 23 2006 - [email protected] |
83 |
- Bump to 0.8.1. |
|
7885 | 84 |
* Wed Aug 09 2006 - [email protected] |
85 |
- Bump to 0.8.0. |
|
7706 | 86 |
* Fri Jul 21 2006 - [email protected] |
87 |
- Bump to 0.7.3. |
|
7506 | 88 |
* Fri Jun 23 2006 - [email protected] |
89 |
- Bump to 0.7.2. |
|
6800 | 90 |
* Tue Feb 21 2006 - [email protected] |
91 |
- Bump to 0.7.0. |
|
6726 | 92 |
* Thu Feb 9 2006 - [email protected] |
93 |
- Bump to 0.6.8. |
|
6589 | 94 |
* Tue Jan 17 2006 - [email protected] |
95 |
- Bump to 0.6.5. |
|
6508
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
96 |
* Fri Jan 06 2006 - [email protected] |
2486e241aa81
* tango-icon-theme.spec: Add patch to downgrade pkg-config ver and
dc144907
parents:
6453
diff
changeset
|
97 |
- Specify libexec dir in configure to put icon-name-mapping in right dir. |
6453 | 98 |
* Wed Dec 21 2005 - [email protected] |
99 |
- Bump to 0.6.2. |
|
6186 | 100 |
* Wed Oct 26 2005 - [email protected] |
6208
ac6187156e9a
* icon-naming-utils.spec: Bump to 0.3.2 (not 0.3.2.1 as previously committed).
dc144907
parents:
6189
diff
changeset
|
101 |
- Bump to 0.3.2. |
6106 | 102 |
* Sat Oct 15 2005 - [email protected] |
103 |
- created |