blueprint.spec
author dermotm
Mon, 01 Nov 2004 10:56:45 +0000
changeset 4409 4fec71e58697
parent 4388 fae55a0d1197
child 4455 aea26bce3124
permissions -rw-r--r--
Incremented release numbers for build 22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
312
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
     1
#
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
     2
# spec file for package blueprint
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     3
#
677
6fbb30a81e23 2003-07-21 Erwann Chenede - <[email protected]>
erwannc
parents: 669
diff changeset
     4
# Copyright (c) 2003 Sun Microsystems, Inc.
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     6
# package are under the same license as the package itself.
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     7
#
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     8
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
     9
Name:         blueprint
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    10
Summary:      Engine for GTK2 Blue Print Theme
4298
1d139b2fadb6 2004-10-19 Erwann Chenede - <[email protected]>
erwannc
parents: 4276
diff changeset
    11
Version:      0.9.8
4409
4fec71e58697 Incremented release numbers for build 22
dermotm
parents: 4388
diff changeset
    12
Release:      22
1022
906578a40d99 2003-08-08 Erwann Chenede - <[email protected]>
erwannc
parents: 967
diff changeset
    13
License:      LGPL
1631
b625afb74b79 2004-02-12 Erwann Chenede - <[email protected]>
erwannc
parents: 1609
diff changeset
    14
Distribution: Cinnabar
677
6fbb30a81e23 2003-07-21 Erwann Chenede - <[email protected]>
erwannc
parents: 669
diff changeset
    15
Vendor:	      Sun Microsystems, Inc.
312
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    16
Group:        System/GUI/GNOME
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    17
Source:       %{name}-%{version}.tar.bz2
4387
miles
parents: 4298
diff changeset
    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
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    20
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    21
URL:          http://www.gnome.org
229
7642c65bcbf6 2003-05-29 Niall Power <[email protected]>
niall
parents: 116
diff changeset
    22
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    23
%define gtk2_version 2.4.0
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    24
%define intltool_version 0.30
677
6fbb30a81e23 2003-07-21 Erwann Chenede - <[email protected]>
erwannc
parents: 669
diff changeset
    25
BuildRequires: gtk2 >= %{gtk2_version}
1925
3a3c1de9d720 Add intltool to BuildRequires.
dermotm
parents: 1876
diff changeset
    26
BuildRequires: intltool >= %{intltool_version}
229
7642c65bcbf6 2003-05-29 Niall Power <[email protected]>
niall
parents: 116
diff changeset
    27
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    28
%description
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    29
Engine for GTK2 Blue Print Theme
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    30
Property of Sun Microsystems Inc., 2003
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    31
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    32
%prep
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    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
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
    35
/usr/bin/bzcat -dc %SOURCE1|tar xf -
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    36
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    37
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    38
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    39
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    40
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    41
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    42
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    43
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    44
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    45
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    46
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    47
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
312
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    49
CFLAGS="$RPM_OPT_FLAGS"
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    50
./configure --prefix=%{_prefix}  \
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    51
	    --libdir=%{_prefix}/%_lib \
d271fec35241 2003-06-26 Erwann Chenede - <[email protected]>
erwannc
parents: 308
diff changeset
    52
	    --sysconfdir=%{_sysconfdir} 
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
make -j $CPUS
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    54
cd -
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    55
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    56
%install
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    57
make DESTDIR=$RPM_BUILD_ROOT install
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    58
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    59
cp -a AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    60
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    61
# Hack to install images into %{_datadir}/pixmaps with blueprint prefix
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    62
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    63
mkdir -p /tmp/blueprint-pixmaps
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    64
installfiles=`find icons/48x48 -name "*.png"`				
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    65
for i in $installfiles; do						
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    66
  echo '-- moving '$i ;						
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    67
  cp $i /tmp/blueprint-pixmaps ;             				
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    68
done;                                           			
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
    69
installfiles=`find /tmp/blueprint-pixmaps -name "*.png" |sed 's/^\/tmp\/blueprint-pixmaps\///'`
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
    70
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    71
for i in $installfiles; do                     			
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    72
  echo '-- Installing '$i ;                  				
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    73
  mv /tmp/blueprint-pixmaps/$i $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueprint-$i ; 	
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    74
  done ;                                          			
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    75
rm -rf /tmp/blueprint-pixmaps/
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    76
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    77
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    78
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    79
%clean
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    81
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    82
%files
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    83
%defattr(-, root, root)
405
b610bc2589bd 2003-07-02 Erwann Chenede - <[email protected]>
erwannc
parents: 397
diff changeset
    84
