author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 7573 | e40b458effae |
child 8189 | 937e34512d79 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package GConf |
|
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 |
# |
|
21 | 8 |
Name: GConf |
9 |
License: LGPL |
|
152 | 10 |
Group: System/Libraries/GNOME |
21 | 11 |
Provides: GConf |
6960 | 12 |
Version: 2.14.0 |
5518 | 13 |
Release: 1 |
14 |
Distribution: Java Desktop System |
|
575 | 15 |
Vendor: Sun Microsystems, Inc. |
152 | 16 |
Summary: GNOME Configuration Framework |
6960 | 17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/GConf/2.14/GConf-%{version}.tar.bz2 |
5518 | 18 |
Source1: gconftool-2.1.gz |
19 |
Source2: libgconf-2.3.gz |
|
20 |
Patch1: GConf-01-apoc-path-update.diff |
|
21 |
Patch2: GConf-02-daemon-hanged-solaris.diff |
|
22 |
Patch3: GConf-03-g11n-locale-alias.diff |
|
7540
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6960
diff
changeset
|
23 |
Patch4: GConf-04-GCONF_BACKEND_DIR.diff |
7573
e40b458effae
2006-07-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
24 |
Patch5: GConf-05-gconftool-makefile-install.diff |
152 | 25 |
URL: http://www.gnome.org |
21 | 26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
152 | 27 |
Docdir: %{_defaultdocdir}/doc |
28 |
Autoreqprov: on |
|
5518 | 29 |
Prereq: /sbin/ldconfig |
152 | 30 |
|
3628 | 31 |
%define gtk2_version 2.4.0 |
32 |
%define libxml2_version 2.6.7 |
|
33 |
%define ORBit2_version 2.10.1 |
|
1199 | 34 |
%define gtk_doc_version 1.1 |
3628 | 35 |
%define popt_version 1.7 |
189 | 36 |
|
37 |
Requires: gtk2 >= %{gtk2_version} |
|
38 |
Requires: libxml2 >= %{libxml2_version} |
|
39 |
Requires: ORBit2 >= %{ORBit2_version} |
|
40 |
Requires: popt >= %{popt_version} |
|
41 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
42 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
43 |
BuildRequires: ORBit2-devel >= %{ORBit2_version} |
|
44 |
BuildRequires: popt-devel >= %{popt_version} |
|
45 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
21 | 46 |
|
47 |
%description |
|
152 | 48 |
GConf is the Configuration Framework for the GNOME Desktop. |
21 | 49 |
|
50 |
%package devel |
|
152 | 51 |
Summary: GNOME Configuration Framework Development Libraries |
21 | 52 |
Group: Development/Libraries/GNOME |
191 | 53 |
Requires: %{name} = %{version} |
189 | 54 |
Requires: libxml2-devel >= %{libxml2_version} |
55 |
Requires: ORBit2-devel >= %{ORBit2_version} |
|
56 |
Requires: gtk2-devel >= %{gtk2_version} |
|
21 | 57 |
|
58 |
%description devel |
|
152 | 59 |
GConf is the Configuration Framework for the GNOME Desktop. |
21 | 60 |
|
61 |
%prep |
|
1432 | 62 |
%setup -q |
63 |
%patch1 -p1 |
|
1621 | 64 |
%patch2 -p1 |
2804
55d2f661843f
#b5045338# Patched the GConf path to feature the APOC sources commented out
cm122549
parents:
2777
diff
changeset
|
65 |
%patch3 -p1 |
7540
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6960
diff
changeset
|
66 |
%patch4 -p1 |
7573
e40b458effae
2006-07-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
67 |
%patch5 -p1 |
503 | 68 |
|
4121 | 69 |
%ifos solaris |
4271 | 70 |
%ifarch amd64 sparcv9 |
4121 | 71 |
cd .. |
72 |
cp -rp GConf-%{version} GConf-%{version}-64 |
|
6613 | 73 |
cd GConf-%{version} |
4121 | 74 |
%endif |
4127 | 75 |
%endif |
4121 | 76 |
|
4455 | 77 |
|
21 | 78 |
%build |
3263 | 79 |
%ifos linux |
80 |
if [ -x /usr/bin/getconf ]; then |
|
81 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
82 |
fi |
|
83 |
%else |
|
3846 | 84 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 85 |
%endif |
86 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
87 |
CPUS=1 |
|
88 |
fi |
|
89 |
||
4121 | 90 |
CONFLAGS="--prefix=%{_prefix} --mandir=%{_mandir}" |
91 |
||
92 |
%ifos solaris |
|
4271 | 93 |
%ifarch amd64 sparcv9 |
4121 | 94 |
cd ../GConf-%version-64 |
95 |
||
96 |
export CFLAGS="$CFLAGS64" |
|
97 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" |
|
98 |
export LDFLAGS="$LDFLAGS64" |
|
4365 | 99 |
export CC=${CC64:-$CC} |
100 |
save_PATH="$PATH" |
|
101 |
ccdir=`dirname $CC` |
|
5747 | 102 |
export PATH=$ccdir:$PATH |
4121 | 103 |
|
5518 | 104 |
autoconf |
4121 | 105 |
./configure $CONFLAGS \ |
106 |
--bindir=%{_bindir}/%{_arch64} \ |
|
107 |
--libdir=%{_libdir}/%{_arch64} \ |
|
108 |
--libexecdir=%{_libexecdir}/%{_arch64} \ |
|
6525 | 109 |
--sysconfdir=%{_sysconfdir} \ |
4121 | 110 |
--disable-gtk-doc |
111 |
||
5518 | 112 |
# For some reason using -j $CPUS breaks the build on my machine with |
113 |
# 2 processors, so just using make |
|
114 |
# |
|
115 |
make |
|
4121 | 116 |
|
117 |
cd ../GConf-%version |
|
118 |
||
119 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" |
|
4365 | 120 |
export LDFLAGS="$LDFLAGS32" |
121 |
export CFLAGS="$CFLAGS32" |
|
122 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
123 |
export CC=${CC32:-$CC} |
|
124 |
export PATH="$save_PATH" |
|
125 |
||
4127 | 126 |
%endif |
4121 | 127 |
%endif |
128 |
||
5518 | 129 |
autoconf |
605 | 130 |
CFLAGS="$RPM_OPT_FLAGS" \ |
4121 | 131 |
./configure $CONFLAGS \ |
132 |
--sysconfdir=%{_sysconfdir} \ |
|
133 |
--libexecdir=%{_libexecdir} \ |
|
3691 | 134 |
--enable-gtk-doc |
5518 | 135 |
|
136 |
# For some reason using -j $CPUS breaks the build on my machine with |
|
137 |
# 2 processors, so just using make |
|
138 |
# |
|
139 |
make |
|
21 | 140 |
|
141 |
%install |
|
4121 | 142 |
|
143 |
%ifos solaris |
|
4271 | 144 |
%ifarch amd64 sparcv9 |
4121 | 145 |
cd ../GConf-%version-64 |
146 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
147 |
cd ../GConf-%version |
|
148 |
%endif |
|
4127 | 149 |
%endif |
4121 | 150 |
|
152 | 151 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 152 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
153 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
5518 | 154 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
155 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
1432 | 156 |
#Copy zh_HK from zh_TW |
157 |
#Fixes bug 4930405 |
|
1522 | 158 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
159 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 160 |
rm $RPM_BUILD_ROOT%{_libdir}/GConf/2/*.la |
161 |
rm $RPM_BUILD_ROOT%{_libdir}/GConf/2/*.a |
|
162 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
163 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
152 | 164 |
|
165 |
%clean |
|
166 |
rm -rf $RPM_BUILD_ROOT |
|
21 | 167 |
|
168 |
%post |
|
169 |
/sbin/ldconfig |
|
170 |
||
171 |
%postun |
|
172 |
/sbin/ldconfig |
|
173 |
||
174 |
%files |
|
175 |
%defattr(-, root, root) |
|
176 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
5551 | 177 |
%{_datadir}/GConf |
189 | 178 |
%{_bindir}/* |
179 |
%{_libexecdir}/* |
|
180 |
%{_libdir}/GConf/2/*.so* |
|
1058 | 181 |
%{_libdir}/libgconf-2*so.* |
5551 | 182 |
%{_sysconfdir}/gconf |
1432 | 183 |
%{_mandir}/man1/* |
248 | 184 |
%dir %{_sysconfdir}/gconf/gconf.xml.defaults |
185 |
%dir %{_sysconfdir}/gconf/gconf.xml.mandatory |
|
21 | 186 |
|
187 |
%files devel |
|
188 |
%defattr(-, root, root) |
|
189 | 189 |
%{_includedir}/gconf/2/gconf/*.h |
1058 | 190 |
%{_libdir}/libgconf-2*.so |
189 | 191 |
%{_libdir}/pkgconfig/*.pc |
192 |
%{_datadir}/aclocal/*.m4 |
|
3628 | 193 |
%{_datadir}/gtk-doc/* |
189 | 194 |
%{_datadir}/sgml/* |
1432 | 195 |
%{_mandir}/man3/* |
21 | 196 |
|
197 |
%changelog |
|
7573
e40b458effae
2006-07-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
198 |
* Tue Jul 4 2006 - [email protected] |
e40b458effae
2006-07-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
199 |
- add patch gconftool-makefile-install.diff which makes --makefile-install-rule |
e40b458effae
2006-07-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7540
diff
changeset
|
200 |
continue if a schemas file fails. |
7540
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6960
diff
changeset
|
201 |
* Thu Jun 29 2006 - [email protected] |
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6960
diff
changeset
|
202 |
- add patch GCONF_BACKEND_DIR.diff that makes the backend dir relocatable |
9085c377d2f0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6960
diff
changeset
|
203 |
via env variable |
6960 | 204 |
* Sat Mar 18 2006 - [email protected] |
205 |
- Bump to 2.14.0. |
|
6628 | 206 |
* Fri Jan 20 2006 - [email protected] |
207 |
- Bump to 2.13.5. |
|
208 |
* Fri Jan 6 2006 - [email protected] |
|
6525 | 209 |
- set 64-bit sysconfdir to /etc, since those files are not arch specific |
6305
3d6e2d08d8f3
* GConf.spec: Remove upstream patch, markup-tree-incremental-reads.diff
dc144907
parents:
6297
diff
changeset
|
210 |
* Wed Nov 30 2005 - [email protected] |
3d6e2d08d8f3
* GConf.spec: Remove upstream patch, markup-tree-incremental-reads.diff
dc144907
parents:
6297
diff
changeset
|
211 |
- Remove upstream patch, 04-markup-tree-incremental-reads.diff. |
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6156
diff
changeset
|
212 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6156
diff
changeset
|
213 |
- Bump to 2.12.1. |
6156 | 214 |
* Thu Oct 20 2005 - [email protected] |
215 |
- add Lorenzo's incremental read patch; already in HEAD |
|
5863 | 216 |
* Wed Sep 14 2005 - [email protected] |
217 |
- Bump to 2.12.0. |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5551
diff
changeset
|
218 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5551
diff
changeset
|
219 |
- Bump to 2.11.92. |
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
220 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
221 |
- Bump to 2.11.90. |
5518 | 222 |
* Wed Jun 15 2005 - [email protected] |
223 |
- add patch pkgconfig.diff that add gconf-2.0 to the pkgconfig deps |
|
224 |
- run autoconf |
|
225 |
* Wed May 11 2005 - [email protected] |
|
226 |
- Remove building with multiple processors, since that is breaking |
|
227 |
the build on Solaris. |
|
228 |
* Fri May 06 2005 - [email protected] |
|
229 |
- Bump to 2.10.0 |
|
5092 | 230 |
* Tue Feb 15 2005 - [email protected] |
231 |
- Add patch to fix such that defaults don't get |
|
232 |
installed for all locales since we always |
|
233 |
fallback to C locale values |
|
4365 | 234 |
* Fri Oct 29 2004 - [email protected] |
235 |
- use $CC64 for the 64-bit build if defined |
|
4121 | 236 |
* Sat Oct 2 2004 - [email protected] |
237 |
- Create 64bit libraries for Solaris |
|
4058
985dab8f5da2
Added GConf-06-g11n-potfiles.diff, updated GConf.spec.
yk150259
parents:
4033
diff
changeset
|
238 |
* Fri Sep 24 2004 - [email protected] |
985dab8f5da2
Added GConf-06-g11n-potfiles.diff, updated GConf.spec.
yk150259
parents:
4033
diff
changeset
|
239 |
- Added GConf-06-g11n-potfiles.diff |
3796 | 240 |
* Mon Aug 30 2004 - [email protected] |
241 |
- updated GConf-02-g11n-potfiles.diff |
|
3691 | 242 |
* Wed Aug 18 2004 - [email protected] |
243 |
- added --enable-gtk-doc. |
|
3535 | 244 |
* Wed Aug 11 2004 - [email protected] |
245 |
- Removed GConf-05-use-global-lock.diff as it is backwards incomptaible in a |
|
246 |
heterogeneous environment. While the goal of the project is to allow |
|
247 |
concurrent login which has in effect achieved by not having any lock at all. |
|
3460
e5aa4c14cf90
* GConf.spec : create GConf-06-g11n-locale-alias.diff to fix
tajima
parents:
3425
diff
changeset
|
248 |
* Thu Aug 02 2004 - [email protected] |
e5aa4c14cf90
* GConf.spec : create GConf-06-g11n-locale-alias.diff to fix
tajima
parents:
3425
diff
changeset
|
249 |
- create GConf-06-g11n-locale-alias.diff to fix bug #5042863, |
e5aa4c14cf90
* GConf.spec : create GConf-06-g11n-locale-alias.diff to fix
tajima
parents:
3425
diff
changeset
|
250 |
the orignal patch is from the bugzilla.gnome.org #100378 |
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
251 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
252 |
- Updated l10n content to GConf-l10n-po-1.2.tar.bz2 |
3628 | 253 |
* Thu Jul 08 2004 - [email protected] |
254 |
- ported to rpm4/suse91 |
|
3263 | 255 |
* Wed Jul 07 2004 - [email protected] |
256 |
- added "-j $CPUS" to make to speed up builds |
|
3133 | 257 |
* Fri Jun 11 2004 - [email protected] |
258 |
- Create a patch GConf-05-use-global-lock.diff as we want to use orbit ip |
|
259 |
to resolve to a single gconf daemon per user. |
|
3014 | 260 |
* Thu Jun 03 2004 - [email protected] |
261 |
- Added GConf-04-daemon-hanged-solaris.diff as the signal handler |
|
262 |
is calling non-reentrant code as gconf_log(). SO removed the calls |
|
263 |
to these signals, though much of these messages are not that important. |
|
2804
55d2f661843f
#b5045338# Patched the GConf path to feature the APOC sources commented out
cm122549
parents:
2777
diff
changeset
|
264 |
* Wed May 19 2004 - [email protected] |
55d2f661843f
#b5045338# Patched the GConf path to feature the APOC sources commented out
cm122549
parents:
2777
diff
changeset
|
265 |
- added GConf-03-apoc-path-update.diff. |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2664
diff
changeset
|
266 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2664
diff
changeset
|
267 |
- Updated l10n content to GConf-l10n-po-1.1.tar.bz2 |
2664 | 268 |
* Thu Apr 06 2004 - [email protected] |
269 |
- Updtaed to 2.6.1 tarball. |
|
2375 | 270 |
* Fri Apr 02 2004 - [email protected] |
271 |
- Updtaed to 2.6.0 tarball. |
|
2350 | 272 |
* Mon Mar 29 2004 - [email protected] |
273 |
- Updated l10n content to GConf-l10n-po-1.0.tar.bz2 |
|
2254 | 274 |
* Fri Mar 19 2004 - [email protected] |
275 |
- Bump to 2.5.90 and merge the potfile patches. |
|
2191 | 276 |
* Thu Mar 11 2004 - [email protected] |
277 |
- added GConf-03-g11n-potfiles.diff |
|
1621 | 278 |
* Wed Feb 11 2004 - <[email protected]> |
279 |
- Bump to 2.5.1, l10n to 0.7, port 02-fix-potfiles patch |
|
1432 | 280 |
* Mon Dec 15 2003 - <[email protected]> |
281 |
- Add back the man page stuff, and the backend |
|
282 |
notification patch |
|
1199 | 283 |
* Mon Oct 06 2003 - <[email protected]> 2.4.0.1-1 |
284 |
- Update to 2.4.0.1-1. |
|
285 |
- Remove dump/load and local locks patches. |
|
1092 | 286 |
* Tue Aug 19 2003 - <[email protected]> |
287 |
- add GConf-02-sanity-check.diff patch, fixes 4908212 |
|
1058 | 288 |
* Thu Aug 14 2003 - <[email protected]> |
289 |
- move lib*.so to -devel, remove *.a, *.la |
|
908 | 290 |
* Fri Aug 01 2003 - <[email protected]> 2.2.1-1 |
291 |
- Upgrade to 2.2.1 |
|
503 | 292 |
* Wed Jul 09 2003 - <[email protected]> |
293 |
- add in sun po files |
|
908 | 294 |
* Fri May 30 2003 - <[email protected]> |
248 | 295 |
- Make sure gconf.xml.mandatory gets created |
908 | 296 |
* Fri May 30 2003 - <[email protected]> |
235 | 297 |
- Add patches required by gnome-panel-2.3.1 |
298 |
- Install .la files |
|
908 | 299 |
* Thu May 07 2003 - <[email protected]> |
152 | 300 |
- Create new spec file for GConf |