102 lines
2.7 KiB
RPMSpec
102 lines
2.7 KiB
RPMSpec
## 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 <decathorpe@gmail.com> 6.3.0-1
|
|
- Update to version 6.3.0; Fixes RHBZ#2097508
|
|
|
|
* Wed Jan 26 2022 Fabio Valentini <decathorpe@gmail.com> 6.2.0-1
|
|
- Update to version 6.2.0; Fixes RHBZ#2044726
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 6.1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Thu Jan 06 2022 Fabio Valentini <decathorpe@gmail.com> 6.1.0-1
|
|
- Initial import (#2033890)
|