gsettings-desktop-schemas/gsettings-desktop-schemas.spec

68 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:52:09 -04:00
%global debug_package %{nil}
Name: gsettings-desktop-schemas
2020-01-08 10:30:23 +08:00
Version: 3.34.0
2019-09-30 10:52:09 -04:00
Release: 1
Summary: Settings for various components of a desktop
License: LGPLv2+
URL: https://github.com/GNOME/gsettings-desktop-schemas
2020-01-08 10:30:23 +08:00
Source0: https://download.gnome.org/sources/%{name}/3.34/%{name}-%{version}.tar.xz
2019-09-30 10:52:09 -04:00
BuildRequires: gettext glib2-devel >= 2.31.0 gobject-introspection-devel meson
Requires: glib2 >= 2.31.0
Recommends: font(cantarell) font(sourcecodepro)
2020-01-08 10:30:23 +08:00
2019-09-30 10:52:09 -04:00
%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
2020-01-08 10:30:23 +08:00
%defattr(-,root,root)
2019-09-30 10:52:09 -04:00
%doc NEWS AUTHORS
2020-01-08 10:30:23 +08:00
%license COPYING
%{_datadir}/glib-2.0/schemas/*
2019-09-30 10:52:09 -04:00
%{_datadir}/GConf/gsettings/*.convert
%{_libdir}/girepository-1.0/*.typelib
%files devel
2020-01-08 10:30:23 +08:00
%defattr(-,root,root)
%{_includedir}/*
%{_datadir}/pkgconfig/*
2019-09-30 10:52:09 -04:00
%{_datadir}/gir-1.0/*.gir
%files help
2020-01-08 10:30:23 +08:00
%defattr(-,root,root)
2019-09-30 10:52:09 -04:00
%doc HACKING README MAINTAINERS
%changelog
2020-01-08 10:30:23 +08:00
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.34.0-1
- update to 3.34.0
2019-09-30 10:52:09 -04:00
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.32.0-1
- Package Init