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 |
#
|
16434
|
8 |
%define owner erwannc
|
9397
|
9 |
#
|
16429
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16429
|
12 |
|
9397
|
13 |
Name: gnome-backgrounds
|
|
14 |
License: GPL
|
|
15 |
Group: System/GUI/GNOME
|
17781
|
16 |
Version: 2.30.0
|
13796
|
17 |
Release: 1
|
9397
|
18 |
Distribution: Java Desktop System
|
17864
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: Selection of backgrounds for the GNOME desktop
|
17781
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
|
12031
|
22 |
%if %build_l10n
|
|
23 |
Source1: l10n-configure.sh
|
|
24 |
%endif
|
9397
|
25 |
URL: http://www.gnome.org
|
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
27 |
BuildArchitectures: noarch
|
|
28 |
Docdir: %{_defaultdocdir}/%{name}
|
|
29 |
Autoreqprov: on
|
|
30 |
|
|
31 |
Requires: glib2
|
|
32 |
BuildRequires: intltool
|
|
33 |
BuildRequires: glib2
|
|
34 |
|
|
35 |
%description
|
|
36 |
Selection of backgrounds for the GNOME desktop.
|
|
37 |
|
|
38 |
%prep
|
|
39 |
%setup -q
|
|
40 |
# Fix 326430.
|
|
41 |
for po in po/*.po; do
|
|
42 |
dos2unix -ascii $po $po
|
|
43 |
done
|
|
44 |
|
|
45 |
%build
|
|
46 |
%ifos linux
|
|
47 |
if [ -x /usr/bin/getconf ]; then
|
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
49 |
fi
|
|
50 |
%else
|
|
51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
52 |
%endif
|
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
54 |
CPUS=1
|
|
55 |
fi
|
|
56 |
|
|
57 |
libtoolize --force
|
|
58 |
intltoolize --copy --force --automake
|
12031
|
59 |
|
|
60 |
%if %build_l10n
|
|
61 |
bash -x %SOURCE1 --enable-copyright
|
|
62 |
%endif
|
|
63 |
|
9397
|
64 |
aclocal $ACLOCAL_FLAGS
|
|
65 |
automake -a -c -f
|
|
66 |
autoconf
|
|
67 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
68 |
./configure \
|
|
69 |
--prefix=%{_prefix} \
|
|
70 |
--sysconfdir=%{_sysconfdir} \
|
|
71 |
--mandir=%{_mandir}
|
|
72 |
make -j $CPUS
|
|
73 |
|
|
74 |
%install
|
|
75 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
76 |
|
|
77 |
%clean
|
|
78 |
rm -rf $RPM_BUILD_ROOT
|
|
79 |
|
|
80 |
%files
|
|
81 |
%defattr (-, root, root)
|
|
82 |
%{_datadir}/gnome-background-properties
|
|
83 |
%{_datadir}/pixmaps/backgrounds/
|
|
84 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
85 |
|
|
86 |
%changelog
|
17781
|
87 |
* Tue Mar 30 2010 - [email protected]
|
|
88 |
- Bump to 2.30.0.
|
17669
|
89 |
* Thu Mar 11 2010 - [email protected]
|
|
90 |
- Bump to 2.29.92.
|
16643
|
91 |
* Wed Sep 23 2009 - [email protected]
|
|
92 |
- Bump to 2.28.0
|
16503
|
93 |
* Tue Sep 08 2009 - [email protected]
|
|
94 |
- Bump to 2.27.91
|
15432
|
95 |
* Wed Mar 18 2009 - [email protected]
|
|
96 |
- Bump to 2.24.1
|
13796
|
97 |
* Sat Sep 27 2008 - [email protected]
|
|
98 |
- Bump to 2.24.0.
|
13514
|
99 |
* Wed Sep 10 2008 - [email protected]
|
|
100 |
- Bump to 2.23.92.
|
13365
|
101 |
* Tue Sep 02 2008 - [email protected]
|
|
102 |
- Bump to 2.23.91.
|
13188
|
103 |
* Tue Aug 19 2008 - [email protected]
|
|
104 |
- Bump to 2.23.90
|
12898
|
105 |
* Wed Jul 23 2008 - [email protected]
|
|
106 |
- Bump to 2.23.0.
|
11829
|
107 |
* Mon Mar 10 2008 - [email protected]
|
|
108 |
- Bump to 2.22.0.
|
11491
|
109 |
* Mon Jan 21 2008 - [email protected]
|
|
110 |
- Move OpenSolaris backgrounds to new module on opensolaris.org
|
10598
|
111 |
* Wed Oct 3 2007 - [email protected]
|
|
112 |
- add indiana background(s) patch and Source
|
10572
|
113 |
* Fri Sep 28 2007 - [email protected]
|
|
114 |
- do not install sun branded desktop wallpapers when sun branding is
|
|
115 |
not requested
|
10514
|
116 |
* Tue Sep 18 2007 - [email protected]
|
|
117 |
- Bump to 2.20.0.
|
10148
|
118 |
* Mon Jul 02 2007 - [email protected]
|
|
119 |
- Bump to 2.18.3.
|
9397
|
120 |
* Mon Nov 27 2006 - [email protected]
|
|
121 |
- Bump to 2.16.2.
|
|
122 |
* Mon Oct 02 2006 - [email protected]
|
|
123 |
- Bump to 2.16.1.
|
|
124 |
* Tue Aug 22 2006 - [email protected]
|
|
125 |
- Bump to 2.15.92.
|
|
126 |
* Fri Jul 21 2006 - [email protected]
|
|
127 |
- Bump to 2.14.2.1.
|
|
128 |
* Thu Apr 13 2006 - [email protected]
|
|
129 |
- Bump to 2.14.1.
|
|
130 |
* Thu Apr 13 2006 - [email protected]
|
|
131 |
- replace sed with dos2unix to work around ^M problem in SVN
|
|
132 |
* Mon Mar 13 2006 - [email protected]
|
|
133 |
- Bump to 2.14.0.
|
|
134 |
* Wed Mar 1 2006 - [email protected]
|
|
135 |
- use sed instead of dos2unix for converting the po files, because dos2unix
|
|
136 |
corrupts some UTF-8 strings
|
|
137 |
* Wed Mar 1 2006 - [email protected]
|
|
138 |
- Bump to 2.13.92.
|
|
139 |
* Tue Feb 14 2006 - [email protected]
|
|
140 |
- Bump to 2.13.91.
|
|
141 |
* Tue Jan 31 2006 - [email protected]
|
|
142 |
- Bump to 2.13.90.
|
|
143 |
- Add intltoolize call.
|
|
144 |
* Tue Jan 10 2006 - [email protected]
|
|
145 |
- dos2unix vi.po to fix 326430.
|
|
146 |
* Wed Dec 21 2005 - [email protected]
|
|
147 |
- Bump to 2.12.2.
|
|
148 |
* Mon Aug 15 2005 - [email protected]
|
|
149 |
- Bump to 2.10.2.
|
|
150 |
* Fri Mar 20 2005 - [email protected]
|
|
151 |
- Install the sun backgrounds here
|
|
152 |
* Fri Mar 13 2005 - [email protected]
|
|
153 |
- Initial import of gnome-backgrounds
|