GConf2-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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.0
  10. Release: 2%{?_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. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-2
  121. - import upstream patches from fedora
  122. - Patch1: gettext fix
  123. - Patch2: avoid crash wen gconftool-2 cant read the db
  124. - Patch3: make the defaults mechanism use the right polkit actions
  125. - Patch4: donot catch segv etc. let abrt catch them
  126. - build with polkit, add BR: polkit-devel
  127. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.0-1
  128. - new upstream release
  129. * Fri May 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-2
  130. - add BR: dbus-devel, dbus-glib-devel (<BTS:0700>)
  131. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  132. - new upstream release
  133. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  134. - drop obsolete patch1
  135. * Sun Mar 22 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-2
  136. - rebuilt with openldap-2.4.11
  137. * Thu Mar 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  138. - new upstream release
  139. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  140. - new upstream release
  141. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.23.2-1
  142. - new upstream release
  143. * Tue Jul 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.0-2
  144. - spec in UTF-8
  145. * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  146. - new upstream release
  147. * Sat Nov 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  148. - new upstream release
  149. - removed Prereq: install-info
  150. * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0.1-0vl2
  151. - rebuild with new environment
  152. * Wed Apr 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0.1-0vl1
  153. - new upstream release
  154. * Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.0-0vl5
  155. - add BuildRequires: gtk2-devel
  156. * Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.14.0-0vl4
  157. - rebuilt with openldap-2.3.27-0vl1
  158. * Sun Jul 02 2006 Satoshi MACHINO <machino@vinelinux.org> 2.14.0-0vl3
  159. - rebuilt with openldap-2.3.24-0vl1
  160. * Tue May 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2
  161. - add BuildRequires: openldap-devel
  162. * Sun Mar 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  163. - new upstream release
  164. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
  165. - reload gconf2 when schema is added/removed (patch0 from mdk)
  166. - only sync db once when installing multiple schemas. (patch1 from fc)
  167. * Sun Mar 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
  168. - new upstream release
  169. * Wed Jan 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.1-0vl1
  170. - new upstream release
  171. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  172. - new upstream release
  173. * Wed Aug 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.92-0vl1
  174. - new upstream release
  175. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  176. - new upstream release
  177. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  178. - new upstream version
  179. * Thu Nov 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl2
  180. - add Japanese summaries and descriptions.
  181. thanks to spec file translation project.
  182. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  183. - new upstream release
  184. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0.1-0vl1
  185. - new upstream release
  186. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  187. - new upstream release
  188. * Tue Sep 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.3-0vl1
  189. - new upstream release
  190. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  191. - new upstream release
  192. - fix specfile kanjicode
  193. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  194. - new upstream release
  195. * Thu Jan 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  196. - new upstream release
  197. * Sat Dec 14 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-0vl1
  198. - build for Vine Linux
  199. * Fri Aug 30 2002 Havoc Pennington <hp@redhat.com>
  200. - add GCONF_LOCAL_LOCKS mode, and syslog encoding patch from tagoh
  201. * Wed Aug 21 2002 Havoc Pennington <hp@redhat.com>
  202. - add dialog to offer to delete gconf locks
  203. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  204. - 1.2.1
  205. - include libexecdir stuff
  206. * Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
  207. - move .pc fle to -devel package
  208. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  209. - automated rebuild
  210. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  211. - automated rebuild
  212. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  213. - fix warning on gnome-panel install
  214. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  215. - 1.2.0
  216. - own libdir/GConf/2 directory
  217. - include gtk-doc docs
  218. - don't include static lib for backend modules
  219. * Thu Jun 06 2002 Havoc Pennington <hp@redhat.com>
  220. - rebuild in different environment
  221. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  222. - 1.1.11
  223. - remove AUTHORS for rpmlint
  224. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  225. - automated rebuild
  226. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  227. - rebuild in different environment
  228. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  229. - rebuild in different environment
  230. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  231. - 1.1.10
  232. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  233. - 1.1.9
  234. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  235. - 1.1.8
  236. - remove .la files
  237. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  238. - Version 1.1.6
  239. - Rebuild for dependencies
  240. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  241. - automated rebuild
  242. * Fri Jan 4 2002 Havoc Pennington <hp@redhat.com>
  243. - 1.1.5.93 snap with important bugfix so gconf actually works
  244. * Thu Jan 3 2002 Havoc Pennington <hp@redhat.com>
  245. - 1.1.5.92 snap with GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  246. * Thu Jan 3 2002 Havoc Pennington <hp@redhat.com>
  247. - 1.1.5.91 snap with gconf.m4 fix for libgnome
  248. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  249. - since every other build seems to avoid libglib-1.3.so.11,
  250. rebuild and hope
  251. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  252. - cvs snap 1.1.5.90
  253. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  254. - GConf 1.1.5, glib 1.3.11
  255. * Sat Oct 27 2001 Havoc Pennington <hp@redhat.com>
  256. - rebuild for glib 1.3.10
  257. * Sun Oct 14 2001 Havoc Pennington <hp@redhat.com>
  258. - 1.1.3
  259. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  260. - cvs snap, remove bonobo-activation deps
  261. * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
  262. - update to new CVS snap, rebuild
  263. * Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
  264. - create gconf2 rpm based on gconf1, comment out pofiles
  265. - include .pc files
  266. * Fri Sep 14 2001 Havoc Pennington <hp@redhat.com>
  267. - fix description/summary
  268. * Fri Aug 31 2001 Havoc Pennington <hp@redhat.com>
  269. - Add po files from sources.redhat.com
  270. * Mon Aug 27 2001 Havoc Pennington <hp@redhat.com>
  271. - Add po files from sources.redhat.com
  272. * Wed Aug 15 2001 Havoc Pennington <hp@redhat.com>
  273. - upgrade to 1.0.4 release I just made
  274. - fixes #51223, syslog spew
  275. * Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
  276. - move gconf-config to devel RPM
  277. * Mon Jul 23 2001 Havoc Pennington <hp@redhat.com>
  278. - how many releases of GConf can I make before it works?
  279. * Sun Jul 22 2001 Havoc Pennington <hp@redhat.com>
  280. - Upgrade to 1.0.2 (which contains only bugfixes that
  281. I reviewed and/or wrote myself)
  282. * Wed Jul 18 2001 Havoc Pennington <hp@redhat.com>
  283. - create the %{_sysconfdir}/gconf/gconf.xml.defaults directory
  284. * Fri Jul 6 2001 Alexander Larsson <alexl@redhat.com>
  285. - Install the .la files in the devel package.
  286. * Fri Jul 6 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  287. - Use %%{_tmppath}
  288. - Move the .so files to the devel subpackage
  289. - langify
  290. - Move changelog to the end, where it should be :)
  291. - Don't specify (a bad) doc directory
  292. - Don't define name, version and release and use it in the rpm headers later
  293. - Remove "Packager:"
  294. - s/Copyright/License/
  295. * Fri Jun 22 2001 Havoc Pennington <hp@redhat.com>
  296. - add --direct option to gconftool to avoid spawning oafd,
  297. then commented out gconftool entirely since it checks
  298. whether gconfd is running and that spawns oafd anyhow.
  299. oafd simply needs to exit when unused.
  300. * Tue May 15 2001 Havoc Pennington <hp@redhat.com>
  301. - Fix post, pointed out by Bill
  302. * Mon May 14 2001 Havoc Pennington <hp@redhat.com>
  303. - Upgrade to 1.0.1
  304. * Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
  305. - Import to Red Hat build system.
  306. * Sun Jun 11 2000 Eskil Heyn Olsen <deity@eazel.com>
  307. - Created the .spec file