author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19933 | af08f9b106c6 |
permissions | -rw-r--r-- |
312 | 1 |
# |
2 |
# spec file for package blueprint |
|
116 | 3 |
# |
19693 | 4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
116 | 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 |
|
1325 | 9 |
Summary: Engine for GTK2 Blue Print Theme |
4669
64229e1be6f4
rollback to Erwann's version with the %ifos'd Version tag :/
laca
parents:
4645
diff
changeset
|
10 |
%ifos solaris |
19933 | 11 |
Version: 0.9.16-os |
4669
64229e1be6f4
rollback to Erwann's version with the %ifos'd Version tag :/
laca
parents:
4645
diff
changeset
|
12 |
%else |
5336 | 13 |
Version: 0.9.16 |
4669
64229e1be6f4
rollback to Erwann's version with the %ifos'd Version tag :/
laca
parents:
4645
diff
changeset
|
14 |
%endif |
19643 | 15 |
Release: 41 |
1022 | 16 |
License: LGPL |
19693 | 17 |
Distribution: Java Desktop System |
677 | 18 |
Vendor: Sun Microsystems, Inc. |
312 | 19 |
Group: System/GUI/GNOME |
20 |
Source: %{name}-%{version}.tar.bz2 |
|
116 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
19693 | 22 |
URL: http://www.sun.com/software/javadesktopsystem/ |
229 | 23 |
|
3628 | 24 |
%define gtk2_version 2.4.0 |
25 |
%define intltool_version 0.30 |
|
677 | 26 |
BuildRequires: gtk2 >= %{gtk2_version} |
1925 | 27 |
BuildRequires: intltool >= %{intltool_version} |
229 | 28 |
|
116 | 29 |
%description |
19717 | 30 |
This package contains the Blueprint theme engine for GTK2 |
116 | 31 |
|
32 |
%prep |
|
33 |
%setup -q |
|
34 |
||
35 |
%build |
|
3263 | 36 |
%ifos linux |
37 |
if [ -x /usr/bin/getconf ]; then |
|
38 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
39 |
fi |
|
40 |
%else |
|
3846 | 41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 42 |
%endif |
43 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
44 |
CPUS=1 |
|
45 |
fi |
|
46 |
||
19320 | 47 |
libtoolize --force |
19243 | 48 |
aclocal $ACLOCAL_FLAGS -I . |
4958 | 49 |
automake -a -c -f |
4976 | 50 |
autoconf |
312 | 51 |
CFLAGS="$RPM_OPT_FLAGS" |
52 |
./configure --prefix=%{_prefix} \ |
|
53 |
--libdir=%{_prefix}/%_lib \ |
|
54 |
--sysconfdir=%{_sysconfdir} |
|
3263 | 55 |
make -j $CPUS |
116 | 56 |
cd - |
57 |
||
58 |
%install |
|
59 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
60 |
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine |
|
61 |
cp -a AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine |
|
62 |
||
1325 | 63 |
# Hack to install images into %{_datadir}/pixmaps with blueprint prefix |
64 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps |
|
65 |
mkdir -p /tmp/blueprint-pixmaps |
|
66 |
installfiles=`find icons/48x48 -name "*.png"` |
|
67 |
for i in $installfiles; do |
|
68 |
echo '-- moving '$i ; |
|
69 |
cp $i /tmp/blueprint-pixmaps ; |
|
70 |
done; |
|
1714 | 71 |
installfiles=`find /tmp/blueprint-pixmaps -name "*.png" |sed 's/^\/tmp\/blueprint-pixmaps\///'` |
72 |
||
1325 | 73 |
for i in $installfiles; do |
74 |
echo '-- Installing '$i ; |
|
75 |
mv /tmp/blueprint-pixmaps/$i $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueprint-$i ; |
|
76 |
done ; |
|
77 |
rm -rf /tmp/blueprint-pixmaps/ |
|
3628 | 78 |
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.a |
79 |
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la |
|
1325 | 80 |
|
116 | 81 |
%clean |
82 |
rm -rf $RPM_BUILD_ROOT |
|
83 |
||
84 |
%files |
|
85 |
%defattr(-, root, root) |
|
405 | 86 |
%doc AUTHORS COPYING ChangeLog NEWS README |
116 | 87 |
%{_defaultdocdir}/blueprint-engine/ChangeLog |
88 |
%{_defaultdocdir}/blueprint-engine/AUTHORS |
|
89 |
%{_defaultdocdir}/blueprint-engine/COPYING |
|
90 |
%{_defaultdocdir}/blueprint-engine/README |
|
91 |
%{_defaultdocdir}/blueprint-engine/NEWS |
|
1058 | 92 |
%{_libdir}/gtk-2.0/*/engines/*.so |
405 | 93 |
%{_datadir}/themes/* |
397 | 94 |
%{_datadir}/icons/* |
1570 | 95 |
%{_datadir}/locale/* |
1325 | 96 |
%{_datadir}/pixmaps/* |
116 | 97 |
|
98 |
%changelog |
|
5047 | 99 |
* Thu Feb 10 2005 - [email protected] |
100 |
- Bumped the tarball to include icons required to fix |
|
101 |
#5088581. |
|
102 |
||
4976 | 103 |
* Mon Jan 31 2005 - [email protected] |
104 |
- Updated %build to stop build error |
|
105 |
||
4960 | 106 |
* Fri Jan 28 2005 - [email protected] |
107 |
- Bumped the tarball which includes the fix for #5088581 and |
|
108 |
merged blueprint-01-g11n-icon.diff in the tarball. |
|
109 |
||
4958 | 110 |
* Fri Jan 28 2005 - [email protected] |
111 |
- Updated %build to add automake |
|
112 |
||
4821 | 113 |
* Wed Jan 12 2005 - [email protected] |
114 |
- Removed blueprint-01-g11n-alllinguas.diff. Use l10n-configure.sh |
|
115 |
- Added blueprint-01-g11n-icon.diff to fix 5083114 |
|
116 |
||
3978
dc8c07ebb4af
Updating blueprint.spec to include blueprint-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
117 |
* Thu Sep 16 2004 - [email protected] |
dc8c07ebb4af
Updating blueprint.spec to include blueprint-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
118 |
- Added blueprint-01-g11n-alllinguas.diff to include cs,hu linguas |
dc8c07ebb4af
Updating blueprint.spec to include blueprint-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
119 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
120 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
121 |
- Updated l10n content to blueprint-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
122 |
|
3628 | 123 |
* Wed Jul 07 2004 - [email protected] |
124 |
- ported to rpm4 |
|
125 |
||
3263 | 126 |
* Wed Jul 07 2004 - [email protected] |
127 |
- added "-j $CPUS" to make to speed up builds |
|
128 |
||
2987 | 129 |
* Wed Jun 2 2004 - [email protected] |
130 |
- Bump to 0.9.5 |
|
131 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2667
diff
changeset
|
132 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2667
diff
changeset
|
133 |
- Updated l10n content to blueprint-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2667
diff
changeset
|
134 |
|
2355 | 135 |
* Wed Mar 31 2004 - [email protected] |
136 |
- replace tar jxf with the more solaris friendly |
|
137 |
bzcat piped through tar |
|
138 |
||
2350 | 139 |
* Mon Mar 29 2004 - [email protected] |
140 |
- Adding blueprint-l10n-po-1.0.tar.bz2 l10n content |
|
141 |
||
2187 | 142 |
* Fri Mar 12 2004 Niall Power <[email protected]> |
143 |
- remove "rm -rf" evil from the install stage |
|
144 |
||
1714 | 145 |
* Mon Feb 16 2004 Niall Power <[email protected]> |
146 |
- add ACLOCAL_FLAGS to aclocal invocation |
|
147 |
- do not use the -printf argument with find - it |
|
148 |
doesn't work on Solaris (pipe through sed instead) |
|
149 |
||
1570 | 150 |
* Fri Jan 19 2004 Takao Fujiwara <[email protected]> |
151 |
- Modified blueprint.spec for i18n |
|
152 |
||
1058 | 153 |
* Thu Aug 14 2003 - <[email protected]> |
154 |
- remove *.a, *.la |
|
155 |
||
405 | 156 |
* Wed Jul 02 2003 Erwann Chenede - <[email protected]> |
157 |
- cleanup + icons theme addition |
|
1058 | 158 |
|
116 | 159 |
* Mon May 12 2003 Erwann Chenede - <[email protected]> |
160 |
- initial implementation of the spec file |
|
405 | 161 |