202 lines
6.5 KiB
RPMSpec
202 lines
6.5 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: dconf
|
|
Version: 0.30.0
|
|
Release: 2mamba
|
|
Summary: A low-level configuration system
|
|
Group: System/Management
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://live.gnome.org/dconf
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/dconf/%{majver}/dconf-%{version}.tar.xz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: libdconf = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRequires: meson
|
|
BuildRequires: ninja
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
dconf is a low-level configuration system. Its main purpose is to provide a backend to GSettings on platforms that don't already have configuration storage systems.
|
|
|
|
%package editor
|
|
Summary: A low-level configuration library
|
|
Group: Graphical Desktop/Applications/Configuration
|
|
Requires: dconf = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description editor
|
|
dconf is a low-level configuration system. Its main purpose is to provide a backend to GSettings on platforms that don't already have configuration storage systems.
|
|
|
|
%package -n libdconf
|
|
Summary: A low-level configuration library
|
|
Group: System/Libraries
|
|
Requires: at-spi2-core
|
|
|
|
%description -n libdconf
|
|
dconf is a low-level configuration system. Its main purpose is to provide a backend to GSettings on platforms that don't already have configuration storage systems.
|
|
|
|
%package -n libdconf-devel
|
|
Summary: Development files for libdconf
|
|
Group: Development/Libraries
|
|
Requires: libdconf = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libdconf-devel
|
|
dconf is a low-level configuration system. Its main purpose is to provide a backend to GSettings on platforms that don't already have configuration storage systems.
|
|
|
|
This package includes the files needed for development.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson \
|
|
-Dgtk_doc=true
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
#% find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n libdconf
|
|
if [ $1 -ge 1 ]; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
fi
|
|
:
|
|
|
|
%postun -n libdconf
|
|
if [ $1 -eq 0 ]; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
fi
|
|
:
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/bash-completion/completions/dconf
|
|
%{_bindir}/dconf
|
|
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
|
|
%{_mandir}/man1/dconf.1*
|
|
%{_mandir}/man1/dconf-service.1*
|
|
%{_mandir}/man7/dconf.7*
|
|
|
|
#%files editor
|
|
#%defattr(-,root,root)
|
|
#%{_bindir}/dconf-editor
|
|
#%{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml
|
|
#%{_datadir}/applications/ca.desrt.dconf-editor.desktop
|
|
#%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
|
|
#%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
|
#%{_datadir}/icons/HighContrast/*/apps/dconf-editor.png
|
|
#%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
|
|
#%{_mandir}/man1/dconf-editor.1*
|
|
|
|
%files -n libdconf
|
|
#-f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libdconf.so.*
|
|
%{_libdir}/gio/modules/libdconfsettings.so
|
|
%{_libexecdir}/dconf-service
|
|
%doc COPYING
|
|
|
|
%files -n libdconf-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/dconf
|
|
%{_includedir}/dconf/*
|
|
#%{_includedir}/dconf-dbus-1/dconf-dbus-1.h
|
|
%{_libdir}/libdconf.so
|
|
#%{_libdir}/libdconf-dbus-1.so
|
|
%{_libdir}/pkgconfig/dconf*.pc
|
|
%{_datadir}/vala/vapi/dconf.deps
|
|
%{_datadir}/vala/vapi/dconf.vapi
|
|
%doc NEWS
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/%{name}
|
|
%{_datadir}/gtk-doc/html/%{name}/*
|
|
|
|
%changelog
|
|
* Thu Sep 27 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30.0-2mamba
|
|
- move bi-arch conflicting man page from libdconf to dconf package
|
|
|
|
* Sat Sep 22 2018 Automatic Build System <autodist@mambasoft.it> 0.30.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 25 2018 Automatic Build System <autodist@mambasoft.it> 0.28.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 0.26.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 0.24.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jul 27 2014 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon May 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.0-2mamba
|
|
- libdconf: require at-spi2-core
|
|
|
|
* Tue Apr 01 2014 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 17 2013 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 01 2012 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
- update to 0.12.0
|
|
|
|
* Mon Nov 14 2011 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 28 2011 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
|
|
- update to 0.8.0
|
|
|
|
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-1mamba
|
|
- package created by autospec
|