source renamed from GConf to gconf

update to 3.2.6+20151014git.07808097
specfile fixes [release 3.2.6+20151014git.07808097-1mamba;Sat Jun 22 2024]
This commit is contained in:
Silvan Calarco 2024-06-23 14:01:19 +02:00
parent 3abb62c0ec
commit 6766d2081e
2 changed files with 50 additions and 38 deletions

View File

@ -1,4 +1,4 @@
# GConf # gconf
The GConf package contains a configuration database system. The GConf package contains a configuration database system.

View File

@ -1,44 +1,36 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
Name: GConf %define git_commit %(echo %version | cut -d+ -f2 | cut -d. -f2)
Version: 3.2.6 Name: gconf
Release: 4mamba Version: 3.2.6+20151014git.07808097
Release: 1mamba
Summary: The GConf package contains a configuration database system Summary: The GConf package contains a configuration database system
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org URL: https://www.gnome.org/
# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname} Source: https://gitlab.gnome.org/Archive/gconf.git/master@%{git_commit}/gconf-%{version}.tar.bz2
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{majver}/%{name}-%{version}.tar.xz
Patch0: GConf-3.2.6-xml-gettext-domain.patch Patch0: GConf-3.2.6-xml-gettext-domain.patch
Patch1: GConf-3.2.6-reload.patch Patch1: GConf-3.2.6-reload.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libORBit2-devel BuildRequires: libORBit2-devel
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel BuildRequires: libdbus-glib-devel
BuildRequires: libe2fs-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libkrb5-devel
BuildRequires: liblzma-devel
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpolkit-devel BuildRequires: libpolkit-devel
BuildRequires: libsasl2-devel
BuildRequires: libsystemd-devel BuildRequires: libsystemd-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: ORBit2 BuildRequires: ORBit2
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: ORBit2 Requires: ORBit2
Obsoletes: gconf Provides: GConf
Provides: gconf = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: GConf <= 3.2.6-4mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The GConf package contains a configuration database system. The GConf package contains a configuration database system.
@ -46,6 +38,8 @@ The GConf package contains a configuration database system.
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared libraries for %{name} Summary: Shared libraries for %{name}
Provides: libGConf
Obsoletes: libGConf <= 3.2.6-4mamba
%description -n lib%{name} %description -n lib%{name}
The GConf package contains a configuration database system. The GConf package contains a configuration database system.
@ -58,14 +52,16 @@ Requires: libxml2-devel
Requires: ORBit2-devel Requires: ORBit2-devel
Requires: libglib-devel Requires: libglib-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: gconf-devel Provides: gconf-devel
Provides: gconf-devel = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: gconf-devel <= 3.2.6-4mamba
Provides: GConf-devel Provides: GConf-devel
Obsoletes: GConf-devel Obsoletes: GConf-devel <= 3.2.6-4mamba
Provides: libGConf-devel
Obsoletes: libGConf-devel <= 3.2.6-4mamba
%description -n lib%{name}-devel %description -n lib%{name}-devel
The GConf package contains a configuration database system. The GConf package contains a configuration database system.
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%package apidocs %package apidocs
Summary: %{pkgname} API documentation Summary: %{pkgname} API documentation
@ -79,18 +75,29 @@ Requires: gtk-doc
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch 0 -p1
%patch1 -p1 %patch 1 -p1
# From Arch:
# The following line copied from Fedora
# https://src.fedoraproject.org/rpms/GConf2/blob/70ed26d67b563d858a84505622d11f41879a6b37/f/GConf2.spec#_90
2to3 --write --nobackup gsettings/gsettings-schema-convert
sed -i '1s|#!/usr/bin/env python$|#!/usr/bin/python|' gsettings/gsettings-schema-convert
NOCONFIGURE=1 ./autogen.sh
%build %build
%configure \ %configure \
--libexecdir=%{_sbindir} \ --libexecdir=%{_bindir} \
--sysconfdir=%{_sysconfdir} \ --sysconfdir=%{_sysconfdir} \
--with-gtk=2.0 --enable-defaults-service
# --enable-gtk-doc \ # --enable-gtk-doc
%make -j1 %make
%check
%make -j1 check %make -j1 check
%install %install
@ -147,7 +154,8 @@ exit 0
%{_bindir}/gconftool* %{_bindir}/gconftool*
%{_bindir}/gconf-merge-tree %{_bindir}/gconf-merge-tree
%{_bindir}/gsettings-* %{_bindir}/gsettings-*
%{_sbindir}/* %{_bindir}/gconf-defaults-mechanism
%{_bindir}/gconfd-2
%{_datadir}/GConf/schema/evoldap.schema %{_datadir}/GConf/schema/evoldap.schema
%{_datadir}/polkit-1/actions/org.gnome.gconf.defaults.policy %{_datadir}/polkit-1/actions/org.gnome.gconf.defaults.policy
%{_datadir}/dbus-1/services/org.gnome.GConf.service %{_datadir}/dbus-1/services/org.gnome.GConf.service
@ -157,32 +165,36 @@ exit 0
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libgconf-2.so.*
%{_libdir}/GConf/2/libgconfbackend-evoldap.a %{_libdir}/GConf/2/libgconfbackend-evoldap.a
%{_libdir}/GConf/2/libgconfbackend-evoldap.so %{_libdir}/GConf/2/libgconfbackend-evoldap.so
%{_libdir}/GConf/2/libgconfbackend-oldxml.a %{_libdir}/GConf/2/libgconfbackend-oldxml.a
%{_libdir}/GConf/2/libgconfbackend-oldxml.so %{_libdir}/GConf/2/libgconfbackend-oldxml.so
%{_libdir}/GConf/2/libgconfbackend-xml.a %{_libdir}/GConf/2/libgconfbackend-xml.a
%{_libdir}/GConf/2/libgconfbackend-xml.so %{_libdir}/GConf/2/libgconfbackend-xml.so
%{_libdir}/gio/modules/libgsettingsgconfbackend.*
%{_libdir}/girepository-1.0/GConf-2.0.typelib %{_libdir}/girepository-1.0/GConf-2.0.typelib
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/aclocal/* %dir %{_includedir}/gconf
%{_includedir}/gconf/* %{_includedir}/gconf/*
%{_libdir}/*.la %{_libdir}/libgconf-2.a
%{_libdir}/*.a %{_libdir}/libgconf-2.so
%{_libdir}/*.so
%{_libdir}/GConf/2/*.la
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_libdir}/gio/modules/libgsettingsgconfbackend.* %{_datadir}/aclocal/*
%{_datadir}/gir-1.0/GConf-2.0.gir %{_datadir}/gir-1.0/GConf-2.0.gir
%files apidocs #%files apidocs
%defattr(-,root,root) #%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gconf/* #%{_datadir}/gtk-doc/html/gconf/*
%changelog %changelog
* Sat Jun 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6+20151014git.07808097-1mamba
- source renamed from GConf to gconf
- update to 3.2.6+20151014git.07808097
- specfile fixes
* Tue Dec 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6-4mamba * Tue Dec 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6-4mamba
- rebuilt with debug package and patch from Fedora to reload after installing schemas - rebuilt with debug package and patch from Fedora to reload after installing schemas