From 4687d9f243c4fd9e0d099cf4f39be3502bbafebf Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Fri, 17 Mar 2023 13:50:32 +0100 Subject: [PATCH] Import elementary-tasks-6.3.0-1.el9 --- .elementary-tasks.metadata | 1 + .gitignore | 1 + SPECS/elementary-tasks.spec | 101 ++++++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+) create mode 100644 .elementary-tasks.metadata create mode 100644 .gitignore create mode 100644 SPECS/elementary-tasks.spec diff --git a/.elementary-tasks.metadata b/.elementary-tasks.metadata new file mode 100644 index 0000000..d34e449 --- /dev/null +++ b/.elementary-tasks.metadata @@ -0,0 +1 @@ +03f0be3b6508dad22dd52cf98d60d63746f9a527 SOURCES/tasks-6.3.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4bbba7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tasks-6.3.0.tar.gz diff --git a/SPECS/elementary-tasks.spec b/SPECS/elementary-tasks.spec new file mode 100644 index 0000000..760b31d --- /dev/null +++ b/SPECS/elementary-tasks.spec @@ -0,0 +1,101 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} +## END: Set by rpmautospec + +%global srcname tasks +%global appname io.elementary.tasks + +Name: elementary-tasks +Summary: Synced tasks and reminders application +Version: 6.3.0 +Release: %autorelease +License: GPLv3+ + +URL: https://github.com/elementary/tasks +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.49 +BuildRequires: vala + +BuildRequires: pkgconfig(champlain-0.12) +BuildRequires: pkgconfig(champlain-gtk-0.12) +BuildRequires: pkgconfig(clutter-1.0) +BuildRequires: pkgconfig(clutter-gtk-1.0) +BuildRequires: pkgconfig(geocode-glib-1.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(granite) >= 6.2.0 +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libecal-2.0) +BuildRequires: pkgconfig(libedataserver-1.2) +BuildRequires: pkgconfig(libgdata) +BuildRequires: pkgconfig(libgeoclue-2.0) +BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 +BuildRequires: pkgconfig(libical-glib) + +Requires: hicolor-icon-theme + +%description +%{summary}. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{appname} + + +%check +desktop-file-validate \ + %{buildroot}/%{_datadir}/applications/%{appname}.desktop + +desktop-file-validate \ + %{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop + +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml + + +%files -f %{appname}.lang +%license LICENSE +%doc README.md + +%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop + +%{_bindir}/%{appname} + +%{_datadir}/applications/%{appname}.desktop +%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml +%{_datadir}/icons/hicolor/*/apps/%{appname}.svg +%{_datadir}/metainfo/%{appname}.appdata.xml + + +%changelog +* Wed Jul 13 2022 Fabio Valentini 6.3.0-1 +- Update to version 6.3.0; Fixes RHBZ#2097508 + +* Wed Jan 26 2022 Fabio Valentini 6.2.0-1 +- Update to version 6.2.0; Fixes RHBZ#2044726 + +* Thu Jan 20 2022 Fedora Release Engineering 6.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jan 06 2022 Fabio Valentini 6.1.0-1 +- Initial import (#2033890)