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

84 lines
2.2 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:52:09 -04:00
%global debug_package %{nil}
2022-06-08 14:23:57 +08:00
%global tarball_version %%(echo %{version} | tr '~' '.')
2019-09-30 10:52:09 -04:00
Name: gsettings-desktop-schemas
2022-06-08 14:23:57 +08:00
Version: 42.0
2019-09-30 10:52:09 -04:00
Release: 1
Summary: Settings for various components of a desktop
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
2022-06-08 14:23:57 +08:00
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{tarball_version}.tar.xz
Source1: org.gnome.desktop.interface.gschema.override
2019-09-30 10:52:09 -04:00
BuildRequires: gettext glib2-devel >= 2.31.0 gobject-introspection-devel meson
2021-01-30 19:29:20 +08:00
2019-09-30 10:52:09 -04:00
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
2022-06-08 14:23:57 +08:00
%autosetup -p1 -n %{name}-%{tarball_version}
2019-09-30 10:52:09 -04:00
%build
%meson
%meson_build
%install
%meson_install
2022-06-08 14:23:57 +08:00
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
2019-09-30 10:52:09 -04:00
%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
2022-06-08 14:23:57 +08:00
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
- Upgrade to 42.0
* Thu Dec 2 2021 hanhui <hanhui15@huawei.com> - 41.0-1
- update to 41.0
2021-01-30 19:29:20 +08:00
* Sat Jan 30 2021 yanglu60 <yanglu60@huawei.com> - 3.38.0-1
- update to 3.38.0
* Wed Jul 22 2020 hanhui <hanhui15@huawei.com> - 3.37.1-1
- update to 3.37.1
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