author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
437 | 1 |
# |
2 |
# spec file for package blueprint-cursor-theme |
|
3 |
# |
|
19693 | 4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
437 | 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: blueprint-cursor-theme |
|
9 |
Summary: X11 Cursors for Blue Print Theme |
|
447 | 10 |
Version: 0.0.2 |
19643 | 11 |
Release: 54 |
437 | 12 |
License: GPL |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
437 | 15 |
Group: System/GUI/GNOME |
16 |
Source: %{name}-%{version}.tar.bz2 |
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
18 |
URL: http://www.gnome.org |
|
19 |
||
4273 | 20 |
Requires: coreutils |
5162
1f92f74532d5
blueprint-cursor.spec: changed xorg-x11 PreReq to XFree86
dermotm
parents:
5152
diff
changeset
|
21 |
PreReq: coreutils XFree86 |
4273 | 22 |
|
437 | 23 |
%define gtk2_version 2.2.1 |
24 |
||
25 |
%description |
|
26 |
This package can be used to demonstrate the new look-n-feel of the |
|
27 |
Mad Hatter Desktop. It contains themes meant to enhance |
|
28 |
the default look-and-feel of an off-the-shelf, base linux distribution. |
|
29 |
||
30 |
The results of this RPM installation should strictly be seen as |
|
31 |
an example of the upcoming Sun Blueprint theme and does in no |
|
32 |
way reflect the function and look of the final product. |
|
33 |
||
34 |
Property of Sun Microsystems Inc., 2003 |
|
35 |
||
36 |
%prep |
|
37 |
%setup -q |
|
38 |
||
4455 | 39 |
|
437 | 40 |
%build |
3263 | 41 |
%ifos linux |
42 |
if [ -x /usr/bin/getconf ]; then |
|
43 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
44 |
fi |
|
45 |
%else |
|
3846 | 46 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 47 |
%endif |
48 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
49 |
CPUS=1 |
|
50 |
fi |
|
51 |
||
437 | 52 |
CFLAGS="$RPM_OPT_FLAGS" |
53 |
./configure --prefix=%{_prefix} \ |
|
54 |
--libdir=%{_prefix}/%_lib \ |
|
55 |
--sysconfdir=%{_sysconfdir} |
|
3263 | 56 |
make -j $CPUS |
437 | 57 |
|
58 |
%install |
|
59 |
rm -rf $RPM_BUILD_ROOT |
|
60 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
61 |
||
444 | 62 |
%post |
63 |
if [ -a %{_prefix}/X11R6/lib/X11/icons/default/index.theme ]; then |
|
4487
48dd6ef101db
* blueprint-cursor.spec: Fix 5101084: Specify full path to mv (/bin/mv) because it is not found.
dc144907
parents:
4455
diff
changeset
|
64 |
/bin/mv %{_prefix}/X11R6/lib/X11/icons/default/index.theme %{_prefix}/X11R6/lib/X11/icons/default/index.theme.orig |
444 | 65 |
fi |
4487
48dd6ef101db
* blueprint-cursor.spec: Fix 5101084: Specify full path to mv (/bin/mv) because it is not found.
dc144907
parents:
4455
diff
changeset
|
66 |
/bin/mv %{_prefix}/X11R6/lib/X11/icons/default/index.theme.blueprint %{_prefix}/X11R6/lib/X11/icons/default/index.theme |
444 | 67 |
|
437 | 68 |
%clean |
69 |
rm -rf $RPM_BUILD_ROOT |
|
70 |
||
71 |
%files |
|
72 |
%defattr(-, root, root) |
|
3729
3706cca51d7d
Backed out blueprint-cursor.spec change since I'm not sure how this should
bc99092
parents:
3727
diff
changeset
|
73 |
%doc AUTHORS COPYING ChangeLog NEWS README |
437 | 74 |
%{_prefix}/X11R6/lib/X11/icons/%{name}/* |
75 |
%{_prefix}/X11R6/lib/X11/icons/default/* |
|
76 |
||
77 |
%changelog |
|
5162
1f92f74532d5
blueprint-cursor.spec: changed xorg-x11 PreReq to XFree86
dermotm
parents:
5152
diff
changeset
|
78 |
* Tue Mar 01 2005 - [email protected] |
1f92f74532d5
blueprint-cursor.spec: changed xorg-x11 PreReq to XFree86
dermotm
parents:
5152
diff
changeset
|
79 |
- changed xorg-x11 PreReq to XFree86 |
1f92f74532d5
blueprint-cursor.spec: changed xorg-x11 PreReq to XFree86
dermotm
parents:
5152
diff
changeset
|
80 |
|
4487
48dd6ef101db
* blueprint-cursor.spec: Fix 5101084: Specify full path to mv (/bin/mv) because it is not found.
dc144907
parents:
4455
diff
changeset
|
81 |
* Tue Nov 9 2004 - [email protected] |
48dd6ef101db
* blueprint-cursor.spec: Fix 5101084: Specify full path to mv (/bin/mv) because it is not found.
dc144907
parents:
4455
diff
changeset
|
82 |
- Fix 5101084: Specify full path to mv (/bin/mv) because it is not found. |
48dd6ef101db
* blueprint-cursor.spec: Fix 5101084: Specify full path to mv (/bin/mv) because it is not found.
dc144907
parents:
4455
diff
changeset
|
83 |
|
4273 | 84 |
* Mon Oct 18 2004 - [email protected] |
85 |
- moved coreutils dep. to headers |
|
86 |
||
4139 | 87 |
* Mon Oct 04 2004 - [email protected] |
88 |
- added dependency on coreutils for 'mv' command |
|
89 |
in postinstall script |
|
90 |
||
3263 | 91 |
* Wed Jul 07 2004 - [email protected] |
92 |
- added "-j $CPUS" to make to speed up builds |
|
3729
3706cca51d7d
Backed out blueprint-cursor.spec change since I'm not sure how this should
bc99092
parents:
3727
diff
changeset
|
93 |
|
437 | 94 |
* Wed Jul 02 2003 Erwann Chenede - <[email protected]> |
95 |
- cleanup + icons theme addition |
|
96 |
* Mon May 12 2003 Erwann Chenede - <[email protected]> |
|
97 |
- initial implementation of the spec file |
|
98 |