GConf2-vl.spec 12 KB

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