%define majver %(echo %version | cut -d. -f1-2) Name: gsettings-desktop-schemas Version: 3.10.1 Release: 1mamba Summary: A collection of GSettings schemas for settings shared by various components of a desktop Group: Graphical Desktop/Applications/Configuration Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: ftp://ftp.gnome.org/pub/gnome/sources/gsettings-desktop-schemas/%{majver}/gsettings-desktop-schemas-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires(post):%{_bindir}/glib-compile-schemas BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A collection of GSettings schemas for settings shared by various components of a desktop. %package devel Group: Development/Libraries Summary: Development headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A collection of GSettings schemas for settings shared by various components of a desktop. This package contains header files needed for development. %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -ge 1 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %postun if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %files -f %{name}.lang %defattr(-,root,root) %{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert %{_datadir}/GConf/gsettings/wm-schemas.convert %{_datadir}/glib-2.0/schemas/org.gnome.*.xml %{_libdir}/girepository-1.0/GDesktopEnums-3.0.typelib %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/gsettings-desktop-schemas/gdesktop-enums.h %{_datadir}/gir-1.0/GDesktopEnums-3.0.gir %{_datadir}/pkgconfig/gsettings-desktop-schemas.pc %doc ChangeLog NEWS README %changelog * Mon Oct 28 2013 Automatic Build System 3.10.1-1mamba - automatic version update by autodist * Tue May 14 2013 Automatic Build System 3.8.2-1mamba - automatic version update by autodist * Wed Mar 27 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Tue Nov 13 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Wed Sep 26 2012 Automatic Build System 3.6.0-1mamba - automatic version update by autodist * Sun Sep 16 2012 Silvan Calarco 3.4.2-2mamba - .typelib file moved from -devel to main package * Tue May 15 2012 Automatic Build System 3.4.2-1mamba - automatic version update by autodist * Mon Apr 23 2012 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Sat Oct 01 2011 Automatic Build System 3.2.0-1mamba - update to 3.2.0 * Sat Jul 23 2011 Silvan Calarco 3.0.1-2mamba - run glib-compile-schemas in post scripts * Fri Jul 22 2011 Silvan Calarco 3.0.1-1mamba - package created by autospec