%doc AUTHORS COPYING ChangeLog NEWS README
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    85
%{_defaultdocdir}/blueprint-engine/ChangeLog
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    86
%{_defaultdocdir}/blueprint-engine/AUTHORS
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    87
%{_defaultdocdir}/blueprint-engine/COPYING
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    88
%{_defaultdocdir}/blueprint-engine/README
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    89
%{_defaultdocdir}/blueprint-engine/NEWS
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    90
%{_libdir}/gtk-2.0/*/engines/*.so
405
b610bc2589bd 2003-07-02 Erwann Chenede - <[email protected]>
erwannc
parents: 397
diff changeset
    91
%{_datadir}/themes/*
397
gman
parents: 312
diff changeset
    92
%{_datadir}/icons/*
1570
e7a00cfbb228 2004-02-04 Erwann Chenede - <[email protected]>
erwannc
parents: 1543
diff changeset
    93
%{_datadir}/locale/*
1325
5e13a29eb5bd 2003-10-21 Erwann Chenede - <[email protected]>
erwannc
parents: 1239
diff changeset
    94
%{_datadir}/pixmaps/*
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    95
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
    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
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
   103
* Wed Jul 07 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
   104
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
   105
                                                                                
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   106
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   107
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   108
2987
2f54e83f7d28 2004-06-02 Glynn Foster <[email protected]>
gman
parents: 2958
diff changeset
   109
* Wed Jun 2 2004 - [email protected]
2f54e83f7d28 2004-06-02 Glynn Foster <[email protected]>
gman
parents: 2958
diff changeset
   110
- Bump to 0.9.5
2f54e83f7d28 2004-06-02 Glynn Foster <[email protected]>
gman
parents: 2958
diff changeset
   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
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   115
* Wed Mar 31 2004 - [email protected]
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   116
- replace tar jxf with the more solaris friendly
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   117
  bzcat piped through tar
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   118
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   119
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   120
- Adding blueprint-l10n-po-1.0.tar.bz2 l10n content
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   121
2187
57d1f0086fa9 2004-03-13 Niall Power <[email protected]>
niall
parents: 2159
diff changeset
   122
* Fri Mar 12 2004 Niall Power <[email protected]>
57d1f0086fa9 2004-03-13 Niall Power <[email protected]>
niall
parents: 2159
diff changeset
   123
- remove "rm -rf" evil from the install stage
57d1f0086fa9 2004-03-13 Niall Power <[email protected]>
niall
parents: 2159
diff changeset
   124
1714
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
   125
* Mon Feb 16 2004 Niall Power <[email protected]>
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
   126
- add ACLOCAL_FLAGS to aclocal invocation
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
   127
- do not use the -printf argument with find - it
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
   128
  doesn't work on Solaris (pipe through sed instead)
d34c2c5987ec 2004-02-16 Niall Power <[email protected]>
niall
parents: 1631
diff changeset
   129
1570
e7a00cfbb228 2004-02-04 Erwann Chenede - <[email protected]>
erwannc
parents: 1543
diff changeset
   130
* Fri Jan 19 2004 Takao Fujiwara <[email protected]>
e7a00cfbb228 2004-02-04 Erwann Chenede - <[email protected]>
erwannc
parents: 1543
diff changeset
   131
- Modified blueprint.spec for i18n
e7a00cfbb228 2004-02-04 Erwann Chenede - <[email protected]>
erwannc
parents: 1543
diff changeset
   132
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   133
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   134
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   135
405
b610bc2589bd 2003-07-02 Erwann Chenede - <[email protected]>
erwannc
parents: 397
diff changeset
   136
* Wed Jul 02 2003 Erwann Chenede - <[email protected]>
b610bc2589bd 2003-07-02 Erwann Chenede - <[email protected]>
erwannc
parents: 397
diff changeset
   137
- cleanup + icons theme addition
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   138
116
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   139
* Mon May 12 2003 Erwann Chenede - <[email protected]>
12ee90435e46 2003-05-15 Glynn Foster <[email protected]>
gman
parents:
diff changeset
   140
- initial implementation of the spec file
405
b610bc2589bd 2003-07-02 Erwann Chenede - <[email protected]>
erwannc
parents: 397
diff changeset
   141