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
|
2438
|
11 |
Version: 0.9.4
|
2619
|
12 |
Release: 16
|
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
|
2350
|
18 |
Source1: blueprint-l10n-po-1.0.tar.bz2
|
116
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
URL: http://www.gnome.org
|
229
|
21 |
|
|
22 |
%define gtk2_version 2.2.1
|
1925
|
23 |
%define intltool_version 0.25
|
677
|
24 |
BuildRequires: gtk2 >= %{gtk2_version}
|
1925
|
25 |
BuildRequires: intltool >= %{intltool_version}
|
229
|
26 |
|
116
|
27 |
%description
|
1325
|
28 |
Engine for GTK2 Blue Print Theme
|
116
|
29 |
Property of Sun Microsystems Inc., 2003
|
|
30 |
|
|
31 |
%prep
|
|
32 |
%setup -q
|
2355
|
33 |
/usr/bin/bzcat -dc %SOURCE1|tar xf -
|
116
|
34 |
|
|
35 |
%build
|
312
|
36 |
CFLAGS="$RPM_OPT_FLAGS"
|
|
37 |
./configure --prefix=%{_prefix} \
|
|
38 |
--libdir=%{_prefix}/%_lib \
|
|
39 |
--sysconfdir=%{_sysconfdir}
|
116
|
40 |
make
|
|
41 |
cd -
|
|
42 |
|
|
43 |
%install
|
|
44 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
45 |
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
|
|
46 |
cp -a AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
|
|
47 |
|
1325
|
48 |
# Hack to install images into %{_datadir}/pixmaps with blueprint prefix
|
|
49 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
50 |
mkdir -p /tmp/blueprint-pixmaps
|
|
51 |
installfiles=`find icons/48x48 -name "*.png"`
|
|
52 |
for i in $installfiles; do
|
|
53 |
echo '-- moving '$i ;
|
|
54 |
cp $i /tmp/blueprint-pixmaps ;
|
|
55 |
done;
|
1714
|
56 |
installfiles=`find /tmp/blueprint-pixmaps -name "*.png" |sed 's/^\/tmp\/blueprint-pixmaps\///'`
|
|
57 |
|
1325
|
58 |
for i in $installfiles; do
|
|
59 |
echo '-- Installing '$i ;
|
|
60 |
mv /tmp/blueprint-pixmaps/$i $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueprint-$i ;
|
|
61 |
done ;
|
|
62 |
rm -rf /tmp/blueprint-pixmaps/
|
|
63 |
|
116
|
64 |
%clean
|
|
65 |
rm -rf $RPM_BUILD_ROOT
|
|
66 |
|
|
67 |
%files
|
|
68 |
%defattr(-, root, root)
|
405
|
69 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
116
|
70 |
%{_defaultdocdir}/blueprint-engine/ChangeLog
|
|
71 |
%{_defaultdocdir}/blueprint-engine/AUTHORS
|
|
72 |
%{_defaultdocdir}/blueprint-engine/COPYING
|
|
73 |
%{_defaultdocdir}/blueprint-engine/README
|
|
74 |
%{_defaultdocdir}/blueprint-engine/NEWS
|
1058
|
75 |
%{_libdir}/gtk-2.0/*/engines/*.so
|
405
|
76 |
%{_datadir}/themes/*
|
397
|
77 |
%{_datadir}/icons/*
|
1570
|
78 |
%{_datadir}/locale/*
|
1325
|
79 |
%{_datadir}/pixmaps/*
|
116
|
80 |
|
|
81 |
%changelog
|
2355
|
82 |
* Wed Mar 31 2004 - [email protected]
|
|
83 |
- replace tar jxf with the more solaris friendly
|
|
84 |
bzcat piped through tar
|
|
85 |
|
2350
|
86 |
* Mon Mar 29 2004 - [email protected]
|
|
87 |
- Adding blueprint-l10n-po-1.0.tar.bz2 l10n content
|
|
88 |
|
2187
|
89 |
* Fri Mar 12 2004 Niall Power <[email protected]>
|
|
90 |
- remove "rm -rf" evil from the install stage
|
|
91 |
|
1714
|
92 |
* Mon Feb 16 2004 Niall Power <[email protected]>
|
|
93 |
- add ACLOCAL_FLAGS to aclocal invocation
|
|
94 |
- do not use the -printf argument with find - it
|
|
95 |
doesn't work on Solaris (pipe through sed instead)
|
|
96 |
|
1570
|
97 |
* Fri Jan 19 2004 Takao Fujiwara <[email protected]>
|
|
98 |
- Modified blueprint.spec for i18n
|
|
99 |
|
1058
|
100 |
* Thu Aug 14 2003 - <[email protected]>
|
|
101 |
- remove *.a, *.la
|
|
102 |
|
405
|
103 |
* Wed Jul 02 2003 Erwann Chenede - <[email protected]>
|
|
104 |
- cleanup + icons theme addition
|
1058
|
105 |
|
116
|
106 |
* Mon May 12 2003 Erwann Chenede - <[email protected]>
|
|
107 |
- initial implementation of the spec file
|
405
|
108 |
|