GConf2-vl.spec 16 KB

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