9397
|
1 |
#
|
|
2 |
# spec file for package GConf
|
|
3 |
#
|
11426
|
4 |
# Copyright 2008 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 stephen
|
9397
|
9 |
#
|
16426
|
10 |
|
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
9397
|
13 |
Name: GConf
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries/GNOME
|
|
16 |
Provides: GConf
|
16367
|
17 |
Version: 2.27.0
|
9397
|
18 |
Release: 1
|
|
19 |
Distribution: Java Desktop System
|
|
20 |
Vendor: Sun Microsystems, Inc.
|
|
21 |
Summary: GNOME Configuration Framework
|
15409
|
22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/GConf/2.26/GConf-%{version}.tar.bz2
|
13034
|
23 |
%if %build_l10n
|
|
24 |
Source1: l10n-configure.sh
|
|
25 |
%endif
|
9397
|
26 |
#owner:stephen date:2004-08-02 type:bug bugster:5042863 bugzilla:100378
|
15120
|
27 |
Patch1: GConf-01-g11n-locale-alias.diff
|
9397
|
28 |
#owner:laca date:2006-06-29 type:feature
|
15120
|
29 |
Patch2: GConf-02-GCONF_BACKEND_DIR.diff
|
14441
|
30 |
#owner:yippi date:2008-10-09 type:bug bugzilla:555745
|
15120
|
31 |
Patch3: GConf-03-user-specific-dbus.diff
|
15695
|
32 |
#owner:stephen date:2009-03-20 type:bug doo:7402
|
15459
|
33 |
Patch4: GConf-04-no-defaults-service.diff
|
9397
|
34 |
URL: http://www.gnome.org
|
|
35 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
36 |
Docdir: %{_defaultdocdir}/doc
|
|
37 |
Autoreqprov: on
|
|
38 |
Prereq: /sbin/ldconfig
|
|
39 |
|
|
40 |
%define gtk2_version 2.4.0
|
|
41 |
%define libxml2_version 2.6.7
|
|
42 |
%define ORBit2_version 2.10.1
|
|
43 |
%define gtk_doc_version 1.1
|
|
44 |
%define popt_version 1.7
|
|
45 |
|
|
46 |
Requires: gtk2 >= %{gtk2_version}
|
|
47 |
Requires: libxml2 >= %{libxml2_version}
|
|
48 |
Requires: ORBit2 >= %{ORBit2_version}
|
|
49 |
Requires: popt >= %{popt_version}
|
|
50 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
51 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
52 |
BuildRequires: ORBit2-devel >= %{ORBit2_version}
|
|
53 |
BuildRequires: popt-devel >= %{popt_version}
|
|
54 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
55 |
|
|
56 |
%description
|
|
57 |
GConf is the Configuration Framework for the GNOME Desktop.
|
|
58 |
|
|
59 |
%package devel
|
|
60 |
Summary: GNOME Configuration Framework Development Libraries
|
|
61 |
Group: Development/Libraries/GNOME
|
|
62 |
Requires: %{name} = %{version}
|
|
63 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
64 |
Requires: ORBit2-devel >= %{ORBit2_version}
|
|
65 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
66 |
|
|
67 |
%description devel
|
|
68 |
GConf is the Configuration Framework for the GNOME Desktop.
|
|
69 |
|
|
70 |
%prep
|
|
71 |
%setup -q
|
13034
|
72 |
%if %build_l10n
|
|
73 |
# Disable GNU extensions for ar CR 6730851
|
|
74 |
sh %SOURCE1 --disable-gnu-extensions
|
|
75 |
%endif
|
|
76 |
|
9397
|
77 |
%patch1 -p1
|
11426
|
78 |
%patch2 -p1
|
9397
|
79 |
%patch3 -p1
|
15496
|
80 |
%patch4 -p1
|
9397
|
81 |
|
|
82 |
%build
|
|
83 |
%ifos linux
|
|
84 |
if [ -x /usr/bin/getconf ]; then
|
|
85 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
86 |
fi
|
|
87 |
%else
|
|
88 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
89 |
%endif
|
|
90 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
91 |
CPUS=1
|
|
92 |
fi
|
|
93 |
|
10588
|
94 |
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
|
13034
|
95 |
|
|
96 |
%if %build_l10n
|
|
97 |
sh %SOURCE1 --enable-copyright
|
|
98 |
%endif
|
|
99 |
|
14945
|
100 |
libtoolize --force
|
9462
|
101 |
aclocal
|
9397
|
102 |
autoheader
|
|
103 |
autoconf
|
10572
|
104 |
export CFLAGS="%optflags"
|
|
105 |
export LDFLAGS="%_ldflags"
|
|
106 |
./configure \
|
|
107 |
--prefix=%{_prefix} \
|
|
108 |
--bindir=%{_bindir} \
|
|
109 |
--libdir=%{_libdir} \
|
|
110 |
--libexecdir=%{_libexecdir} \
|
9397
|
111 |
--sysconfdir=%{_sysconfdir} \
|
|
112 |
--libexecdir=%{_libexecdir} \
|
15745
|
113 |
--enable-defaults-service=no \
|
9397
|
114 |
%{gtk_doc_option}
|
|
115 |
|
|
116 |
# For some reason using -j $CPUS breaks the build on my machine with
|
|
117 |
# 2 processors, so just using make
|
|
118 |
#
|
|
119 |
make
|
|
120 |
|
|
121 |
%install
|
10572
|
122 |
make install DESTDIR=$RPM_BUILD_ROOT MKDIR_P="mkdir -p"
|
9397
|
123 |
|
|
124 |
#Copy zh_HK from zh_TW
|
|
125 |
#Fixes bug 4930405
|
|
126 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
127 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
128 |
rm $RPM_BUILD_ROOT%{_libdir}/GConf/2/*.la
|
|
129 |
rm $RPM_BUILD_ROOT%{_libdir}/GConf/2/*.a
|
|
130 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
131 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
132 |
|
|
133 |
%clean
|
|
134 |
rm -rf $RPM_BUILD_ROOT
|
|
135 |
|
|
136 |
%post
|
|
137 |
/sbin/ldconfig
|
|
138 |
|
|
139 |
%postun
|
|
140 |
/sbin/ldconfig
|
|
141 |
|
|
142 |
%files
|
|
143 |
%defattr(-, root, root)
|
|
144 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
145 |
%{_datadir}/GConf
|
|
146 |
%{_bindir}/*
|
|
147 |
%{_libexecdir}/*
|
|
148 |
%{_libdir}/GConf/2/*.so*
|
|
149 |
%{_libdir}/libgconf-2*so.*
|
|
150 |
%{_sysconfdir}/gconf
|
|
151 |
%{_mandir}/man1/*
|
|
152 |
%dir %{_sysconfdir}/gconf/gconf.xml.defaults
|
|
153 |
%dir %{_sysconfdir}/gconf/gconf.xml.mandatory
|
|
154 |
|
|
155 |
%files devel
|
|
156 |
%defattr(-, root, root)
|
|
157 |
%{_includedir}/gconf/2/gconf/*.h
|
|
158 |
%{_libdir}/libgconf-2*.so
|
|
159 |
%{_libdir}/pkgconfig/*.pc
|
|
160 |
%{_datadir}/aclocal/*.m4
|
|
161 |
%{_datadir}/gtk-doc/*
|
|
162 |
%{_datadir}/sgml/*
|
|
163 |
%{_mandir}/man3/*
|
|
164 |
|
|
165 |
%changelog
|
16367
|
166 |
* Wed Aug 26 2009 - [email protected]
|
|
167 |
- Bump to 2.27.0.
|
15793
|
168 |
* Thu May 21 2009 - [email protected]
|
|
169 |
bump to 2.26.2 which contain the fix to doo 9056 (also crashes of 9054).
|
15745
|
170 |
* Mon May 11 2009 - [email protected]
|
|
171 |
- Bump to 2.26.1.
|
15409
|
172 |
* Tue Mar 17 2009 - [email protected]
|
|
173 |
- Bump to 2.26.0
|
14945
|
174 |
* Tue Jan 20 2009 - [email protected]
|
|
175 |
- Bump to 2.25.0.
|
14441
|
176 |
* Fri Oct 10 2008 - [email protected]
|
|
177 |
- Add patch GConf-04-user-specific-dbus so D-Bus is restarted without
|
|
178 |
DBUS_SESSION_BUS_ADDRESS set if the effective user id looking to connect is
|
|
179 |
not the same as the owner of the bus. Fix for bug#2980
|
13783
|
180 |
* Fri Sep 26 2008 - [email protected]
|
|
181 |
- Bump to 2.24.0. Remove upstream patch GConf-04-nopolkit.diff.
|
13034
|
182 |
* Tue Aug 05 2008 - [email protected]
|
|
183 |
- Add l10n-configure.sh to fix 6730851 ar SEGV
|
12572
|
184 |
* Tue Jun 03 2008 - [email protected]
|
|
185 |
- Bump to 2.23.1.
|
11834
|
186 |
* Mon Mar 10 2008 - [email protected]
|
|
187 |
- Bump to 2.22.0.
|
11539
|
188 |
* Mon Jan 28 2008 - [email protected]
|
|
189 |
- Bump to 2.21.90.
|
11504
|
190 |
* Tue Jan 22 2008 - [email protected]
|
|
191 |
- Bump to 2.21.2. Remove upstream patch 04-glib-pc.
|
11433
|
192 |
* Thu Jan 10 2008 - [email protected]
|
|
193 |
- Add patch 04-glib-pc to fix gconf-2.0.pc file type: s/glib/glib-2.0/.
|
11426
|
194 |
* Wed Jan 09 2008 - [email protected]
|
|
195 |
- Bump to 2.21.1. Remove upstream patch, 02-daemon-hanged-solaris, rename
|
|
196 |
remainder.
|
10674
|
197 |
* Fri Oct 19 2007 - [email protected]
|
|
198 |
- Bump to 2.20.1.
|
10572
|
199 |
* Fri Sep 28 2007 - [email protected]
|
|
200 |
- convert to new style multi-ISA build
|
10533
|
201 |
* Wed Sep 19 2007 - [email protected]
|
|
202 |
- Bump to 2.20.0.
|
10147
|
203 |
* Mon Jul 02 2007 - [email protected]
|
|
204 |
- Bump to 2.19.1.
|
9565
|
205 |
* Wed Mar 15 2007 - [email protected]
|
|
206 |
- Removed adding ccdir to PATH
|
9462
|
207 |
* Tue Mar 06 2007 - [email protected]
|
|
208 |
- Add aclocal call and set MKDIR_P in %install to resolve autoconf version
|
|
209 |
mismatch.
|
9432
|
210 |
* Mon Mar 05 2007 - [email protected]
|
9436
|
211 |
- Bump to 2.18.0.1.
|
|
212 |
* Mon Mar 05 2007 - [email protected]
|
9432
|
213 |
- Bump to 2.18.0. Remove upstream patches, 05-gconftool-makefile-install and
|
|
214 |
06-use-fdwalk.
|
9397
|
215 |
* Fri Nov 3 2006 - [email protected]
|
|
216 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
217 |
--without-gtk-doc
|
|
218 |
* Tue Oct 17 2006 - [email protected]
|
|
219 |
- Bump to 2.16.0.
|
|
220 |
* Mon Sep 25 2006 - [email protected]
|
|
221 |
- add patch use-fdwalk to speed up clsoing of fds. (bug 6366879)
|
|
222 |
* Tue Jul 4 2006 - [email protected]
|
|
223 |
- add patch gconftool-makefile-install.diff which makes --makefile-install-rule
|
|
224 |
continue if a schemas file fails.
|
|
225 |
* Thu Jun 29 2006 - [email protected]
|
|
226 |
- add patch GCONF_BACKEND_DIR.diff that makes the backend dir relocatable
|
|
227 |
via env variable
|
|
228 |
* Sat Mar 18 2006 - [email protected]
|
|
229 |
- Bump to 2.14.0.
|
|
230 |
* Fri Jan 20 2006 - [email protected]
|
|
231 |
- Bump to 2.13.5.
|
|
232 |
* Fri Jan 6 2006 - [email protected]
|
|
233 |
- set 64-bit sysconfdir to /etc, since those files are not arch specific
|
|
234 |
* Wed Nov 30 2005 - [email protected]
|
|
235 |
- Remove upstream patch, 04-markup-tree-incremental-reads.diff.
|
|
236 |
* Tue Nov 29 2005 - [email protected]
|
|
237 |
- Bump to 2.12.1.
|
|
238 |
* Thu Oct 20 2005 - [email protected]
|
|
239 |
- add Lorenzo's incremental read patch; already in HEAD
|
|
240 |
* Wed Sep 14 2005 - [email protected]
|
|
241 |
- Bump to 2.12.0.
|
|
242 |
* Mon Sep 05 2005 - [email protected]
|
|
243 |
- Bump to 2.11.92.
|
|
244 |
* Mon Aug 15 2005 - [email protected]
|
|
245 |
- Bump to 2.11.90.
|
|
246 |
* Wed Jun 15 2005 - [email protected]
|
|
247 |
- add patch pkgconfig.diff that add gconf-2.0 to the pkgconfig deps
|
|
248 |
- run autoconf
|
|
249 |
* Wed May 11 2005 - [email protected]
|
|
250 |
- Remove building with multiple processors, since that is breaking
|
|
251 |
the build on Solaris.
|
|
252 |
* Fri May 06 2005 - [email protected]
|
|
253 |
- Bump to 2.10.0
|
|
254 |
* Tue Feb 15 2005 - [email protected]
|
|
255 |
- Add patch to fix such that defaults don't get
|
|
256 |
installed for all locales since we always
|
|
257 |
fallback to C locale values
|
|
258 |
* Fri Oct 29 2004 - [email protected]
|
|
259 |
- use $CC64 for the 64-bit build if defined
|
|
260 |
* Sat Oct 2 2004 - [email protected]
|
|
261 |
- Create 64bit libraries for Solaris
|
|
262 |
* Fri Sep 24 2004 - [email protected]
|
|
263 |
- Added GConf-06-g11n-potfiles.diff
|
|
264 |
* Mon Aug 30 2004 - [email protected]
|
|
265 |
- updated GConf-02-g11n-potfiles.diff
|
|
266 |
* Wed Aug 18 2004 - [email protected]
|
|
267 |
- added --enable-gtk-doc.
|
|
268 |
* Wed Aug 11 2004 - [email protected]
|
|
269 |
- Removed GConf-05-use-global-lock.diff as it is backwards incomptaible in a
|
|
270 |
heterogeneous environment. While the goal of the project is to allow
|
|
271 |
concurrent login which has in effect achieved by not having any lock at all.
|
|
272 |
* Thu Aug 02 2004 - [email protected]
|
|
273 |
- create GConf-06-g11n-locale-alias.diff to fix bug #5042863,
|
|
274 |
the orignal patch is from the bugzilla.gnome.org #100378
|
|
275 |
* Thu Jul 08 2004 - [email protected]
|
|
276 |
- Updated l10n content to GConf-l10n-po-1.2.tar.bz2
|
|
277 |
* Thu Jul 08 2004 - [email protected]
|
|
278 |
- ported to rpm4/suse91
|
|
279 |
* Wed Jul 07 2004 - [email protected]
|
|
280 |
- added "-j $CPUS" to make to speed up builds
|
|
281 |
* Fri Jun 11 2004 - [email protected]
|
|
282 |
- Create a patch GConf-05-use-global-lock.diff as we want to use orbit ip
|
|
283 |
to resolve to a single gconf daemon per user.
|
|
284 |
* Thu Jun 03 2004 - [email protected]
|
|
285 |
- Added GConf-04-daemon-hanged-solaris.diff as the signal handler
|
|
286 |
is calling non-reentrant code as gconf_log(). SO removed the calls
|
|
287 |
to these signals, though much of these messages are not that important.
|
|
288 |
* Wed May 19 2004 - [email protected]
|
|
289 |
- added GConf-03-apoc-path-update.diff.
|
|
290 |
* Wed May 12 2004 - [email protected]
|
|
291 |
- Updated l10n content to GConf-l10n-po-1.1.tar.bz2
|
|
292 |
* Thu Apr 06 2004 - [email protected]
|
|
293 |
- Updtaed to 2.6.1 tarball.
|
|
294 |
* Fri Apr 02 2004 - [email protected]
|
|
295 |
- Updtaed to 2.6.0 tarball.
|
|
296 |
* Mon Mar 29 2004 - [email protected]
|
|
297 |
- Updated l10n content to GConf-l10n-po-1.0.tar.bz2
|
|
298 |
* Fri Mar 19 2004 - [email protected]
|
|
299 |
- Bump to 2.5.90 and merge the potfile patches.
|
|
300 |
* Thu Mar 11 2004 - [email protected]
|
|
301 |
- added GConf-03-g11n-potfiles.diff
|
|
302 |
* Wed Feb 11 2004 - <[email protected]>
|
|
303 |
- Bump to 2.5.1, l10n to 0.7, port 02-fix-potfiles patch
|
|
304 |
* Mon Dec 15 2003 - <[email protected]>
|
|
305 |
- Add back the man page stuff, and the backend
|
|
306 |
notification patch
|
|
307 |
* Mon Oct 06 2003 - <[email protected]> 2.4.0.1-1
|
|
308 |
- Update to 2.4.0.1-1.
|
|
309 |
- Remove dump/load and local locks patches.
|
|
310 |
* Tue Aug 19 2003 - <[email protected]>
|
|
311 |
- add GConf-02-sanity-check.diff patch, fixes 4908212
|
|
312 |
* Thu Aug 14 2003 - <[email protected]>
|
|
313 |
- move lib*.so to -devel, remove *.a, *.la
|
|
314 |
* Fri Aug 01 2003 - <[email protected]> 2.2.1-1
|
|
315 |
- Upgrade to 2.2.1
|
|
316 |
* Wed Jul 09 2003 - <[email protected]>
|
|
317 |
- add in sun po files
|
|
318 |
* Fri May 30 2003 - <[email protected]>
|
|
319 |
- Make sure gconf.xml.mandatory gets created
|
|
320 |
* Fri May 30 2003 - <[email protected]>
|
|
321 |
- Add patches required by gnome-panel-2.3.1
|
|
322 |
- Install .la files
|
|
323 |
* Thu May 07 2003 - <[email protected]>
|
|
324 |
- Create new spec file for GConf
|