2011-11-23 18:39:31 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
2021-02-17 21:50:33 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
2010-08-03 11:27:24 +00:00
|
|
|
Name: gsettings-desktop-schemas
|
2023-02-15 21:40:53 +00:00
|
|
|
Version: 44~beta
|
2022-07-25 12:56:39 +00:00
|
|
|
Release: %autorelease
|
2010-08-03 11:27:24 +00:00
|
|
|
Summary: A collection of GSettings schemas
|
|
|
|
|
2023-02-15 21:40:53 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2010-08-03 11:27:24 +00:00
|
|
|
# no homepage exists for this component
|
2019-07-18 17:43:38 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
|
2023-02-15 21:40:53 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{tarball_version}.tar.xz
|
2020-12-03 16:55:59 +00:00
|
|
|
|
2019-01-15 07:57:54 +00:00
|
|
|
BuildRequires: gettext
|
2019-01-09 18:45:38 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.31.0
|
|
|
|
BuildRequires: gobject-introspection-devel
|
2019-01-15 07:57:54 +00:00
|
|
|
BuildRequires: meson
|
2010-08-03 11:27:24 +00:00
|
|
|
|
2011-11-23 18:39:31 +00:00
|
|
|
Requires: glib2 >= 2.31.0
|
2010-08-03 11:27:24 +00:00
|
|
|
|
2019-02-19 09:40:38 +00:00
|
|
|
# Recommend the default fonts set in the schemas
|
2019-02-25 08:44:31 +00:00
|
|
|
Recommends: font(cantarell)
|
|
|
|
Recommends: font(sourcecodepro)
|
2019-02-19 09:40:38 +00:00
|
|
|
|
2010-08-03 11:27:24 +00:00
|
|
|
%description
|
|
|
|
gsettings-desktop-schemas contains a collection of GSettings schemas for
|
|
|
|
settings shared by various components of a desktop.
|
|
|
|
|
2019-01-09 18:45:38 +00:00
|
|
|
|
2010-08-03 11:27:24 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2014-09-02 21:30:38 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
%description devel
|
2011-03-21 23:30:13 +00:00
|
|
|
The %{name}-devel package contains libraries
|
2010-08-03 11:27:24 +00:00
|
|
|
and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-02-17 21:50:33 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2015-12-15 16:45:45 +00:00
|
|
|
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-15 07:57:54 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-01-15 07:57:54 +00:00
|
|
|
%meson_install
|
2010-08-03 11:27:24 +00:00
|
|
|
|
2011-02-21 15:11:51 +00:00
|
|
|
%find_lang %{name} --with-gnome
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
|
2019-01-10 12:11:04 +00:00
|
|
|
%check
|
|
|
|
# Test that the schemas compile
|
2019-07-18 17:55:41 +00:00
|
|
|
glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas
|
2019-01-10 12:11:04 +00:00
|
|
|
|
|
|
|
|
2011-02-21 15:11:51 +00:00
|
|
|
%files -f %{name}.lang
|
2015-03-17 15:49:28 +00:00
|
|
|
%doc AUTHORS MAINTAINERS NEWS README
|
|
|
|
%license COPYING
|
2010-08-03 11:27:24 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/*
|
2010-11-02 12:39:38 +00:00
|
|
|
%{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert
|
2011-11-22 21:18:18 +00:00
|
|
|
%{_datadir}/GConf/gsettings/wm-schemas.convert
|
2011-11-22 22:14:11 +00:00
|
|
|
%{_libdir}/girepository-1.0/GDesktopEnums-3.0.typelib
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc HACKING
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_datadir}/pkgconfig/*
|
2011-11-22 22:14:11 +00:00
|
|
|
%{_datadir}/gir-1.0/GDesktopEnums-3.0.gir
|
2010-08-03 11:27:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-07-25 12:56:39 +00:00
|
|
|
%autochangelog
|