author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19883 | e55bf06836ae |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package gtk2-engines |
|
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 |
# |
|
24 | 8 |
Name: gtk2-engines |
154 | 9 |
License: GPL |
10 |
Group: System/GUI/GNOME |
|
19285 | 11 |
Version: 2.6.3 |
12 |
Release: 1 |
|
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
154 | 15 |
Summary: Engines for GTK2 Themes |
19883 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.6/gtk-engines-%{version}.tar.bz2 |
19285 | 17 |
Patch1: gtk-engines-01-clearlooks-install.diff |
154 | 18 |
URL: http://www.gnome.org |
24 | 19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
154 | 20 |
Docdir: %{_defaultdocdir}/doc |
21 |
Autoreqprov: on |
|
1080 | 22 |
Prereq: /sbin/ldconfig |
154 | 23 |
|
3628 | 24 |
%define gtk2_version 2.4.0 |
154 | 25 |
|
172 | 26 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
27 |
Requires: gtk2 >= %{gtk2_version} |
|
24 | 28 |
|
29 |
%description |
|
30 |
This packages contains Theme-Engine libraries for GTK2 |
|
31 |
||
32 |
%prep |
|
1308 | 33 |
%setup -q -n gtk-engines-%{version} |
19285 | 34 |
%patch1 -p1 |
4455 | 35 |
|
24 | 36 |
%build |
3263 | 37 |
%ifos linux |
38 |
if [ -x /usr/bin/getconf ]; then |
|
39 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
40 |
fi |
|
41 |
%else |
|
3846 | 42 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 43 |
%endif |
44 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
45 |
CPUS=1 |
|
46 |
fi |
|
47 |
||
19285 | 48 |
libtoolize --copy --force |
19320 | 49 |
aclocal $ACLOCAL_FLAGS |
19285 | 50 |
automake -a -c -f |
51 |
autoconf |
|
215 | 52 |
CFLAGS="$RPM_OPT_FLAGS" \ |
53 |
./configure --prefix=%{_prefix} \ |
|
54 |
--libdir=%{_libdir} |
|
3263 | 55 |
make -j $CPUS |
215 | 56 |
|
24 | 57 |
%install |
58 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 59 |
#Clean up unpackaged files |
60 |
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/*.la |
|
24 | 61 |
|
62 |
%clean |
|
63 |
rm -rf $RPM_BUILD_ROOT |
|
64 |
||
154 | 65 |
%post |
66 |
/sbin/ldconfig |
|
67 |
||
68 |
%postun |
|
69 |
/sbin/ldconfig |
|
70 |
||
24 | 71 |
%files |
72 |
%defattr(-, root, root) |
|
1058 | 73 |
%{_libdir}/gtk-2.0/*/engines/*.so |
419 | 74 |
%{_datadir}/themes/* |
215 | 75 |
%{_libdir}/pkgconfig/*.pc |
24 | 76 |
|
77 |
%changelog -n gtk2-engines |
|
19285 | 78 |
* Sat May 14 2005 - [email protected] |
79 |
- Update to 2.6.3 |
|
80 |
||
3628 | 81 |
* Wed Jul 07 2004 - [email protected] |
82 |
- port to rpm4 |
|
83 |
||
3263 | 84 |
* Wed Jul 07 2004 - [email protected] |
85 |
- added "-j $CPUS" to make to speed up builds |
|
86 |
||
2029
457c84e5891f
Uprevved release to 230 so there is a clean upgrade from quicksilver.
mick
parents:
1876
diff
changeset
|
87 |
* Thu Feb 26 2004 - [email protected] |
457c84e5891f
Uprevved release to 230 so there is a clean upgrade from quicksilver.
mick
parents:
1876
diff
changeset
|
88 |
- Uprevved release to 230 so there is a clean upgrade from quicksilver. |
457c84e5891f
Uprevved release to 230 so there is a clean upgrade from quicksilver.
mick
parents:
1876
diff
changeset
|
89 |
|
1503 | 90 |
* Wed Jan 07 2004 - [email protected] |
1492 | 91 |
- Remove pixbuf static patch since it's upstream |
92 |
||
1308 | 93 |
* Tue Oct 20 2003 - [email protected] |
94 |
- remove the thinice engine, since it's part of gnome-themes now |
|
95 |
||
1058 | 96 |
* Thu Aug 14 2003 - <[email protected]> |
97 |
- remove *.a, *.la |
|
98 |
||
567 | 99 |
* Tue Jul 15 2003 - <[email protected]> |
100 |
- Make pixbuf_cache static so it doesn't conflict with other |
|
101 |
global symbols of the same name. |
|
102 |
||
103 |
* Thu Jul 02 2003 - <[email protected]> |
|
419 | 104 |
- Make sure that we install the thinice engine |
105 |
||
567 | 106 |
* Tue May 13 2003 - <[email protected]> |
24 | 107 |
- initial release |