GConf2-vl.spec 15 KB

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