base-specs/gnome-backgrounds.spec
author dcarbery
Fri, 04 Jan 2008 18:10:30 +0000
changeset 11390 5d4f02562c57
parent 10598 2be9bf4377fc
child 11491 a18850f120cf
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 gnome-backgrounds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
     4
# Copyright 2007 Sun Microsystems, Inc.
9397
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:			gnome-backgrounds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
License:		GPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
Group:			System/GUI/GNOME
10514
341814d22758 2007-09-18 Damien Carbery <[email protected]>
dcarbery
parents: 10148
diff changeset
    13
Version:		2.20.0
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Release:		3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Distribution:		Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Vendor:			Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:		Selection of backgrounds for the GNOME desktop
10514
341814d22758 2007-09-18 Damien Carbery <[email protected]>
dcarbery
parents: 10148
diff changeset
    18
Source:			http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.20/%{name}-%{version}.tar.bz2
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    19
%if %option_with_sun_branding
11390
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10598
diff changeset
    20
# NOTE: If the version is bumped the new tarball must be uploaded to the
5d4f02562c57 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 10598
diff changeset
    21
#       Sun Download Center. Contact GNOME RE for assistance.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Source1:		http://dlc.sun.com/osol/jds/downloads/extras/opensolaris-backgrounds-0.2.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
#owner:erwannc date:2005-12-02 type:branding
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Patch1:			gnome-backgrounds-01-sun-backgrounds.diff 
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    25
%endif
10598
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    26
%if %option_with_indiana_branding
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    27
Source1:		GNOMEBluePreview.png
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    28
#owner:erwannc date:2007-10-02 type:branding
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    29
Patch1:			gnome-backgrounds-01-indiana-backgrounds.diff 
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    30
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
URL:			http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildArchitectures:     noarch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Docdir:			%{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Autoreqprov:		on
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
Requires:	glib2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:  intltool
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:  glib2
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
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Selection of backgrounds for the GNOME desktop.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%setup -q
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    46
%if %option_with_sun_branding
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
bzcat %SOURCE1 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%patch1 -p1
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    49
%endif
10598
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    50
%if %option_with_indiana_branding
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    51
%patch1 -p1
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    52
cp %SOURCE1 indiana/
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    53
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
# Fix 326430.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
for po in po/*.po; do
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
  dos2unix -ascii $po $po
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
done
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
  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
    66
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
fi
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
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
intltoolize --copy --force --automake
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
aclocal $ACLOCAL_FLAGS 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
  ./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
	--prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
	--sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
	--mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
make -i install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%defattr (-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_datadir}/gnome-background-properties
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_datadir}/pixmaps/backgrounds/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_datadir}/locale/*/LC_MESSAGES/*.mo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%changelog
10598
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    96
* Wed Oct  3 2007 - [email protected]
2be9bf4377fc 2007-10-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10572
diff changeset
    97
- add indiana background(s) patch and Source
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    98
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
    99
- do not install sun branded desktop wallpapers when sun branding is
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10514
diff changeset
   100
  not requested
10514
341814d22758 2007-09-18 Damien Carbery <[email protected]>
dcarbery
parents: 10148
diff changeset
   101
* Tue Sep 18 2007 - [email protected]
341814d22758 2007-09-18 Damien Carbery <[email protected]>
dcarbery
parents: 10148
diff changeset
   102
- Bump to 2.20.0.
10148
f99b7ec82d56 2007-07-02 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   103
* Mon Jul 02 2007 - [email protected]
f99b7ec82d56 2007-07-02 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   104
- Bump to 2.18.3.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
* Mon Nov 27 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- Bump to 2.16.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Mon Oct 02 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Bump to 2.16.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
* Tue Aug 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
- Bump to 2.15.92.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
- Bump to 2.14.2.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
* Thu Apr 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Bump to 2.14.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
* Thu Apr 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
- replace sed with dos2unix to work around ^M problem in SVN
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
* Mon Mar 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- Bump to 2.14.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
* Wed Mar  1 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
- use sed instead of dos2unix for converting the po files, because dos2unix
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
  corrupts some UTF-8 strings
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Wed Mar  1 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Bump to 2.13.92.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Tue Feb 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Bump to 2.13.91.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Tue Jan 31 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- Bump to 2.13.90.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Add intltoolize call.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Tue Jan 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- dos2unix vi.po to fix 326430.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Wed Dec 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Bump to 2.12.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Mon Aug 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Bump to 2.10.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Fri Mar 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Install the sun backgrounds here
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Fri Mar 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Initial import of gnome-backgrounds