author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19933 | af08f9b106c6 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package gnome-desktop |
|
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 |
# |
|
53 | 8 |
Name: gnome-desktop |
9 |
License: LGPL |
|
152 | 10 |
Group: System/Libraries/GNOME |
19235 | 11 |
Version: 2.10.1 |
19483
82a3dc686f47
2005-06-24 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19288
diff
changeset
|
12 |
Release: 2 |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
152 | 15 |
Summary: GNOME Desktop Library |
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.10/%{name}-%{version}.tar.bz2 |
405 | 17 |
Source1: blueprint-extra-icons.tar.bz2 |
19719 | 18 |
Source2: gnome-feedback.xml |
2292 | 19 |
Source3: sun-gnome-version.xml |
20 |
Source6: gnome-about.1.gz |
|
21 |
Source7: gnome-std-options.5.gz |
|
2919 | 22 |
Source8: gnome-cleanup |
2465 | 23 |
Patch1: gnome-desktop-01-jds-about-branding.diff |
19235 | 24 |
Patch2: gnome-desktop-02-hicolor-icons.diff |
53 | 25 |
URL: http://www.gnome.org |
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
27 |
Docdir: %{_defaultdocdir}/%{name} |
|
152 | 28 |
Autoreqprov: on |
1080 | 29 |
Prereq: /sbin/ldconfig |
53 | 30 |
|
1298 | 31 |
%define libwnck_version 2.4.0 |
32 |
%define libgnomeui_version 2.2.0 |
|
199 | 33 |
%define startup_notification_version 0.5 |
34 |
%define popt_version 1.6.4 |
|
1220 | 35 |
%define libgnome_version 2.4.0 |
1848 | 36 |
%define scrollkeeper_version 0.3.12 |
199 | 37 |
|
1298 | 38 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
199 | 39 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
40 |
BuildRequires: startup-notification-devel >= %{startup_notification_version} |
|
41 |
BuildRequires: popt-devel >= %{popt_version} |
|
1848 | 42 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
199 | 43 |
|
53 | 44 |
%description |
152 | 45 |
libgnome-desktop is a private library containing API that are |
46 |
not considered stable. |
|
47 |
||
48 |
gnome-desktop also contains icons and documents used in the |
|
49 |
base GNOME Desktop. |
|
53 | 50 |
|
152 | 51 |
%package devel |
52 |
Summary: GNOME Desktop Library |
|
53 |
Group: Development/Libraries/GNOME |
|
54 |
Requires: %name = %version-%release |
|
199 | 55 |
Requires: libgnomeui-devel >= %{libgnomeui_version} |
56 |
Requires: libgnome-devel >= %{libgnome_version} |
|
53 | 57 |
|
152 | 58 |
%description devel |
59 |
libgnome-desktop is a private library containing API that are |
|
60 |
not considered stable. |
|
53 | 61 |
|
62 |
%prep |
|
1298 | 63 |
%setup -q |
1522 | 64 |
bzcat %SOURCE1 | tar xvf - |
19719 | 65 |
cp %SOURCE2 desktop-docs/gnome-feedback/C/gnome-feedback.xml |
2292 | 66 |
cp %SOURCE3 gnome-version.xml.in.in |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
67 |
%patch1 -p1 |
2636 | 68 |
%patch2 -p1 |
4455 | 69 |
|
53 | 70 |
%build |
3263 | 71 |
%ifos linux |
72 |
if [ -x /usr/bin/getconf ]; then |
|
73 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
74 |
fi |
|
75 |
%else |
|
3846 | 76 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 77 |
%endif |
78 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
79 |
CPUS=1 |
|
80 |
fi |
|
81 |
||
2267 | 82 |
gnome-doc-common |
389 | 83 |
libtoolize --force |
19243 | 84 |
aclocal $ACLOCAL_FLAGS |
389 | 85 |
automake -a -c -f |
86 |
autoconf |
|
87 |
||
1701 | 88 |
%ifos solaris |
19927 | 89 |
release_version="GNOME 2.10 Desktop" |
1701 | 90 |
%else |
2480 | 91 |
release_version=`head -1 /etc/sun-release` |
1701 | 92 |
%endif |
1438 | 93 |
|
605 | 94 |
CFLAGS="$RPM_OPT_FLAGS" \ |
152 | 95 |
./configure --prefix=%{_prefix} \ |
199 | 96 |
--sysconfdir=%{_sysconfdir} \ |
1009 | 97 |
--mandir=%{_mandir} \ |
1087 | 98 |
--with-gnome-distributor="Sun Microsystems, Inc." \ |
2480 | 99 |
--with-gnome-distributor-version="$release_version" |
3263 | 100 |
make -j $CPUS |
53 | 101 |
|
102 |
%install |
|
152 | 103 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 104 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
105 |
install -d $RPM_BUILD_ROOT%{_mandir}/man5 |
|
2292 | 106 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man1 |
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3519
diff
changeset
|
107 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man5 |
2919 | 108 |
install --mode=0755 %SOURCE8 $RPM_BUILD_ROOT%{_bindir} |
1438 | 109 |
#Copy zh_HK from zh_TW |
110 |
#Fixes bug 4930405 |
|
1522 | 111 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
112 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
53 | 113 |
|
3628 | 114 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
115 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
116 |
||
53 | 117 |
%clean |
118 |
rm -rf $RPM_BUILD_ROOT |
|
119 |
||
152 | 120 |
%post |
121 |
/sbin/ldconfig |
|
122 |
||
123 |
%postun |
|
124 |
/sbin/ldconfig |
|
125 |
||
53 | 126 |
%files |
127 |
%defattr (-, root, root) |
|
199 | 128 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
129 |
%{_bindir}/* |
|
19288 | 130 |
%{_datadir}/applications/ |
1009 | 131 |
%{_datadir}/gnome-about/*.gif |
132 |
%{_datadir}/gnome-about/*.xml |
|
3628 | 133 |
%{_datadir}/gnome-about/headers/header-bg-*.png |
199 | 134 |
%{_datadir}/gnome/help/* |
3628 | 135 |
%{_datadir}/omf/* |
1298 | 136 |
%{_mandir}/man1/gnome-about.1.gz |
137 |
%{_mandir}/man5/gnome-std-options.5.gz |
|
199 | 138 |
%{_datadir}/pixmaps/ |
5320 | 139 |
%{_datadir}/icons/ |
1058 | 140 |
%{_libdir}/libgnome-desktop-2.so.* |
53 | 141 |
|
142 |
%files devel |
|
152 | 143 |
%defattr (-, root, root) |
199 | 144 |
%{_includedir}/gnome-desktop-2.0/libgnome/*.h |
145 |
%{_includedir}/gnome-desktop-2.0/libgnomeui/*.h |
|
146 |
%{_libdir}/pkgconfig/*.pc |
|
1058 | 147 |
%{_libdir}/libgnome-desktop-2.so |
53 | 148 |
|
149 |
%changelog |
|
19483
82a3dc686f47
2005-06-24 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19288
diff
changeset
|
150 |
* Fri Jun 24 2005 - [email protected] |
82a3dc686f47
2005-06-24 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19288
diff
changeset
|
151 |
- Add patch pkgconfig.diff that adds the required libs explictly |
82a3dc686f47
2005-06-24 Balamurali Viswanathan <[email protected]>
bviswa
parents:
19288
diff
changeset
|
152 |
|
19235 | 153 |
* Fri May 06 2005 - [email protected] |
154 |
- Bump to 2.10.1 |
|
155 |
||
5320 | 156 |
* Fri Apr 08 2005 - [email protected] |
157 |
- Add some hicolor icons. Should really be fixed in the code though. |
|
158 |
||
4953
25083f7654b0
2005-01-28 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4952
diff
changeset
|
159 |
* Fri Jan 28 2005 - [email protected] |
4952
3a79602b062b
2005-01-28 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4867
diff
changeset
|
160 |
- Modified patch gnome-desktop-01-jds-about-branding.diff so that Sun and gnome |
3a79602b062b
2005-01-28 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4867
diff
changeset
|
161 |
contributors are shown alphabetically. Fixes bug #6219985. |
3a79602b062b
2005-01-28 Balamurali Viswanathan <[email protected]>
bviswa
parents:
4867
diff
changeset
|
162 |
|
4844 | 163 |
* Fri Jan 14 2005 - [email protected] |
164 |
- Updated l10n help tarball for cinnabar-linux |
|
165 |
||
4630 | 166 |
* Wed Nov 24 2004 - [email protected] |
167 |
- Add English contents under l10n directory to fix 6197769(P1 STP) |
|
168 |
||
4382 | 169 |
* Fri Oct 29 2004 - [email protected] |
170 |
- Fixes nautilus crash for DnD of 'This Computer' |
|
171 |
icon over staroffice icon on desktop. |
|
172 |
||
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3519
diff
changeset
|
173 |
* Mon Aug 16 2004 - [email protected] |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3519
diff
changeset
|
174 |
- Changed SOURCE7 mode to 0755 for Solaris integration. |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3519
diff
changeset
|
175 |
|
3341 | 176 |
* Thu Jul 15 2004 - [email protected] |
177 |
- Updated spec-file to change the release version to 3 for |
|
178 |
Solaris. Fixes bug #5073195. |
|
179 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3269
diff
changeset
|
180 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3269
diff
changeset
|
181 |
- Updated l10n content to gnome-desktop-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3269
diff
changeset
|
182 |
|
3269
8800f84a1309
* gnome-desktop.spec: Add gnome-feedback.xml to package.
dc144907
parents:
3266
diff
changeset
|
183 |
* Wed Jul 07 2004 - [email protected] |
8800f84a1309
* gnome-desktop.spec: Add gnome-feedback.xml to package.
dc144907
parents:
3266
diff
changeset
|
184 |
- Add gnome-feedback.xml to ext-sources and package. |
8800f84a1309
* gnome-desktop.spec: Add gnome-feedback.xml to package.
dc144907
parents:
3266
diff
changeset
|
185 |
|
3628 | 186 |
* Wed Jul 07 2004 - [email protected] |
187 |
- ported to rpm4 |
|
188 |
||
3266 | 189 |
* Wed Jul 7 2004 - [email protected] |
190 |
- Updated gnome-desktop-02-menu-entries.diff |
|
191 |
- Updated gnome-desktop-03-g11n-potfiles.diff |
|
192 |
||
3263 | 193 |
* Wed Jul 07 2004 - [email protected] |
194 |
- added "-j $CPUS" to make to speed up builds |
|
195 |
||
2950
8eeb99badc7f
* gnome-desktop.spec: Fixed the release version on Solaris.
dduvall
parents:
2919
diff
changeset
|
196 |
* Fri May 28 2004 - [email protected] |
8eeb99badc7f
* gnome-desktop.spec: Fixed the release version on Solaris.
dduvall
parents:
2919
diff
changeset
|
197 |
- Fixed the release version on Solaris. |
8eeb99badc7f
* gnome-desktop.spec: Fixed the release version on Solaris.
dduvall
parents:
2919
diff
changeset
|
198 |
|
2919 | 199 |
* Fri May 28 2004 - [email protected] |
200 |
- Added gnome-cleanup script (fixes 5051597) |
|
201 |
||
2849
294ee7306f94
Patch gnome-desktop-03-g11n-potfiles.diff replaced gnome-desktop-03-potfiles.diff to comply with g11n naming standard. Updated gnome-desktop.spec.
yk150259
parents:
2777
diff
changeset
|
202 |
* Mon May 24 2004 - [email protected] |
294ee7306f94
Patch gnome-desktop-03-g11n-potfiles.diff replaced gnome-desktop-03-potfiles.diff to comply with g11n naming standard. Updated gnome-desktop.spec.
yk150259
parents:
2777
diff
changeset
|
203 |
- Added patch gnome-desktop-03-g11n-potfiles.diff |
294ee7306f94
Patch gnome-desktop-03-g11n-potfiles.diff replaced gnome-desktop-03-potfiles.diff to comply with g11n naming standard. Updated gnome-desktop.spec.
yk150259
parents:
2777
diff
changeset
|
204 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2679
diff
changeset
|
205 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2679
diff
changeset
|
206 |
- Updated l10n content to gnome-desktop-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2679
diff
changeset
|
207 |
|
2679 | 208 |
* Fri May 07 2004 - [email protected] |
209 |
- Bump to 2.6.1 |
|
210 |
||
2636 | 211 |
* Tue May 04 2004 - [email protected] |
212 |
- Add administration directory, so we have a nice icon |
|
213 |
||
2485 | 214 |
* Sun Apr 18 2004 - [email protected] |
215 |
- enable javahelp conversion on Solaris |
|
216 |
||
2480 | 217 |
* Fri Apr 16 2004 - [email protected] |
218 |
- Changed spec file to use 'release_version' as a variable and not a string |
|
219 |
so that it displays release version number correctly. |
|
220 |
||
2465 | 221 |
* Thu Apr 15 2004 - [email protected] |
222 |
- Bump to 2.6.0.1 and remove the directory entries patch |
|
223 |
since it's upstream and not needed anymore. |
|
224 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
225 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
226 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
227 |
|
2350 | 228 |
* Mon Mar 29 2004 - [email protected] |
229 |
- Updated l10n content to gnome-desktop-l10n-po-1.0.tar.bz2 |
|
230 |
||
2292 | 231 |
* Tue Mar 23 2004 - [email protected] |
232 |
- Bump to 2.6.0 and remove the preference icons |
|
233 |
since they're mostly in gnome-icon-theme now. |
|
234 |
||
2267 | 235 |
* Mon Mar 22 2004 - [email protected] |
236 |
- Bump to 2.5.92, merge the jds about patches, remove |
|
237 |
some building patches and man page patch. |
|
238 |
||
2085 | 239 |
* Sun Feb 29 2004 - [email protected] |
240 |
- Add patch 09 needed for Solaris build |
|
241 |
||
1848 | 242 |
* Fri Feb 20 2004 - [email protected] |
243 |
- Added Build req for scrollkeeper |
|
244 |
||
1716 | 245 |
* Tue Feb 17 2004 - [email protected] |
246 |
- Add uninstalled.pc file needed for the Solaris builds |
|
247 |
||
1607 | 248 |
* Mon Feb 09 2004 - [email protected] |
249 |
- Bump to 2.5.4, l10n tarball to 0.7 |
|
250 |
- Port patch 05, 06 |
|
251 |
- New patch 07 for omf.make, need to run gnome-doc-common to get these |
|
252 |
but not sure how ? |
|
253 |
||
1438 | 254 |
* Mon Dec 15 2003 - [email protected] |
255 |
- Bump to 2.5.2 |
|
256 |
||
1298 | 257 |
* Mon Oct 20 2003 - [email protected] |
258 |
- included the patches to put in copyrights for Sun Java Desktop and Sun's |
|
259 |
contributors. |
|
260 |
||
261 |
* Sun Oct 19 2003 - [email protected] |
|
262 |
- Updated l10n content to gnome-desktop-l10n-po-0.4.tar.bz2 |
|
263 |
||
264 |
* Fri Oct 17 2003 - [email protected] |
|
265 |
- Updated l10n content to gnome-desktop-l10n-po-0.3.tar.bz2 |
|
266 |
||
267 |
* Thu Oct 16 2003 - <[email protected]> |
|
268 |
- Changed the copyright and modify the contributors list |
|
269 |
as in bug 4938100. |
|
270 |
||
271 |
* Mon Oct 13 2003 - <[email protected]> |
|
272 |
- Man pages update |
|
273 |
||
274 |
* Fri Oct 10 2003 - [email protected] |
|
275 |
- Updated l10n content to gnome-desktop-l10n-po-0.2.tar.bz2 |
|
276 |
||
277 |
* Thu Oct 09 2003 - <[email protected]> |
|
278 |
- Man pages |
|
1220 | 279 |
|
1145 | 280 |
* Tue Sep 18 2003 - <[email protected]> 2.3.6-13 |
281 |
- Updated year in copyright. Patch from Bala. |
|
282 |
||
1087 | 283 |
* Tue Aug 19 2003 - <[email protected]> |
284 |
- Use the release number as a version string. |
|
285 |
||
1058 | 286 |
* Thu Aug 14 2003 - <[email protected]> |
287 |
- move lib*.so to -devel, remove *.a, *.la |
|
288 |
||
1009 | 289 |
* Thu Aug 07 2003 - <[email protected]> 2.3.6-4 |
290 |
- Add new gnome-about header images |
|
291 |
||
292 |
* Thu Aug 07 2003 - <[email protected]> 2.3.6-3 |
|
293 |
- Include legalaise in the gnome-about dialog. |
|
294 |
||
295 |
* Thu Aug 07 2003 - <[email protected]> 2.3.6-2 |
|
296 |
- Set the distributor correctly |
|
297 |
||
298 |
* Thu Aug 07 2003 - <[email protected]> 2.3.6-1 |
|
299 |
- Update to 2.3.6 |
|
300 |
||
301 |
* Thu Jul 24 2003 - <[email protected]> |
|
782 | 302 |
- Give burn:/// and quick-start:/// titles and |
303 |
icons. |
|
304 |
||
1009 | 305 |
* Thu Jul 24 2003 - <[email protected]> |
776 | 306 |
- Make preferences:/// use a consistant icon. |
307 |
||
1009 | 308 |
* Tue Jul 21 2003 - <[email protected]> |
706 | 309 |
- Remove advanced directory relocation. Something must have |
310 |
changed along the way. |
|
311 |
||
1009 | 312 |
* Thu Jul 17 2003 - <[email protected]> |
640 | 313 |
- Add some icons for the preferences menu |
314 |
||
1009 | 315 |
* Wed Jul 16 2003 - <[email protected]> |
592
76792274fe1f
gnome-desktop-03-network-directory-files.diff added
lk86177
parents:
575
diff
changeset
|
316 |
- add gnome-desktop-03-network-directory-files.diff |
640 | 317 |
|
510 | 318 |
* Wed Jul 09 2003 - <[email protected]> |
319 |
- add in sun po files |
|
320 |
||
1009 | 321 |
* Fri Jul 03 2003 - <[email protected]> |
445 | 322 |
- New tarball |
323 |
||
1009 | 324 |
* Wed Jul 02 2003 - <[email protected]> |
396 | 325 |
- New tarball...whee |
326 |
||
1009 | 327 |
* Wed Jul 02 2003 - <[email protected]> |
389 | 328 |
- Move the advanced-directory.png icon to it's |
329 |
proper location. This probably is already fixed |
|
330 |
in HEAD. gnome-desktop-01-advanced-directory-relocation.diff |
|
331 |
||
1009 | 332 |
* Wed Jul 02 2003 - <[email protected]> |
388 | 333 |
- Make sure that we install the .directory files |
334 |
as well |
|
335 |
||
1009 | 336 |
* Tue May 13 2003 - <[email protected]> |
53 | 337 |
- Created new spec file for gnome-desktop |