author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18037 | fbb6029d041b |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package deskbar-applet |
|
3 |
# |
|
18037 | 4 |
# Copyright (c) 2010 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. |
|
16434 | 7 |
%define owner migi |
9397 | 8 |
# |
16426 | 9 |
|
17852 | 10 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16426 | 11 |
|
9397 | 12 |
Name: deskbar-applet |
18037 | 13 |
License: GPLv2 |
9397 | 14 |
Group: System/GUI/GNOME |
18037 | 15 |
Version: 2.30.1 |
9397 | 16 |
Release: 1 |
17 |
Distribution: Java Desktop System |
|
17864 | 18 |
Vendor: Gnome Community |
9397 | 19 |
Summary: Deskbar Applet |
17792 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.30/%{name}-%{version}.tar.bz2 |
9397 | 21 |
# date:2003-10-17 owner:gman type:branding |
10285 | 22 |
Patch1: deskbar-applet-01-webeyes-compatibility.diff |
12126
8a6596718276
* base-specs/deskbar-applet.spec : Add patch 02-multihead-support
mattman
parents:
12071
diff
changeset
|
23 |
# date:2008-04-15 owner:mattman type:bug bugster:6436071 bugzilla:353412 |
8a6596718276
* base-specs/deskbar-applet.spec : Add patch 02-multihead-support
mattman
parents:
12071
diff
changeset
|
24 |
Patch2: deskbar-applet-02-multihead-support.diff |
17183
77f32de12b80
Use python2.6 explicitly in deskbar-applet.py to fix CR 6909661
jouby
parents:
16790
diff
changeset
|
25 |
# date:2009-12-15 owner:jouby type:bug bugster:6909661 |
77f32de12b80
Use python2.6 explicitly in deskbar-applet.py to fix CR 6909661
jouby
parents:
16790
diff
changeset
|
26 |
Patch3: deskbar-applet-03-py26.diff |
9397 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/%{name} |
|
30 |
Autoreqprov: on |
|
31 |
Prereq: /sbin/ldconfig |
|
32 |
Prereq: GConf |
|
33 |
||
34 |
%define pygtk2_version 2.7.0 |
|
35 |
%define gnome_desktop_version 2.10 |
|
36 |
%define gnome_python 2.10 |
|
37 |
%define gnome_python_desktop 2.13 |
|
38 |
%define evolution_data_server_version 1.5 |
|
39 |
||
40 |
Requires: pygtk2 >= %{pygtk2_version} |
|
41 |
Requires: gnome-python >= %{gnome_python_version} |
|
42 |
Requires: gnome-python-desktop >= %{gnome_python_desktop_version} |
|
43 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
44 |
Requires: evolution-data-server >= %{evolution_data_server_version} |
|
45 |
BuildRequires: pygtk2-devel >= %{pygtk2_version} |
|
46 |
BuildRequires: gnome-python-devel >= %{gnome_python_version} |
|
47 |
BuildRequires: gnome-python-desktop-devel >= %{gnome_python_desktop_version} |
|
48 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
49 |
BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} |
|
50 |
BuildRequires: intltool |
|
51 |
||
52 |
%description |
|
53 |
Search applet for the GNOME panel. |
|
54 |
||
55 |
%prep |
|
56 |
%setup -q |
|
10285 | 57 |
%patch1 -p1 |
15313
073935bd7076
* base-specs/deskbar-applet.spec : Uncomment patch 02-multihead-support
mattman
parents:
15101
diff
changeset
|
58 |
%patch2 -p1 |
17183
77f32de12b80
Use python2.6 explicitly in deskbar-applet.py to fix CR 6909661
jouby
parents:
16790
diff
changeset
|
59 |
%patch3 -p1 |
9397 | 60 |
|
61 |
for po in po/*.po; do |
|
62 |
dos2unix -ascii $po $po |
|
63 |
done |
|
64 |
||
65 |
%build |
|
16790 | 66 |
export PYTHON=/usr/bin/python%{default_python_version} |
9397 | 67 |
%ifos linux |
68 |
if [ -x /usr/bin/getconf ]; then |
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
70 |
fi |
|
71 |
%else |
|
72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
73 |
%endif |
|
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
75 |
CPUS=1 |
|
76 |
fi |
|
77 |
||
14962 | 78 |
libtoolize --force |
11757 | 79 |
aclocal $ACLOCAL_FLAGS -I ./m4 |
9397 | 80 |
automake -a -c -f |
81 |
autoconf |
|
82 |
./configure --prefix=%{_prefix} \ |
|
83 |
--sysconfdir=%{_sysconfdir} \ |
|
84 |
--disable-scrollkeeper \ |
|
16442 | 85 |
--libexecdir=%{_libexecdir} \ |
9397 | 86 |
--mandir=%{_mandir} |
87 |
make -j $CPUS \ |
|
16790 | 88 |
pyexecdir=%{_libdir}/python%{default_python_version}/vendor-packages \ |
89 |
pythondir=%{_libdir}/python%{default_python_version}/vendor-packages |
|
9397 | 90 |
|
91 |
%install |
|
92 |
make DESTDIR=$RPM_BUILD_ROOT install \ |
|
16790 | 93 |
pyexecdir=%{_libdir}/python%{default_python_version}/vendor-packages \ |
94 |
pythondir=%{_libdir}/python%{default_python_version}/vendor-packages |
|
9397 | 95 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
96 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
97 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';' |
|
98 |
||
99 |
%post |
|
100 |
/sbin/ldconfig |
|
101 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
102 |
SCHEMAS="deskbar-applet.schemas" |
|
103 |
for S in $SCHEMAS; do |
|
104 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
105 |
done |
|
106 |
||
107 |
%postun |
|
108 |
/sbin/ldconfig |
|
109 |
||
110 |
%clean |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
||
113 |
%files |
|
114 |
%defattr(-,root,root) |
|
115 |
%{_libdir}/bonobo/servers |
|
116 |
%{_libdir}/pkgconfig |
|
117 |
%{_libdir}/deskbar-applet |
|
118 |
%{_sysconfdir}/gconf/schemas/* |
|
119 |
%{_datadir}/deskbar-applet/ |
|
120 |
%{_datadir}/locale |
|
121 |
%{_datadir}/pixmaps |
|
16790 | 122 |
%{_libdir}/python%{default_python_version}/ |
9397 | 123 |
|
124 |
%changelog |
|
18037 | 125 |
* Tue May 25 2010 - [email protected] |
126 |
- Bump to 2.30.1. |
|
17792 | 127 |
* Sat Apr 3 2010 - [email protected] |
128 |
- Bump to 2.30.0. |
|
17708 | 129 |
* Sat Mar 13 2010 - [email protected] |
130 |
- Bump to 2.29.91. |
|
17552 | 131 |
* Mon Feb 15 2010 - [email protected] |
132 |
- Bump to 2.29.90. |
|
133 |
* Tue Dec 15 2009 - [email protected] |
|
17183
77f32de12b80
Use python2.6 explicitly in deskbar-applet.py to fix CR 6909661
jouby
parents:
16790
diff
changeset
|
134 |
- Use python2.6 explicitly in deskbar-applet.py to fix CR 6909661 |
16790 | 135 |
* Fri Oct 16 2009 - [email protected] |
136 |
- Use %{default_python_version} instead of hardcoding the version |
|
16666 | 137 |
* Wed Sep 23 2009 - [email protected] |
138 |
- Bump to 2.28.0 |
|
16549 | 139 |
* Tue Sep 08 2009 - [email protected] |
140 |
- Bump to 2.27.92 |
|
16442 | 141 |
* Tue Sep 01 2009 - [email protected] |
142 |
- Bump to 2.27.91 |
|
16238 | 143 |
* Tue Aug 11 2009 - [email protected] |
144 |
- Bump to 2.27.90. |
|
16064 | 145 |
* Sun Jul 19 2009 - [email protected] |
146 |
- Bump to 2.27.4. |
|
15879 | 147 |
* Bump to 2.26.2. |
15628 | 148 |
* Wed Apr 15 2009 - [email protected] |
15879 | 149 |
- Bump to 2.26.1. |
15437
69b954302417
* base-specs/deskbar-applet.spec: Bump to 2.26.0.
davelam
parents:
15386
diff
changeset
|
150 |
* Wed Mar 18 2009 - [email protected] |
15879 | 151 |
- Bump to 2.26.0. |
15386
e8877e71c767
* base-specs/gnome-icon-theme.spec: Bump to 2.25.92.
davelam
parents:
15313
diff
changeset
|
152 |
* Fri Mar 13 2009 - [email protected] |
15879 | 153 |
- Bump to 2.25.92. |
15313
073935bd7076
* base-specs/deskbar-applet.spec : Uncomment patch 02-multihead-support
mattman
parents:
15101
diff
changeset
|
154 |
* Thu Mar 05 2009 - [email protected] |
15879 | 155 |
- Uncoomment deskbar-applet-02-multihead-support.diff reworked. |
15101
c58f707cf6b7
* base-specs/gnome-applets.spec : Bump to 2.25.90
mattman
parents:
14991
diff
changeset
|
156 |
* Mon Feb 16 2009 - [email protected] |
15879 | 157 |
- Bump to 2.25.90. |
14991 | 158 |
* Fri Jan 30 2009 - [email protected] |
159 |
- Commented deskbar-applet-02-multihead-support.diff, needs rework. |
|
15873 | 160 |
* Thu Jan 22 2009 - [email protected] |
14962 | 161 |
- Add call to libtoolize. |
14697 | 162 |
* Wed Dec 03 2008 - [email protected] |
163 |
- Bump to 2.25.2 |
|
13829 | 164 |
* Sun Sep 28 2008 - [email protected] |
165 |
- Bump to 2.24.0. |
|
13462 | 166 |
* Tue Sep 09 2008 - [email protected] |
167 |
- Bump to 2.23.92. |
|
13386 | 168 |
* Wed Sep 03 2008 - [email protected] |
169 |
- Rework patch #2. |
|
13360 | 170 |
* Tue Sep 02 2008 - [email protected] |
171 |
- Bump to 2.23.91. |
|
13175 | 172 |
* Tue Aug 19 2008 - [email protected] |
15879 | 173 |
- Bump to 2.23.90. |
13030 | 174 |
* Tue Aug 05 2008 - [email protected] |
175 |
- Bump to 2.23.6. |
|
12900 | 176 |
* Wed Jul 23 2008 - [email protected] |
177 |
- Bump to 2.23.5. |
|
12682 | 178 |
* Tue Jun 17 2008 - [email protected] |
179 |
- Bump to 2.23.4. |
|
12572 | 180 |
* Tue Jun 03 2008 - [email protected] |
181 |
- Bump to 2.23.3. |
|
12533
81517f29d7d2
* base-specs/deskbar-applet.spec : Bump to 2.23.2
mattman
parents:
12372
diff
changeset
|
182 |
* Tue May 29 2008 - [email protected] |
12572 | 183 |
- Bump to 2.23.2. |
12372 | 184 |
* Tue May 27 2008 - [email protected] |
185 |
- Bump to 2.22.2.1. |
|
12126
8a6596718276
* base-specs/deskbar-applet.spec : Add patch 02-multihead-support
mattman
parents:
12071
diff
changeset
|
186 |
* Tue Apr 15 2008 - [email protected] |
8a6596718276
* base-specs/deskbar-applet.spec : Add patch 02-multihead-support
mattman
parents:
12071
diff
changeset
|
187 |
- Patch for multihead support |
12071 | 188 |
* Wed Apr 09 2008 - [email protected] |
189 |
- Bump to 2.22.1. |
|
11842 | 190 |
* Tue Mar 11 2008 - [email protected] |
191 |
- Bump to 2.22.0.1. |
|
11757 | 192 |
* Thu Feb 28 2008 - [email protected] |
193 |
- Reorder aclocal params to pick up patched intltool.m4 instead of the one |
|
194 |
in the deskbar-applet area. |
|
11725 | 195 |
* Tue Feb 26 2008 - [email protected] |
196 |
- Bump to 2.21.92. |
|
11619 | 197 |
* Tue Feb 12 2008 - [email protected] |
198 |
- Bump to 2.21.91. |
|
11546 | 199 |
* Tue Jan 29 2008 - [email protected] |
11554 | 200 |
- Bump to 2.21.90.1. |
201 |
* Tue Jan 29 2008 - [email protected] |
|
11546 | 202 |
- Bump to 2.21.90. |
11477 | 203 |
* Thu Jan 17 2008 - [email protected] |
204 |
- Bump to 2.21.5. |
|
11330 | 205 |
* Tue Dec 18 2007 - [email protected] |
206 |
- Bump to 2.21.4. |
|
11280 | 207 |
* Tue Dec 04 2007 - [email protected] |
208 |
- Bump to 2.21.3. |
|
11180 | 209 |
* Tue Nov 13 2007 - [email protected] |
210 |
- Bump to 2.21.2. |
|
10674 | 211 |
* Fri Oct 19 2007 - [email protected] |
212 |
- Bump to 2.20.1. Remove upstream patches, 02-iconv-solaris and 03-add-newline. |
|
10635 | 213 |
* Wed Oct 10 2007 - [email protected] |
214 |
- Don't delete *.pyc files - they are needed. |
|
10561 | 215 |
* Thu Sep 27 2007 - [email protected] |
216 |
- Add patch deskbar-applet-03-add-newline.diff which fixes a bug that |
|
217 |
was causing you to be unable to add the deskbar applet to the panel. |
|
10498 | 218 |
* Tue Sep 18 2007 - [email protected] |
219 |
- Bump to 2.20.0. |
|
10428 | 220 |
* Mon Sep 03 2007 - [email protected] |
221 |
- Bump to 2.19.92. |
|
10374 | 222 |
* Mon Aug 27 2007 - [email protected] |
223 |
- Bump to 2.19.91. |
|
10327 | 224 |
* Wed Aug 15 2007 - [email protected] |
10328 | 225 |
- Bump to 2.19.90.1. |
226 |
* Wed Aug 15 2007 - [email protected] |
|
10327 | 227 |
- Bump to 2.19.90. |
10284 | 228 |
* Tue Aug 07 2007 - [email protected] |
10287 | 229 |
- Bump to 2.19.6.1. Remove upstream patch, 02-evo-handler. |
230 |
* Tue Aug 07 2007 - [email protected] |
|
10285 | 231 |
- Remove patch 01-browser-locations because it is obsolete. Renumber rest. |
10286 | 232 |
- Add upstream patch, 02-evo-handler, to fix build error. |
10285 | 233 |
* Tue Aug 07 2007 - [email protected] |
10284 | 234 |
- Bump to 2.19.6. Disable patch1 01-browser-locations because we don't install |
235 |
mozilla or firefox under /usr/sfw. |
|
10175 | 236 |
* Tue Jul 10 2007 - [email protected] |
237 |
- Bump to 2.19.5. |
|
9988 | 238 |
* Tue Jun 05 2007 - [email protected] |
239 |
- Bump to 2.19.3. |
|
9693 | 240 |
* Sun Apr 08 2007 - [email protected] |
241 |
- Bump to 2.18.1. |
|
9553 | 242 |
* Wed Mar 14 2007 - [email protected] |
243 |
- Bump to 2.18.0. |
|
9539 | 244 |
* Tue Mar 13 2007 - [email protected] |
245 |
- Bump to 2.17.93. |
|
9437 | 246 |
* Mon Mar 05 2007 - [email protected] |
247 |
- Bump to 2.17.92. |
|
9397 | 248 |
* Tue Feb 13 2007 - [email protected] |
249 |
- Bump to 2.17.91. |
|
250 |
* Tue Jan 23 2007 - [email protected] |
|
251 |
- Bump to 2.17.90. |
|
252 |
* Thu Jan 11 2007 - [email protected] |
|
253 |
- Bump to 2.17.5.1. |
|
254 |
* Wed Jan 10 2007 - [email protected] |
|
255 |
- Disable scrollkeeper in configure as files not needed. |
|
256 |
* Tue Jan 09 2007 - [email protected] |
|
257 |
- Bump to 2.17.5. |
|
258 |
* Mon Nov 20 2006 - [email protected] |
|
259 |
- Bump to 2.17.2. |
|
260 |
* Tue Oct 24 2006 - [email protected] |
|
261 |
- Bump to 2.16.1. |
|
262 |
* Tue Oct 17 2006 - [email protected] |
|
263 |
- Add a patch for webeyes compatibility, a recently |
|
264 |
EOL'd component. |
|
265 |
* Mon Sep 04 2006 - [email protected] |
|
266 |
- Bump to 2.16.0. |
|
267 |
* Tue Aug 29 2006 - [email protected] |
|
268 |
- Bump to 2.15.92.1. |
|
269 |
* Thu Aug 24 2006 - [email protected] |
|
270 |
- Bump to 2.15.92. |
|
271 |
* Tue Aug 08 2006 - [email protected] |
|
272 |
- Bump to 2.15.91. |
|
273 |
* Fri Jul 28 2006 - [email protected] |
|
274 |
- Bump to 2.15.90.1. dos2unix the po files. |
|
275 |
* Wed Jul 24 2006 - [email protected] |
|
276 |
- Bump to 2.15.90. |
|
277 |
* Wed Jul 20 2006 - [email protected] |
|
278 |
- Bump to 2.15.5. |
|
279 |
* Tue Apr 18 2006 - [email protected] |
|
280 |
- Bump to 2.14.1.1. |
|
281 |
* Mon Apr 10 2006 - [email protected] |
|
282 |
- Bump to 2.14.1. |
|
283 |
* Fri Mar 17 2006 - [email protected] |
|
284 |
- Fix up the browser locations. Patch from Rich Lowe. |
|
285 |
* Tue Mar 14 2006 - [email protected] |
|
286 |
- Bump to 2.14.0.1. |
|
287 |
* Mon Mar 13 2006 - [email protected] |
|
288 |
- Bump to 2.14.0. |
|
289 |
* Wed Mar 1 2006 - [email protected] |
|
290 |
- Bump to 2.13.92. |
|
291 |
* Wed Mar 1 2006 - [email protected] |
|
15879 | 292 |
- Initial version. |
13829 | 293 |