From e3f40daa9764906d1e8e738bd559ece9a3e0a814 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:29:19 +0100 Subject: [PATCH] automatic version update by autodist [release 3.10.1-1mamba;Mon Oct 28 2013] --- README.md | 2 + gsettings-desktop-schemas.spec | 105 +++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 gsettings-desktop-schemas.spec diff --git a/README.md b/README.md index 15bf9fa..93f6a4d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gsettings-desktop-schemas +A collection of GSettings schemas for settings shared by various components of a desktop. + diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec new file mode 100644 index 0000000..7f1598e --- /dev/null +++ b/gsettings-desktop-schemas.spec @@ -0,0 +1,105 @@ +%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