base-specs/nimbus.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16429 fe72291e50fd
child 16713 3b571c9928ba
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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 nimbus
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) 2006 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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16429
diff changeset
     8
%define owner erwannc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16409
diff changeset
    10
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16409
diff changeset
    11
%define OSR developed in the open, no OSR needed:0
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16409
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         nimbus
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Summary:      Engine for GTK2 Nimbus Theme
11390
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11226
diff changeset
    15
# NOTE: If the version is bumped the new tarball must be uploaded to the
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11226
diff changeset
    16
#       Sun Download Center. Contact GNOME RE for assistance.
16409
132670f2edb8 2009-08-28 Erwann Chenede - <[email protected]>
erwannc
parents: 15665
diff changeset
    17
Version:      0.1.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
%define tarball_version %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
License:      LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Vendor:	      Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Group:        System/GUI/GNOME
13703
e6076c08b27e base-specs/nimbus.spec: Fix download URL. Nimbus is in directory nimbus now.
pale
parents: 13685
diff changeset
    24
Source:       http://dlc.sun.com/osol/jds/downloads/extras/nimbus/%{name}-%{tarball_version}.tar.bz2
15598
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    25
Source1:      nimbus-media-play-rtl.png
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
URL:          http://www.sun.com/software/javadesktopsystem/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
#owner:erwannc date:2006-09-20  type:branding
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Patch1:	      nimbus-01-icon-name-mapping-hack.diff
15598
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    30
## %SOURCE1 .png file needs to be upstreamed when the %patch2 
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    31
## rtl-icons.diff is upstreamed.
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    32
#owner:fujiwara date:2009-04-10 type:bug bugster:6675046
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    33
Patch2:       nimbus-02-rtl-icons.diff
15665
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    34
#owner:fujiwara date:2009-04-22 type:bug bugster:6641239
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    35
Patch3:       nimbus-03-rtl-option-menu.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%define gtk2_version 2.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%define intltool_version 0.30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires: intltool >= %{intltool_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
This package contains the Nimbus theme engine for GTK2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%setup -q -n %name-%tarball_version
15598
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    47
cp %SOURCE1 gtk-engine/gtk-2.0/media-play-rtl.png
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%patch1 -p1
15598
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    49
%patch2 -p1
15665
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    50
%patch3 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
  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
    59
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
aclocal $ACLOCAL_FLAGS -I .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
autoconf
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
    68
export CFLAGS="%optflags"
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
    69
export LDFLAGS="%_ldflags"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
./autogen.sh --prefix=%{_prefix}  \
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
    71
	     --libdir=%{_libdir}  \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
	     --sysconfdir=%{_sysconfdir} 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
cd -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
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
    79
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
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
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
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_libdir}/gtk-2.0/*/engines/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_datadir}/themes/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%{_datadir}/icons/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{_datadir}/locale/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_datadir}/pixmaps/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%changelog
15665
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    93
* Wed Apr 22 2009 - [email protected]
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    94
- Add patch nimbus-03-rtl-option-menu.diff CR 6641239. Fixes RTL for
b62c57fa7e02 2009-04-22 Takao Fujiwara <[email protected]>
fujiwara
parents: 15598
diff changeset
    95
  GtkComboBox and GtkOptionMenu.
15598
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    96
* Fri Apr 10 2009 - [email protected]
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    97
- Add patch nimbus-02-rtl-icons.diff CR 6675046
5b7c4edc6ae8 2009-04-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 15014
diff changeset
    98
- Add media-play-rtl.png in ext-sources.
13122
504193cf57d1 2008-08-14 Erwann Chenede - <[email protected]>
erwannc
parents: 12129
diff changeset
    99
* Thu Aug 14 2008 - [email protected]
504193cf57d1 2008-08-14 Erwann Chenede - <[email protected]>
erwannc
parents: 12129
diff changeset
   100
- bumped to 0.0.17
9926
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
   101
* Fri May 18 2007 - [email protected]
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
   102
- set CFLAGS/LDFLAGS and configure options such that we can use this spec
9c81ddea20af 2007-05-18 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9710
diff changeset
   103
  file for the 64-bit build too
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Add patch to comment out the redefine of an enum.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Mon May 12 2006 Erwann Chenede - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- initial implementation of the spec file