author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 5569 | 8e9c935d30ef |
permissions | -rw-r--r-- |
5109 | 1 |
# |
5518 | 2 |
# spec file for package steel-theme |
5109 | 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 |
||
5164 | 9 |
Name: steel-theme |
5109 | 10 |
Summary: Steel theme for sunray |
11 |
Version: 0.1.2 |
|
5518 | 12 |
Release: 40 |
5109 | 13 |
License: LGPL |
5518 | 14 |
Distribution: Java Desktop System |
5109 | 15 |
Vendor: Sun Microsystems, Inc. |
16 |
Group: System/GUI/GNOME |
|
17 |
Source: %{name}-%{version}.tar.bz2 |
|
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
5569
8e9c935d30ef
* libxklavier.spec, steel-theme.spec: Add glib2-devel build dependency
dc144907
parents:
5518
diff
changeset
|
19 |
BuildRequires: glib2-devel |
5109 | 20 |
|
21 |
%description |
|
5518 | 22 |
This package contains the Steel theme engine for GTK2 |
5109 | 23 |
|
24 |
%prep |
|
25 |
%setup -q |
|
26 |
||
27 |
%build |
|
28 |
%ifos linux |
|
29 |
if [ -x /usr/bin/getconf ]; then |
|
30 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
31 |
fi |
|
32 |
%else |
|
33 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
34 |
%endif |
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
36 |
CPUS=1 |
|
37 |
fi |
|
38 |
||
5125 | 39 |
glib-gettextize -c -f |
40 |
intltoolize -c -f |
|
5518 | 41 |
aclocal $ACLOCAL_FLAGS -I . |
5109 | 42 |
automake -a -c -f |
43 |
autoconf |
|
44 |
CFLAGS="$RPM_OPT_FLAGS" |
|
45 |
./configure --prefix=%{_prefix} \ |
|
46 |
--libdir=%{_prefix}/%_lib \ |
|
47 |
--sysconfdir=%{_sysconfdir} |
|
48 |
make -j $CPUS |
|
49 |
cd - |
|
50 |
||
51 |
%install |
|
52 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
53 |
||
54 |
%clean |
|
55 |
rm -rf $RPM_BUILD_ROOT |
|
56 |
||
57 |
%files |
|
58 |
%defattr(-, root, root) |
|
59 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
60 |
%{_datadir}/themes/* |
|
61 |
||
62 |
%changelog |
|
5569
8e9c935d30ef
* libxklavier.spec, steel-theme.spec: Add glib2-devel build dependency
dc144907
parents:
5518
diff
changeset
|
63 |
* Wed Aug 24 2005 - [email protected] |
8e9c935d30ef
* libxklavier.spec, steel-theme.spec: Add glib2-devel build dependency
dc144907
parents:
5518
diff
changeset
|
64 |
- Add glib2-devel build dependency to use glib-gettextize. |
8e9c935d30ef
* libxklavier.spec, steel-theme.spec: Add glib2-devel build dependency
dc144907
parents:
5518
diff
changeset
|
65 |
|
5132 | 66 |
* Fri Feb 25 2005 Kieran Colfer <[email protected]> |
67 |
- added l10n tarball to build |
|
68 |
||
5125 | 69 |
* Wed Feb 23 2005 Takao Fujiwara - <[email protected]> |
70 |
- Added l10n-configure.sh |
|
71 |
- Added Steel-01-g11n-i18n-ui.diff to fix 6232033 |
|
72 |
||
5109 | 73 |
* Fri Feb 18 2005 Erwann Chenede - <[email protected]> |
74 |
- initial implementation of the spec file |
|
75 |