source: projects/specs/trunk/G/GConf2/GConf2-vl.spec @ 805

Revision 805, 12.3 KB checked in by Takemikaduchi, 14 years ago (diff)

change spec file of gnome-2.30

Line 
1%define libxml2_version 2.6.23
2%define orbit2_version 2.14.17
3%define glib2_version 2.20.0
4%define dbus_version 1.2.16
5%define dbus_glib_version 0.82
6
7Summary: A process-transparent configuration system
8Summary(ja): プロセス透過型設定システム
9Name: GConf2
10Version: 2.28.1
11Release: 1%{?_dist_release}
12License: LGPL
13Group: System Environment/Base
14Source: GConf-%{version}.tar.bz2
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16URL: http://www.gnome.org
17BuildRequires: libxml2-devel >= %{libxml2_version}
18BuildRequires: ORBit2-devel >= %{orbit2_version}
19BuildRequires: glib2-devel >= %{glib2_version}
20BuildRequires: dbus-devel >= %{dbus_version}
21BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
22BuildRequires: gtk2-devel
23BuildRequires: openldap-devel
24BuildRequires: gtk-doc >= 0.9
25BuildRequires: polkit-devel >= 0.92
26Requires: dbus
27
28Patch0: GConf-2.18.0.1-reload.patch
29# http://bugzilla.gnome.org/show_bug.cgi?id=568845
30Patch1: GConf-gettext.patch
31#
32Patch2: GConf-2.28.0-no-access-crash.patch
33# upstream fix
34Patch3: 0001-Make-the-defaults-mechanism-find-the-right-polkit-ac.patch
35# https://bugzilla.gnome.org/show_bug.cgi?id=608705
36Patch4: 0001-gconfd-Remove-worse-than-useless-signal-handlers-for.patch
37
38
39
40%description
41GConf is a process-transparent configuration database API used to
42store user preferences. It has pluggable backends and features to
43support workgroup administration.
44
45%description -l ja
46GConf は、ユーザの設定を保存するためのプロセス透過型の設定データ
47ベースの API です。バックエンドに接続しワークグループ管理をサポー
48トする機能を持っています。
49
50%package devel
51Summary: Headers and libraries for GConf development
52Summary(ja): GConf を使って開発するためのヘッダーファイルとライブラリ
53Group: Development/Libraries
54Requires: %{name} = %{version}
55Requires: libxml2-devel >= %{libxml2_version}
56Requires: ORBit2-devel >= %{orbit2_version}
57Requires: glib2-devel >= %{glib2_version}
58Requires: dbus-devel >= %{dbus_version}
59Requires: dbus-glib-devel >= %{dbus_glib_version}
60
61%description devel
62GConf development package. Contains files needed for doing
63development using GConf.
64
65%description -l ja devel
66GConf 開発パッケージです。GConf を使って開発するために必要なファ
67イルが含まれています。
68
69%prep
70%setup -q -n GConf-%{version}
71
72%patch0 -p1 -b .reload
73%patch1 -p1 -b .gettext
74## %patch2 -p1 -b .no-access
75## %patch3 -p1 -b .defaults-actions
76## %patch4 -p1 -b .segv
77
78%build
79%configure --disable-gtk-doc --disable-static --enable-defaults-service
80%__make %{?_smp_mflags}
81
82%install
83rm -fr $RPM_BUILD_ROOT
84%__make install DESTDIR=$RPM_BUILD_ROOT
85
86mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
87mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.system
88
89rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
90rm -f $RPM_BUILD_ROOT/%{_libdir}/GConf/2/*.la
91
92%find_lang %name
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post
98/sbin/ldconfig
99if [ $1 -gt 1 ]; then
100    if ! fgrep -q gconf.xml.system %{_sysconfdir}/gconf/2/path; then
101        sed -i -e 's@xml:readwrite:$(HOME)/.gconf@&\n\n# Location for system-wide settings.\nxml:readonly:/etc/gconf/gconf.xml.system@' %{_sysconfdir}/gconf/2/path
102    fi
103fi
104   
105%postun -p /sbin/ldconfig
106
107%files -f %{name}.lang
108%defattr(-, root, root)
109%doc COPYING ChangeLog NEWS README backends/README.evoldap
110%config %{_sysconfdir}/gconf/2/path
111%config %{_sysconfdir}/gconf/2/evoldap.conf
112%dir %{_sysconfdir}/gconf
113%dir %{_sysconfdir}/gconf/2
114%dir %{_sysconfdir}/gconf/gconf.xml.defaults
115%dir %{_sysconfdir}/gconf/gconf.xml.mandatory
116%dir %{_sysconfdir}/gconf/gconf.xml.system
117%dir %{_sysconfdir}/gconf/schemas
118%{_bindir}/*
119%{_libexecdir}/*
120%{_libdir}/*.so.*
121%{_libdir}/GConf/2/*.so
122%dir %{_libdir}/GConf
123%dir %{_libdir}/GConf/2
124%{_mandir}/man1/*
125%{_datadir}/sgml/gconf/gconf-1.0.dtd
126%{_datadir}/GConf
127%{_sysconfdir}/dbus-1/system.d/org.gnome.GConf.Defaults.conf
128%{_libexecdir}/gconf-defaults-mechanism
129%{_datadir}/polkit-1/actions/org.gnome.gconf.defaults.policy
130%{_datadir}/dbus-1/system-services/org.gnome.GConf.Defaults.service
131%{_datadir}/dbus-1/services/org.gnome.GConf.service
132
133%files devel
134%defattr(-, root, root)
135%{_libdir}/*.so
136%{_includedir}/gconf
137%{_datadir}/aclocal/*.m4
138%{_datadir}/gtk-doc
139%{_libdir}/pkgconfig/*
140
141%changelog
142* Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.1-1
143- new upstream release
144- drop Patch2, Patch3, Patch4
145
146* Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-2
147- import upstream patches from fedora
148  - Patch1: gettext fix
149  - Patch2: avoid crash wen gconftool-2 cant read the db
150  - Patch3: make the defaults mechanism use the right polkit actions
151  - Patch4: donot catch segv etc. let abrt catch them
152- build with polkit, add BR: polkit-devel
153
154* Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-1
155- new upstream release
156
157* Fri May 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-2
158- add BR: dbus-devel, dbus-glib-devel (<BTS:0700>)
159
160* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
161- new upstream release
162
163* Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
164- drop obsolete patch1
165
166* Sun Mar 22 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-2
167- rebuilt with openldap-2.4.11
168
169* Thu Mar 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
170- new upstream release
171
172* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
173- new upstream release
174
175* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.23.2-1
176- new upstream release
177
178* Tue Jul 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.0-2
179- spec in UTF-8
180
181* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
182- new upstream release
183
184* Sat Nov 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
185- new upstream release
186- removed Prereq: install-info
187
188* Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0.1-0vl2
189- rebuild with new environment
190
191* Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0.1-0vl1
192- new upstream release
193
194* Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.0-0vl5
195- add BuildRequires: gtk2-devel
196
197* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.14.0-0vl4
198- rebuilt with openldap-2.3.27-0vl1
199
200* Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 2.14.0-0vl3
201- rebuilt with openldap-2.3.24-0vl1
202
203* Tue May 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
204- add BuildRequires: openldap-devel
205
206* Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
207- new upstream release
208
209* Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
210- reload gconf2 when schema is added/removed (patch0 from mdk)
211- only sync db once when installing multiple schemas. (patch1 from fc)
212
213* Sun Mar 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
214- new upstream release
215
216* Wed Jan 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl1
217- new upstream release
218
219* Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
220- new upstream release
221
222* Wed Aug 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.92-0vl1
223- new upstream release
224
225* Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
226- new upstream release
227
228* Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
229- new upstream version
230
231* Thu Nov 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
232- add Japanese summaries and descriptions.
233  thanks to spec file translation project.
234
235* Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
236- new upstream release
237
238* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
239- new upstream release
240
241* Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
242- new upstream release
243
244* Tue Sep 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.3-0vl1
245- new upstream release
246
247* Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
248- new upstream release
249- fix specfile kanjicode
250
251* Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
252- new upstream release
253
254* Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
255- new upstream release
256
257* Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-0vl1
258- build for Vine Linux
259
260* Fri Aug 30 2002 Havoc Pennington <hp@redhat.com>
261- add GCONF_LOCAL_LOCKS mode, and syslog encoding patch from tagoh
262
263* Wed Aug 21 2002 Havoc Pennington <hp@redhat.com>
264- add dialog to offer to delete gconf locks
265
266* Tue Aug  6 2002 Havoc Pennington <hp@redhat.com>
267- 1.2.1
268- include libexecdir stuff
269
270* Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
271- move .pc fle to -devel package
272
273* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
274- automated rebuild
275
276* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
277- automated rebuild
278
279* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
280- fix warning on gnome-panel install
281
282* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
283- 1.2.0
284- own libdir/GConf/2 directory
285- include gtk-doc docs
286- don't include static lib for backend modules
287
288* Thu Jun 06 2002 Havoc Pennington <hp@redhat.com>
289- rebuild in different environment
290
291* Tue Jun  4 2002 Havoc Pennington <hp@redhat.com>
292- 1.1.11
293- remove AUTHORS for rpmlint
294
295* Sun May 26 2002 Tim Powers <timp@redhat.com>
296- automated rebuild
297
298* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
299- rebuild in different environment
300
301* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
302- rebuild in different environment
303
304* Thu May  2 2002 Havoc Pennington <hp@redhat.com>
305- 1.1.10
306
307* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
308- 1.1.9
309
310* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
311- 1.1.8
312- remove .la files
313
314* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
315- Version 1.1.6
316- Rebuild for dependencies
317
318* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
319- automated rebuild
320
321* Fri Jan  4 2002 Havoc Pennington <hp@redhat.com>
322- 1.1.5.93 snap with important bugfix so gconf actually works
323
324* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
325- 1.1.5.92 snap with GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
326
327* Thu Jan  3 2002 Havoc Pennington <hp@redhat.com>
328- 1.1.5.91 snap with gconf.m4 fix for libgnome
329
330* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
331- since every other build seems to avoid libglib-1.3.so.11,
332  rebuild and hope
333
334* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
335- cvs snap 1.1.5.90
336
337* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
338- GConf 1.1.5, glib 1.3.11
339
340* Sat Oct 27 2001 Havoc Pennington <hp@redhat.com>
341- rebuild for glib 1.3.10
342
343* Sun Oct 14 2001 Havoc Pennington <hp@redhat.com>
344- 1.1.3
345
346* Fri Oct  5 2001 Havoc Pennington <hp@redhat.com>
347- cvs snap, remove bonobo-activation deps
348
349* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
350- update to new CVS snap, rebuild
351
352* Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
353- create gconf2 rpm based on gconf1, comment out pofiles
354- include .pc files
355
356* Fri Sep 14 2001 Havoc Pennington <hp@redhat.com>
357- fix description/summary
358
359* Fri Aug 31 2001 Havoc Pennington <hp@redhat.com>
360- Add po files from sources.redhat.com
361
362* Mon Aug 27 2001 Havoc Pennington <hp@redhat.com>
363- Add po files from sources.redhat.com
364
365* Wed Aug 15 2001 Havoc Pennington <hp@redhat.com>
366- upgrade to 1.0.4 release I just made
367- fixes #51223, syslog spew
368
369* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
370- move gconf-config to devel RPM
371
372* Mon Jul 23 2001 Havoc Pennington <hp@redhat.com>
373- how many releases of GConf can I make before it works?
374
375* Sun Jul 22 2001 Havoc Pennington <hp@redhat.com>
376- Upgrade to 1.0.2 (which contains only bugfixes that
377  I reviewed and/or wrote myself)
378
379* Wed Jul 18 2001 Havoc Pennington <hp@redhat.com>
380- create the %{_sysconfdir}/gconf/gconf.xml.defaults directory
381
382* Fri Jul  6 2001 Alexander Larsson <alexl@redhat.com>
383- Install the .la files in the devel package.
384
385* Fri Jul  6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
386- Use %%{_tmppath}
387- Move the .so files to the devel subpackage
388- langify
389- Move changelog to the end, where it should be :)
390- Don't specify (a bad) doc directory
391- Don't define name, version and release and use it in the rpm headers later
392- Remove "Packager:"
393- s/Copyright/License/
394
395* Fri Jun 22 2001 Havoc Pennington <hp@redhat.com>
396- add --direct option to gconftool to avoid spawning oafd,
397  then commented out gconftool entirely since it checks
398  whether gconfd is running and that spawns oafd anyhow.
399  oafd simply needs to exit when unused.
400
401* Tue May 15 2001 Havoc Pennington <hp@redhat.com>
402- Fix post, pointed out by Bill
403
404* Mon May 14 2001 Havoc Pennington <hp@redhat.com>
405- Upgrade to 1.0.1
406
407* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
408- Import to Red Hat build system.
409
410* Sun Jun 11 2000  Eskil Heyn Olsen <deity@eazel.com>
411
412- Created the .spec file
Note: See TracBrowser for help on using the repository browser.