GConf2-vl.spec 12 KB

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