update to 0.27.1

move dbus service from lib to main package to fix multilib libdconf installations [release 0.27.1-1mamba;Sun Dec 10 2017]
This commit is contained in:
Silvan Calarco 2024-01-05 21:40:59 +01:00
parent 2afac2c810
commit e3c2c17c51

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: dconf
Version: 0.26.1
Version: 0.27.1
Release: 1mamba
Summary: A low-level configuration system
Group: System/Management
@ -12,20 +12,11 @@ Source: ftp://ftp.gnome.org/pub/gnome/sources/dconf/%{majver}/dconf-%{ver
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
Requires: libdconf = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: meson
BuildRequires: ninja
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -70,12 +61,26 @@ This package includes the %{name} API documentation.
%setup -q
%build
%configure --enable-gtk-doc
%make
meson build \
--build=release \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--sysconfdir=%{_sysconfdir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--localstatedir=%{_localstatedir} \
--mandir=%{_mandir} \
--infodir=%{_datadir}/info \
-Denable-gtk-doc=true
ninja %{_smp_mflags} -C build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
DESTDIR=%{buildroot} ninja install -C build
#% find_lang %{name}
@ -98,6 +103,7 @@ fi
%defattr(-,root,root)
%{_datadir}/bash-completion/completions/dconf
%{_bindir}/dconf
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
%{_mandir}/man1/dconf.1*
%{_mandir}/man7/dconf.7*
@ -116,11 +122,8 @@ fi
#-f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libdconf.so.*
#%{_libdir}/libdconf-dbus-1.so.*
%{_libdir}/gio/modules/libdconfsettings.so
%{_libexecdir}/dconf-service
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
#%{_datadir}/dbus-1/system-services/ca.desrt.dconf.service
%{_mandir}/man1/dconf-service.1*
%doc COPYING
@ -142,6 +145,10 @@ fi
%{_datadir}/gtk-doc/html/%{name}/*
%changelog
* Sun Dec 10 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27.1-1mamba
- update to 0.27.1
- move dbus service from lib to main package to fix multilib libdconf installations
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 0.26.1-1mamba
- automatic version update by autodist