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