gsettings-desktop-schemas/gsettings-desktop-schemas.spec
2019-09-30 10:52:09 -04:00

61 lines
1.6 KiB
RPMSpec

%global debug_package %{nil}
Name: gsettings-desktop-schemas
Version: 3.32.0
Release: 1
Summary: Settings for various components of a desktop
License: LGPLv2+
URL: https://github.com/GNOME/gsettings-desktop-schemas
Source0: https://github.com/GNOME/gsettings-desktop-schemas/archive/%{name}-%{version}.tar.gz
BuildRequires: gettext glib2-devel >= 2.31.0 gobject-introspection-devel meson
Requires: glib2 >= 2.31.0
Recommends: font(cantarell) font(sourcecodepro)
%description
GSettings schemas for desktop components are contained in this package.
%package devel
Summary: Libraries and header files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Libraries and header files are contained in %{name}-devel package. You need to
install the %{name}-devel package if you want to develop applications that use
%{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} --with-gnome
%check
glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas
%files -f %{name}.lang
%doc NEWS AUTHORS
%{_datadir}/GConf/gsettings/*.convert
%{_datadir}/glib-2.0/schemas/*.xml
%{_libdir}/girepository-1.0/*.typelib
%license COPYING
%files devel
%{_datadir}/gir-1.0/*.gir
%{_datadir}/pkgconfig/*.pc
%{_includedir}/gsettings-desktop-schemas/*.h
%files help
%doc HACKING README MAINTAINERS
%changelog
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.0-1
- Package Init