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