GConf2-vl.spec 15 KB

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