%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define libxml2_version 2.7.8 %define orbit2_version 2.14.19 %define glib2_version 2.32.0 %define dbus_version 1.4.0 %define dbus_glib_version 0.88 Summary: A process-transparent configuration system Summary(ja): プロセス透過型設定システム Name: GConf2 Version: 3.2.6 Release: 2%{?_dist_release} License: LGPL Group: System Environment/Base Source: http://ftp.gnome.org/pub/GNOME/sources/GConf/3.2/GConf-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root URL: http://www.gnome.org BuildRequires: libxml2-devel >= %{libxml2_version} BuildRequires: ORBit2-devel >= %{orbit2_version} BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: dbus-glib-devel >= %{dbus_glib_version} BuildRequires: gtk3-devel BuildRequires: openldap-devel BuildRequires: gtk-doc >= 0.9 BuildRequires: polkit-devel >= 0.99 BuildRequires: gobject-introspection-devel Requires: dbus Obsoletes: %{name}-gtk < 3.2.6 Provides: %{name}-gtk = %{version} Patch0: GConf-2.18.0.1-reload.patch # http://bugzilla.gnome.org/show_bug.cgi?id=568845 Patch1: GConf-gettext.patch Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description GConf is a process-transparent configuration database API used to store user preferences. It has pluggable backends and features to support workgroup administration. %description -l ja GConf は、ユーザの設定を保存するためのプロセス透過型の設定データ ベースの API です。バックエンドに接続しワークグループ管理をサポー トする機能を持っています。 %package devel Summary: Headers and libraries for GConf development Summary(ja): GConf を使って開発するためのヘッダーファイルとライブラリ Group: Development/Libraries Requires: %{name} = %{version} Requires: ORBit2-devel >= %{orbit2_version} Requires: glib2-devel >= %{glib2_version} %description devel GConf development package. Contains files needed for doing development using GConf. %description -l ja devel GConf 開発パッケージです。GConf を使って開発するために必要なファ イルが含まれています。 %if %{build_compat32} ####################################################################### # compat32 %package -n compat32-%{name} Summary: A process-transparent configuration system Summary(ja): プロセス透過型設定システム Group: System Environment/Base Requires: compat32-glib2 >= %{glib2_version} %description -n compat32-%{name} GConf is a process-transparent configuration database API used to store user preferences. It has pluggable backends and features to support workgroup administration. %description -l ja -n compat32-%{name} GConf は、ユーザの設定を保存するためのプロセス透過型の設定データ ベースの API です。バックエンドに接続しワークグループ管理をサポー トする機能を持っています。 %package -n compat32-%{name}-devel Summary: Headers and libraries for GConf development Summary(ja): GConf を使って開発するためのヘッダーファイルとライブラリ Group: Development/Libraries Requires: compat32-%{name} = %{version} Requires: %{name} = %{version} Requires: compat32-glib2 >= %{glib2_version} %description -n compat32-%{name}-devel GConf development package. Contains files needed for doing development using GConf. %description -l ja -n compat32-%{name}-devel GConf 開発パッケージです。GConf を使って開発するために必要なファ イルが含まれています。 %endif %prep %setup -q -n GConf-%{version} %patch0 -p1 -b .reload %patch1 -p1 -b .gettext %build %configure --disable-gtk-doc --disable-static --enable-defaults-service --with-gtk=3.0 %__make %{?_smp_mflags} %install rm -fr $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.system rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/GConf/2/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/gio/modules/*.la %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig if [ $1 -gt 1 ]; then if ! fgrep -q gconf.xml.system %{_sysconfdir}/gconf/2/path; then 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 fi fi %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) %doc COPYING ChangeLog NEWS README backends/README.evoldap %config %{_sysconfdir}/gconf/2/path %config %{_sysconfdir}/gconf/2/evoldap.conf %dir %{_sysconfdir}/gconf %dir %{_sysconfdir}/gconf/2 %dir %{_sysconfdir}/gconf/gconf.xml.defaults %dir %{_sysconfdir}/gconf/gconf.xml.mandatory %dir %{_sysconfdir}/gconf/gconf.xml.system %dir %{_sysconfdir}/gconf/schemas %{_bindir}/* %{_libexecdir}/* %{_libdir}/*.so.* %dir %{_libdir}/GConf %dir %{_libdir}/GConf/2 %{_libdir}/GConf/2/*.so %{_libdir}/girepository-1.0 %{_mandir}/man1/* %{_datadir}/sgml/gconf/gconf-1.0.dtd %{_datadir}/GConf %{_sysconfdir}/dbus-1/system.d/org.gnome.GConf.Defaults.conf %{_datadir}/polkit-1/actions/org.gnome.gconf.defaults.policy %{_datadir}/dbus-1/system-services/org.gnome.GConf.Defaults.service %{_datadir}/dbus-1/services/org.gnome.GConf.service %{_sysconfdir}/xdg/autostart/gsettings-data-convert.desktop %{_libdir}/gio/modules/libgsettingsgconfbackend.so %files devel %defattr(-, root, root) %{_libdir}/*.so %{_includedir}/gconf %{_datadir}/aclocal/*.m4 %{_datadir}/gtk-doc %{_datadir}/gir-1.0 %{_libdir}/pkgconfig/* %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root,-) %{_libdir}/*.so.* %dir %{_libdir}/GConf %dir %{_libdir}/GConf/2 %{_libdir}/GConf/2/*.so %{_libdir}/girepository-1.0 %{_libdir}/gio/modules/libgsettingsgconfbackend.so %files -n compat32-%{name}-devel %defattr(-, root, root) %{_libdir}/*.so %endif %changelog * Mon Dec 30 2013 Yoji TOYODA 3.2.6-2 - rebuild with VineSeed environment * Wed Apr 17 2013 Yoji TOYODA 3.2.6-1 - update to 3.2.6 - remove %%{name}-gtk subpackage * Sat Mar 31 2012 Yoji TOYODA 3.2.5-1 - remove *.pc from compat32-%{name}-devel * Sat Mar 31 2012 Yoji TOYODA 3.2.5-1 - new upstream release * Wed Nov 16 2011 Yoji TOYODA 3.2.3-1 - new upstream release * Thu Nov 03 2011 Yoji TOYODA 3.2.2-1 - new upstream release * Wed Sep 28 2011 Yoji TOYODA 3.2.0-1 - new upstream release * Fri Sep 23 2011 Yoji TOYODA 3.1.92-1 - new upstream release * Sat Sep 03 2011 Yoji TOYODA 3.1.90-1 - new upstream release * Sun Aug 21 2011 Yoji TOYODA 3.1.6-1 - new upstream release - remove Patch2 * Sun Aug 14 2011 Yoji TOYODA 3.1.4-1 - new upstream release - change configure option (from --with-gtk=2.0 to --with-gtk=3.0) - replace Patch2 (GConf2-3.1.4-gsettings-data-convert.patch) - delete Patch3,4 * Thu Mar 10 2011 Daisuke SUZUKI 2.32.1-2 - add gtk subpackage to include gconf-sanity-check-2 - add --with-gtk=2.0 * Sat Feb 26 2011 Yoji TOYODA 2.32.1-1 - new upstream release * Sat Oct 02 2010 Yoji TOYODA 2.32.0-1 - new upstream release - add BuildRequires: gobject-introspection-devel - create compat32-%{name} package * Tue Sep 21 2010 IWAI, Masaharu 2.28.1-2 - build with rpm-4.8.1-1 for pkg-config file * Sun Apr 11 2010 Yoji TOYODA 2.28.1-1 - new upstream release - drop Patch2, Patch3, Patch4 * Mon Feb 22 2010 Daisuke SUZUKI 2.28.0-2 - import upstream patches from fedora - Patch1: gettext fix - Patch2: avoid crash wen gconftool-2 cant read the db - Patch3: make the defaults mechanism use the right polkit actions - Patch4: donot catch segv etc. let abrt catch them - build with polkit, add BR: polkit-devel * Sat Sep 26 2009 Daisuke SUZUKI 2.28.0-1 - new upstream release * Fri May 29 2009 Daisuke SUZUKI 2.26.2-2 - add BR: dbus-devel, dbus-glib-devel () * Thu May 28 2009 Daisuke SUZUKI 2.26.2-1 - new upstream release * Wed May 13 2009 Daisuke SUZUKI 2.26.0-3 - drop obsolete patch1 * Sun Mar 22 2009 NAKAMURA Kenta 2.26.0-2 - rebuilt with openldap-2.4.11 * Thu Mar 19 2009 Daisuke SUZUKI 2.26.0-1 - new upstream release * Tue Sep 23 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Tue Sep 23 2008 Daisuke SUZUKI 2.23.2-1 - new upstream release * Tue Jul 29 2008 MATSUBAYASHI Kohji - 2.22.0-2 - spec in UTF-8 * Thu Mar 20 2008 Ryoichi INAGAKI 2.22.0-1vl5 - new upstream release * Sat Nov 17 2007 Ryoichi INAGAKI 2.20.1-0vl1 - new upstream release - removed Prereq: install-info * Sun May 20 2007 Daisuke SUZUKI 2.18.0.1-0vl2 - rebuild with new environment * Wed Apr 25 2007 Daisuke SUZUKI 2.18.0.1-0vl1 - new upstream release * Mon Sep 18 2006 KAZUKI SHIMURA 2.14.0-0vl5 - add BuildRequires: gtk2-devel * Sun Aug 27 2006 NAKAMURA Kenta 2.14.0-0vl4 - rebuilt with openldap-2.3.27-0vl1 * Sun Jul 02 2006 Satoshi MACHINO 2.14.0-0vl3 - rebuilt with openldap-2.3.24-0vl1 * Tue May 30 2006 Daisuke SUZUKI 2.14.0-0vl2 - add BuildRequires: openldap-devel * Sun Mar 19 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Tue Mar 14 2006 Daisuke SUZUKI 2.13.5-0vl2 - reload gconf2 when schema is added/removed (patch0 from mdk) - only sync db once when installing multiple schemas. (patch1 from fc) * Sun Mar 05 2006 Daisuke SUZUKI 2.13.5-0vl1 - new upstream release * Wed Jan 25 2006 Ryoichi INAGAKI 2.12.1-0vl1 - new upstream release * Sun Sep 18 2005 Daisuke SUZUKI 2.12.0-0vl1 - new upstream release * Wed Aug 24 2005 Daisuke SUZUKI 2.11.92-0vl1 - new upstream release * Tue Aug 02 2005 Daisuke SUZUKI 2.11.90-0vl1 - new upstream release * Mon Mar 21 2005 Daisuke SUZUKI 2.10.0-0vl1 - new upstream version * Thu Nov 11 2004 Daisuke SUZUKI 2.8.1-0vl2 - add Japanese summaries and descriptions. thanks to spec file translation project. * Sun Nov 07 2004 Daisuke SUZUKI 2.8.1-0vl1 - new upstream release * Thu Sep 11 2003 Daisuke SUZUKI 2.4.0.1-0vl1 - new upstream release * Wed Sep 10 2003 Daisuke SUZUKI 2.4.0-0vl1 - new upstream release * Tue Sep 02 2003 Daisuke SUZUKI 2.3.3-0vl1 - new upstream release * Tue Jun 24 2003 Daisuke SUZUKI 2.2.1-0vl1 - new upstream release - fix specfile kanjicode * Tue Jan 21 2003 Daisuke SUZUKI 2.2.0-0vl1 - new upstream release * Thu Jan 16 2003 Daisuke SUZUKI 2.1.90-0vl1 - new upstream release * Sat Dec 14 2002 Daisuke SUZUKI 1.2.1-0vl1 - build for Vine Linux * Fri Aug 30 2002 Havoc Pennington - add GCONF_LOCAL_LOCKS mode, and syslog encoding patch from tagoh * Wed Aug 21 2002 Havoc Pennington - add dialog to offer to delete gconf locks * Tue Aug 6 2002 Havoc Pennington - 1.2.1 - include libexecdir stuff * Wed Jul 31 2002 Havoc Pennington - move .pc fle to -devel package * Fri Jun 21 2002 Tim Powers - automated rebuild * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun Jun 16 2002 Havoc Pennington - fix warning on gnome-panel install * Sun Jun 16 2002 Havoc Pennington - 1.2.0 - own libdir/GConf/2 directory - include gtk-doc docs - don't include static lib for backend modules * Thu Jun 06 2002 Havoc Pennington - rebuild in different environment * Tue Jun 4 2002 Havoc Pennington - 1.1.11 - remove AUTHORS for rpmlint * Sun May 26 2002 Tim Powers - automated rebuild * Mon May 20 2002 Havoc Pennington - rebuild in different environment * Fri May 17 2002 Havoc Pennington - rebuild in different environment * Thu May 2 2002 Havoc Pennington - 1.1.10 * Thu Apr 4 2002 Jeremy Katz - 1.1.9 * Thu Feb 14 2002 Havoc Pennington - 1.1.8 - remove .la files * Wed Jan 30 2002 Owen Taylor - Version 1.1.6 - Rebuild for dependencies * Wed Jan 09 2002 Tim Powers - automated rebuild * Fri Jan 4 2002 Havoc Pennington - 1.1.5.93 snap with important bugfix so gconf actually works * Thu Jan 3 2002 Havoc Pennington - 1.1.5.92 snap with GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL * Thu Jan 3 2002 Havoc Pennington - 1.1.5.91 snap with gconf.m4 fix for libgnome * Wed Jan 2 2002 Havoc Pennington - since every other build seems to avoid libglib-1.3.so.11, rebuild and hope * Wed Jan 2 2002 Havoc Pennington - cvs snap 1.1.5.90 * Mon Nov 26 2001 Havoc Pennington - GConf 1.1.5, glib 1.3.11 * Sat Oct 27 2001 Havoc Pennington - rebuild for glib 1.3.10 * Sun Oct 14 2001 Havoc Pennington - 1.1.3 * Fri Oct 5 2001 Havoc Pennington - cvs snap, remove bonobo-activation deps * Fri Sep 21 2001 Havoc Pennington - update to new CVS snap, rebuild * Mon Sep 17 2001 Havoc Pennington - create gconf2 rpm based on gconf1, comment out pofiles - include .pc files * Fri Sep 14 2001 Havoc Pennington - fix description/summary * Fri Aug 31 2001 Havoc Pennington - Add po files from sources.redhat.com * Mon Aug 27 2001 Havoc Pennington - Add po files from sources.redhat.com * Wed Aug 15 2001 Havoc Pennington - upgrade to 1.0.4 release I just made - fixes #51223, syslog spew * Tue Jul 24 2001 Havoc Pennington - move gconf-config to devel RPM * Mon Jul 23 2001 Havoc Pennington - how many releases of GConf can I make before it works? * Sun Jul 22 2001 Havoc Pennington - Upgrade to 1.0.2 (which contains only bugfixes that I reviewed and/or wrote myself) * Wed Jul 18 2001 Havoc Pennington - create the %{_sysconfdir}/gconf/gconf.xml.defaults directory * Fri Jul 6 2001 Alexander Larsson - Install the .la files in the devel package. * Fri Jul 6 2001 Trond Eivind Glomsr藷? - Use %%{_tmppath} - Move the .so files to the devel subpackage - langify - Move changelog to the end, where it should be :) - Don't specify (a bad) doc directory - Don't define name, version and release and use it in the rpm headers later - Remove "Packager:" - s/Copyright/License/ * Fri Jun 22 2001 Havoc Pennington - add --direct option to gconftool to avoid spawning oafd, then commented out gconftool entirely since it checks whether gconfd is running and that spawns oafd anyhow. oafd simply needs to exit when unused. * Tue May 15 2001 Havoc Pennington - Fix post, pointed out by Bill * Mon May 14 2001 Havoc Pennington - Upgrade to 1.0.1 * Tue Apr 17 2001 Jonathan Blandford - Import to Red Hat build system. * Sun Jun 11 2000 Eskil Heyn Olsen - Created the .spec file