base-specs/blueprint.spec
author dcarbery
Fri, 04 Jan 2008 18:10:30 +0000
changeset 11390 5d4f02562c57
parent 10395 e23802858272
child 12031 8ed3afd23a6f
permissions -rw-r--r--
2008-01-04 Damien Carbery <[email protected]> * base-specs/blueprint.spec, base-specs/gnome-backgrounds.spec, base-specs/nautilus.spec, base-specs/nimbus.spec, base-specs/opensolaris-gdm-themes.spec, base-specs/ospm.spec, base-specs/sun-gdm-themes.spec, SUNWsolaris-devel-docs.spec, SUNWgnome-dtlogin-integration.spec SUNWgnome-print.spec, closed/SUNWgnome-solaris-branding.spec: Add note to remind people to upload new tarballs to the Sun Download Center, or ask GNOME RE for assistance.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package blueprint
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: erwannc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
Name:         blueprint
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Summary:      Engine for GTK2 Blue Print Theme
11390
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10395
diff changeset
    12
# NOTE: If the version is bumped the new tarball must be uploaded to the
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10395
diff changeset
    13
#       Sun Download Center. Contact GNOME RE for assistance.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%ifos solaris
10299
d2939ee6f8e5 2007-08-10 Erwann Chenede - <[email protected]>
erwannc
parents: 10245
diff changeset
    15
Version:      0.9.20
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
%define tarball_version %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:      0.9.16
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%define tarball_version %{version}-os
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Release:      41 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
License:      LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Vendor:	      Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Group:        System/GUI/GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Source:       http://dlc.sun.com/osol/jds/downloads/extras/%{name}-%{tarball_version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
URL:          http://www.sun.com/software/javadesktopsystem/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define gtk2_version 2.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%define intltool_version 0.30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildRequires: intltool >= %{intltool_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
This package contains the Blueprint theme engine for GTK2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%setup -q -n %name-%tarball_version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
libtoolize --force
10395
e23802858272 2007-08-29 Damien Carbery <[email protected]>
dcarbery
parents: 10299
diff changeset
    54
intltoolize --force --copy --automake
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
aclocal $ACLOCAL_FLAGS -I .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
autoconf
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    58
export CFLAGS="%optflags"
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    59
export LDFLAGS="%_ldflags"
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    60
./configure --prefix=%{_prefix}   \
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    61
	    --libdir=%{_libdir}  \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
	    --sysconfdir=%{_sysconfdir} 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
cd -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
cp -p AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_defaultdocdir}/blueprint-engine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
# Hack to install images into %{_datadir}/pixmaps with blueprint prefix
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
mkdir -p /tmp/blueprint-pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
installfiles=`find icons/48x48 -name "*.png"`				
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
for i in $installfiles; do						
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    76
  echo -- Installing $i to %{_datadir}/pixmaps with blueprint- prefix ;
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    77
  i_base=`basename $i`
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    78
  cp $i $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueprint-${i_base}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
done;                                           			
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/engines/*.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%doc AUTHORS COPYING ChangeLog NEWS README
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_defaultdocdir}/blueprint-engine/ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_defaultdocdir}/blueprint-engine/AUTHORS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_defaultdocdir}/blueprint-engine/COPYING
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_defaultdocdir}/blueprint-engine/README
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_defaultdocdir}/blueprint-engine/NEWS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_libdir}/gtk-2.0/*/engines/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%{_datadir}/themes/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{_datadir}/icons/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_datadir}/locale/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_datadir}/pixmaps/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%changelog
10395
e23802858272 2007-08-29 Damien Carbery <[email protected]>
dcarbery
parents: 10299
diff changeset
   102
* Wed Aug 29 2007 - [email protected]
e23802858272 2007-08-29 Damien Carbery <[email protected]>
dcarbery
parents: 10299
diff changeset
   103
- Add intltoolize calls to update intltool scripts.
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   104
* Fri May 18 2007 - [email protected]
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   105
- set CFLAGS/LDFLAGS and configure options such that we can use this spec
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   106
  file for the 64-bit build too
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   107
- write a nicer loop for copying icons with blueprint- prefix
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Fri Jun 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Change "cp -a" to "cp -p" so it works with Solaris cp command.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Thu Feb 10 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Bumped the tarball to include icons required to fix
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
  #5088581.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
* Mon Jan 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Updated %build to stop build error
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
* Fri Jan 28 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
- Bumped the tarball which includes the fix for #5088581 and
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
  merged blueprint-01-g11n-icon.diff in the tarball. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Fri Jan 28 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Updated %build to add automake
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Wed Jan 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Removed blueprint-01-g11n-alllinguas.diff. Use l10n-configure.sh
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Added blueprint-01-g11n-icon.diff to fix 5083114
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Thu Sep 16 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- Added blueprint-01-g11n-alllinguas.diff to include cs,hu linguas
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Thu Jul 08 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- Updated l10n content to blueprint-l10n-po-1.2.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- ported to rpm4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- added "-j $CPUS" to make to speed up builds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Wed Jun 2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Bump to 0.9.5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Wed May 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Updated l10n content to blueprint-l10n-po-1.1.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Wed Mar 31 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- replace tar jxf with the more solaris friendly
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
  bzcat piped through tar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Mon Mar 29 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- Adding blueprint-l10n-po-1.0.tar.bz2 l10n content
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
* Fri Mar 12 2004 Niall Power <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- remove "rm -rf" evil from the install stage
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Mon Feb 16 2004 Niall Power <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- add ACLOCAL_FLAGS to aclocal invocation
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- do not use the -printf argument with find - it
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
  doesn't work on Solaris (pipe through sed instead)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
* Fri Jan 19 2004 Takao Fujiwara <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Modified blueprint.spec for i18n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Thu Aug 14 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- remove *.a, *.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
* Wed Jul 02 2003 Erwann Chenede - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
- cleanup + icons theme addition
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
* Mon May 12 2003 Erwann Chenede - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
- initial implementation of the spec file
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154