gnome-clocks/gnome-clocks.spec

72 lines
2.5 KiB
RPMSpec
Raw Normal View History

2022-04-20 09:52:30 +08:00
%global geoclue2_version 2.6.0
%global gtk4_version 4.5
%global libadwaita_version 1.0.0
2019-12-11 18:42:21 +08:00
Name: gnome-clocks
2022-04-20 09:52:30 +08:00
Version: 42.0
2021-06-16 17:05:02 +08:00
Release: 1
2019-12-11 18:42:21 +08:00
Summary: CGNOME 3 clock application
License: GPLv2+
URL: https://wiki.gnome.org/Apps/Clocks
2022-04-20 09:52:30 +08:00
Source0: https://download.gnome.org/sources/gnome-clocks/42/%{name}-%{version}.tar.xz
2021-06-16 17:05:02 +08:00
2022-04-20 09:52:30 +08:00
BuildRequires: meson desktop-file-utils gettext itstool libappstream-glib vala >= 0.55
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(gnome-desktop-4) >= 3.8 pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0) >= 2.44
2019-12-11 18:42:21 +08:00
BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0 pkgconfig(gsound) >= 0.98
2022-04-20 09:52:30 +08:00
BuildRequires: pkgconfig(libhandy-1) pkgconfig(gweather4)
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue2_version}
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
2021-06-16 17:05:02 +08:00
2022-04-20 09:52:30 +08:00
Requires: geoclue2%{?_isa} >= %{geoclue2_version}
Requires: gtk4%{?_isa} >= %{gtk4_version}
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
Requires: libgweather >= 4.0.0
2019-12-11 18:42:21 +08:00
%description
GNOME Clocks is a simple application to show the time and date
in multiple locations and set alarms or timers. A stopwatch is
also included.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang gnome-clocks --with-gnome
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
%files -f gnome-clocks.lang
2022-04-20 09:52:30 +08:00
%doc AUTHORS.md NEWS README.md
2021-06-16 17:05:02 +08:00
%license LICENSE.md
2019-12-11 18:42:21 +08:00
%{_bindir}/gnome-clocks
2022-04-20 09:52:30 +08:00
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.clocks.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.clocks-symbolic.svg
2019-12-11 18:42:21 +08:00
%{_datadir}/applications/org.gnome.clocks.desktop
%{_datadir}/dbus-1/services/org.gnome.clocks.service
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
2022-04-20 09:52:30 +08:00
%dir %{_datadir}/gnome-shell/
%dir %{_datadir}/gnome-shell/search-providers/
2019-12-11 18:42:21 +08:00
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
2021-06-16 17:05:02 +08:00
%{_datadir}/metainfo/org.gnome.clocks.metainfo.xml
2019-12-11 18:42:21 +08:00
%changelog
2022-04-20 09:52:30 +08:00
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
- Update to 42.0
2021-06-16 17:05:02 +08:00
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
- Upgrade to 3.38.0
- Delete 0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch
whose target file that to be patched doesn't exist in version 3.38.0
2019-12-11 18:42:21 +08:00
* Tue Dec 10 2019 gulining<gulining1@huawei.com> - 3.30.0-4
- Pakcage init