commit 2da32c90b6a351cb0c8fc1795285c7b828322850 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:52:09 2019 -0400 Package init diff --git a/gsettings-desktop-schemas-3.32.0.tar.gz b/gsettings-desktop-schemas-3.32.0.tar.gz new file mode 100644 index 0000000..42b56a9 Binary files /dev/null and b/gsettings-desktop-schemas-3.32.0.tar.gz differ diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec new file mode 100644 index 0000000..bcaad53 --- /dev/null +++ b/gsettings-desktop-schemas.spec @@ -0,0 +1,60 @@ +%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 - 3.32.0-1 +- Package Init