Group :: Graphical desktop/GNOME
RPM: GConf
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: GConf
Version: 1.0.9
Release: alt7.1
%define major 1
%def_disable static
%def_disable debug
Summary: GConf is a configuration database system
License: GPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org/pub/GNOME/sources/GConf/1.0
Packager: Alexey Tourbin <at at altlinux.ru>
Source: %url/%name-%version.tar.bz2
# (fc) 1.0.9-2mdk backport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL env variable handle from HEAD
Patch0: %name-1.0.9-mdk-disablemakefile.patch
# (fc) 1.0.9-4mdk don't add -L/usr/lib to ldflags
Patch1: %name-1.0.9-mdk-libdir.patch
# (fc) 1.0.9-5mdk default timeout to 2min instead of 15min (CVS)
Patch2: %name-1.0.9-mdk-exit-timeout.patch
# (fc) 1.0.9-5mdk enhance error message (Rawhide)
Patch3: %name-1.0.9-mdk-errormessage.patch
# (fc) 1.0.9-5mdk use new location of gconfd-2 (CVS)
#atch4: %name-1.0.9-mdk-libexecdir.patch
# (fc) 1.0.9-6mdk use local local if available (backport from GConf 2.3 branch) (Mdk bug 3762)
Patch5: %name-1.0.9-mdk-locallock.patch
# (fc) 1.0.9-6mdk don't build db3 backend (nobody uses it)
Patch6: %name-1.0.9-mdk-nodb3.patch
# (fc) 1.0.9-9mdk fix schema
Patch7: %name-1.0.9-mdk-fixschema.patch
PreReq: oaf >= 0.6.6, lib%name = %version-%release
Provides: GConf1 = %version-%release
# Automatically added by buildreq on Fri Feb 20 2004
BuildRequires: ORBit-devel XFree86-devel gcc-c++ glib-devel gtk+-devel guile16-devel libpopt-devel libxml-devel oaf-devel zlib-devel
%description
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
%package -n lib%name
Summary: GConf is a configuration database system
Group: Graphical desktop/GNOME
Obsoletes: libGConf1
%description -n lib%name
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
%package -n lib%name-devel
Summary: Development libraries and headers for GConf
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: guile16-devel
Provides: %name-devel = %version
Obsoletes: %name-devel, libGConf1-devel
%description -n lib%name-devel
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
This package contains the header files and libraries needed to develop
applications using GConf.
%package -n lib%name-devel-static
Summary: Static lib%name libraries
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static
%description -n lib%name-devel-static
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
This package contains the static libraries needed to develop
applications using GConf.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%__bzip2 -9f ChangeLog
%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure %{subst_enable static} %{subst_enable debug}
# SMP-incompatible.
%make
%install
%makeinstall
%find_lang %name
%post
GCONF_CONFIG_SOURCE="xml::%_sysconfdir/gconf/gconf.xml.defaults" \
%_bindir/gconftool --makefile-install-rule %_sysconfdir/gconf/schemas/desktop.schemas >/dev/null 2>&1 && \
chmod -R a+rX %_sysconfdir/gconf/gconf.xml.defaults ||:
[ -z "$DURING_INSTALL" ] || %_bindir/oaf-slay -s ||:
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog.bz2 NEWS README TODO
%config(noreplace) %_sysconfdir/gconf
%_libdir/GConf/%major/*.so
%_bindir/gconfd-%major
%_bindir/gconftool
%_bindir/gconftool-%major
%_bindir/gconf-sanity-check-1
#_datadir/oaf/*
%_datadir/gconf
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
#_libdir/*.la
#_libdir/GConf/%majorrelease/*.la
%_bindir/gconf-config
%_bindir/gconf-config-%major
%_datadir/aclocal/*
%_includedir/gconf
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/GConf/%majorrelease/*.a
%endif
%changelog
…
Full changelog you can see here
Version: 1.0.9
Release: alt7.1
%define major 1
%def_disable static
%def_disable debug
Summary: GConf is a configuration database system
License: GPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org/pub/GNOME/sources/GConf/1.0
Packager: Alexey Tourbin <at at altlinux.ru>
Source: %url/%name-%version.tar.bz2
# (fc) 1.0.9-2mdk backport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL env variable handle from HEAD
Patch0: %name-1.0.9-mdk-disablemakefile.patch
# (fc) 1.0.9-4mdk don't add -L/usr/lib to ldflags
Patch1: %name-1.0.9-mdk-libdir.patch
# (fc) 1.0.9-5mdk default timeout to 2min instead of 15min (CVS)
Patch2: %name-1.0.9-mdk-exit-timeout.patch
# (fc) 1.0.9-5mdk enhance error message (Rawhide)
Patch3: %name-1.0.9-mdk-errormessage.patch
# (fc) 1.0.9-5mdk use new location of gconfd-2 (CVS)
#atch4: %name-1.0.9-mdk-libexecdir.patch
# (fc) 1.0.9-6mdk use local local if available (backport from GConf 2.3 branch) (Mdk bug 3762)
Patch5: %name-1.0.9-mdk-locallock.patch
# (fc) 1.0.9-6mdk don't build db3 backend (nobody uses it)
Patch6: %name-1.0.9-mdk-nodb3.patch
# (fc) 1.0.9-9mdk fix schema
Patch7: %name-1.0.9-mdk-fixschema.patch
PreReq: oaf >= 0.6.6, lib%name = %version-%release
Provides: GConf1 = %version-%release
# Automatically added by buildreq on Fri Feb 20 2004
BuildRequires: ORBit-devel XFree86-devel gcc-c++ glib-devel gtk+-devel guile16-devel libpopt-devel libxml-devel oaf-devel zlib-devel
%description
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
%package -n lib%name
Summary: GConf is a configuration database system
Group: Graphical desktop/GNOME
Obsoletes: libGConf1
%description -n lib%name
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
%package -n lib%name-devel
Summary: Development libraries and headers for GConf
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: guile16-devel
Provides: %name-devel = %version
Obsoletes: %name-devel, libGConf1-devel
%description -n lib%name-devel
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
This package contains the header files and libraries needed to develop
applications using GConf.
%package -n lib%name-devel-static
Summary: Static lib%name libraries
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static
%description -n lib%name-devel-static
GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to
support workgroup administration.
This package contains the static libraries needed to develop
applications using GConf.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%__bzip2 -9f ChangeLog
%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure %{subst_enable static} %{subst_enable debug}
# SMP-incompatible.
%make
%install
%makeinstall
%find_lang %name
%post
GCONF_CONFIG_SOURCE="xml::%_sysconfdir/gconf/gconf.xml.defaults" \
%_bindir/gconftool --makefile-install-rule %_sysconfdir/gconf/schemas/desktop.schemas >/dev/null 2>&1 && \
chmod -R a+rX %_sysconfdir/gconf/gconf.xml.defaults ||:
[ -z "$DURING_INSTALL" ] || %_bindir/oaf-slay -s ||:
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog.bz2 NEWS README TODO
%config(noreplace) %_sysconfdir/gconf
%_libdir/GConf/%major/*.so
%_bindir/gconfd-%major
%_bindir/gconftool
%_bindir/gconftool-%major
%_bindir/gconf-sanity-check-1
#_datadir/oaf/*
%_datadir/gconf
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
#_libdir/*.la
#_libdir/GConf/%majorrelease/*.la
%_bindir/gconf-config
%_bindir/gconf-config-%major
%_datadir/aclocal/*
%_includedir/gconf
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/GConf/%majorrelease/*.a
%endif
%changelog
…
Full changelog you can see here