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