author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8530 | ef62fbe8c956 |
child 8644 | 03a152fd5cf6 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gnome-backgrounds |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8530 | 8 |
# Owner: erwannc |
9 |
# |
|
5518 | 10 |
Name: gnome-backgrounds |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
8239 | 13 |
Version: 2.16.1 |
7279 | 14 |
Release: 3 |
5518 | 15 |
Distribution: Java Desktop System |
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: Selection of backgrounds for the GNOME desktop |
|
8473 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2 |
7279 | 19 |
Source1: opensolaris-backgrounds-0.2.tar.bz2 |
5518 | 20 |
Patch1: gnome-backgrounds-01-sun-backgrounds.diff |
21 |
URL: http://www.gnome.org |
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
23 |
BuildArchitectures: noarch |
|
24 |
Docdir: %{_defaultdocdir}/%{name} |
|
25 |
Autoreqprov: on |
|
26 |
||
27 |
Requires: glib2 |
|
28 |
BuildRequires: intltool |
|
29 |
BuildRequires: glib2 |
|
30 |
||
31 |
%description |
|
32 |
Selection of backgrounds for the GNOME desktop. |
|
33 |
||
34 |
%prep |
|
35 |
%setup -q |
|
36 |
bzcat %SOURCE1 | tar xf - |
|
37 |
%patch1 -p1 |
|
6549
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
38 |
# Fix 326430. |
7057
13065d1e5cf0
replace sed with dos2unix to work around ^M problem in SVN
dermotm
parents:
6925
diff
changeset
|
39 |
for po in po/*.po; do |
13065d1e5cf0
replace sed with dos2unix to work around ^M problem in SVN
dermotm
parents:
6925
diff
changeset
|
40 |
dos2unix -ascii $po $po |
6870 | 41 |
done |
5518 | 42 |
|
43 |
%build |
|
44 |
%ifos linux |
|
45 |
if [ -x /usr/bin/getconf ]; then |
|
46 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
47 |
fi |
|
48 |
%else |
|
49 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
50 |
%endif |
|
51 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
52 |
CPUS=1 |
|
53 |
fi |
|
54 |
||
55 |
libtoolize --force |
|
6706 | 56 |
intltoolize --copy --force --automake |
5518 | 57 |
aclocal $ACLOCAL_FLAGS |
58 |
automake -a -c -f |
|
59 |
autoconf |
|
60 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
61 |
./configure \ |
|
62 |
--prefix=%{_prefix} \ |
|
63 |
--sysconfdir=%{_sysconfdir} \ |
|
64 |
--mandir=%{_mandir} |
|
65 |
make -j $CPUS |
|
66 |
||
67 |
%install |
|
68 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
69 |
||
70 |
%clean |
|
71 |
rm -rf $RPM_BUILD_ROOT |
|
72 |
||
73 |
%files |
|
74 |
%defattr (-, root, root) |
|
75 |
%{_datadir}/gnome-background-properties |
|
76 |
%{_datadir}/pixmaps/backgrounds/ |
|
77 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
78 |
||
79 |
%changelog |
|
8239 | 80 |
* Mon Oct 02 2006 - [email protected] |
81 |
- Bump to 2.16.1. |
|
82 |
||
7950 | 83 |
* Tue Aug 22 2006 - [email protected] |
84 |
- Bump to 2.15.92. |
|
85 |
||
7706 | 86 |
* Fri Jul 21 2006 - [email protected] |
87 |
- Bump to 2.14.2.1. |
|
88 |
||
7063 | 89 |
* Thu Apr 13 2006 - [email protected] |
90 |
- Bump to 2.14.1. |
|
91 |
||
7057
13065d1e5cf0
replace sed with dos2unix to work around ^M problem in SVN
dermotm
parents:
6925
diff
changeset
|
92 |
* Thu Apr 13 2006 - [email protected] |
13065d1e5cf0
replace sed with dos2unix to work around ^M problem in SVN
dermotm
parents:
6925
diff
changeset
|
93 |
- replace sed with dos2unix to work around ^M problem in SVN |
13065d1e5cf0
replace sed with dos2unix to work around ^M problem in SVN
dermotm
parents:
6925
diff
changeset
|
94 |
|
6925 | 95 |
* Mon Mar 13 2006 - [email protected] |
96 |
- Bump to 2.14.0. |
|
97 |
||
6870 | 98 |
* Wed Mar 1 2006 - [email protected] |
99 |
- use sed instead of dos2unix for converting the po files, because dos2unix |
|
100 |
corrupts some UTF-8 strings |
|
101 |
||
6869 | 102 |
* Wed Mar 1 2006 - [email protected] |
103 |
- Bump to 2.13.92. |
|
104 |
||
6761 | 105 |
* Tue Feb 14 2006 - [email protected] |
106 |
- Bump to 2.13.91. |
|
107 |
||
6697 | 108 |
* Tue Jan 31 2006 - [email protected] |
109 |
- Bump to 2.13.90. |
|
6706 | 110 |
- Add intltoolize call. |
6697 | 111 |
|
6549
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
112 |
* Tue Jan 10 2006 - [email protected] |
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
113 |
- dos2unix vi.po to fix 326430. |
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
114 |
|
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
115 |
* Wed Dec 21 2005 - [email protected] |
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
116 |
- Bump to 2.12.2. |
7ea82cd41335
* gnome-backgrounds.spec: dos2unix vi.po to fix 326430.
dc144907
parents:
6453
diff
changeset
|
117 |
|
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
118 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
119 |
- Bump to 2.10.2. |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
120 |
|
5518 | 121 |
* Fri Mar 20 2005 - [email protected] |
122 |
- Install the sun backgrounds here |
|
123 |
||
124 |
* Fri Mar 13 2005 - [email protected] |
|
125 |
- Initial import of gnome-backgrounds |