## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 10;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
%global app_id com.github.dahenson.agenda
Name: agenda
Summary: A simple, slick, speedy and no-nonsense task manager
Version: 1.1.2
Release: %autorelease
# The entire source is GPL-3.0-or-later, except:
# - data/Agenda.css is GPL-2.0-or-later; it is not installed directly, but is
# incorporated in the executable as a “resource”
# - data/com.github.dahenson.agenda.appdata.xml.in is CC0-1.0, which is
# allowed for content only
#
# Additionally, the following do not affect the License because they are not
# part of the binary RPM:
#
# - test/TestCase.vala is LGPL-2.0-or-later
License: GPL-3.0-or-later AND GPL-2.0-or-later AND CC0-1.0
URL: https://github.com/dahenson/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Add tag to AppStream metadata
#
# https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-launchable-info
#
# Omitting this tag now now triggers a hard validation error in “appstreamcli
# validate”:
#
# https://github.com/ximion/appstream/commit/ad98bfd8db789c80507e82278d6d766acba4937c
Patch: %{url}/pull/148.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: desktop-file-utils
BuildRequires: gettext
# Still required by guidelines for now
# (https://pagure.io/packaging-committee/issue/1053):
BuildRequires: libappstream-glib
# Matches what gnome-software and others use:
BuildRequires: appstream
BuildRequires: meson
BuildRequires: vala
BuildRequires: gcc
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gtk+-3.0)
Requires: hicolor-icon-theme
Summary(ca): Un gestor de tasques fàcil d’utilitzar
Summary(de): Ein einfacher, handlicher, schneller und nützlicher Aufgaben Verwalter
Summary(es): Un administrador de tareas simple, pulido, rápido y sin complicaciones
Summary(fr): Un gestionnaire de tâches simple, rapide et élégant
Summary(gl): Un xestor de tarefas pulido, sinxelo, rápido e sen complicacións
Summary(it): Un promemoria semplice, elegante, veloce e senza fronzoli
Summary(ja): タスクを完了しましょう
Summary(ka): მარტივი, მოხერხებული, სწრაფი დავალებების მმართველი ყოველგვარი უაზრობების გარეშე
Summary(ko): 간단하고 미려한 일정 관리자
Summary(lt): Paprasta, vikri, greita, dalykiška užduočių tvarkytuvė
Summary(ms): Pengurus tugas yang ringkas dan pantas
# This translation is for the alternative summary, “Get things done”
Summary(nl): Rond taken af
Summary(pl): Prosty, gładki, szybki i niebezsensowny menedżer zadań
Summary(pt): Um gestor de tarefas simples, liso, rápido e sem falhas
Summary(ru): Простой и быстрый менеджер задач
Summary(sr): Једноставан, гладак, брз и без којештарија управник задатака
Summary(tr): Basit, şık, hızlı ve zırvalıksız görev yöneticisi
Summary(ur): ﺎﯿﮐ ﺱﺍﺩہ، ہﻮﺸﯾﺍﺭ، ﻑﻭﺮﯾ ﺍﻭﺭ ﺲﯾﺩﺍہ ﺱﺍﺩہ ٹﺎﺴﮐ ﻢﯿﻨﯿﺟﺭ
Summary(zh_CN): 简单流畅、快速不脑残的任务规划管理器
%description
A task manager to help you keep track of the tasks that matter most.
Sometimes, you just need a task list to keep you motivated. Agenda provides a
way to write down your tasks and tick them off as you complete them. The list
is saved automatically, so you can close the list to get it out of the way
without losing your place.
Key Features:
• Saves your task list automatically
• See your completed tasks until you choose to delete them
• Autocompletion for previously added tasks
• Undo/Redo with Ctrl-Z and Ctrl-Y
• Quit with the Esc key
%description -l ja
最も重要なタスクの記録に便利な、タスク管理アプリです。
モチベーションを維持するために、タスクリストが必要なときはありませんか。
Agenda を使えば、タスクを登録して、終わったらチェックマークをつけていくこと
ができます。リストは自動的に保存されるので、最新の状態を失うことなくリストを
閉じられます。
主な機能:
• タスクリストを自動的に保存します
• 完了したタスクは、削除しない限り確認できます
• 以前に追加したタスクを自動補完します
• Esc キーで終了できます
%description -l nl
Een taakbeheerder die u helpt de belangrijkste taken bij te houden.
Soms heeft u een taak nodig om u bezig te houden. Agenda biedt de mogelijkheid
uw taken te noteren en ze nadien af te vinken. De lijst wordt automatisch
opgeslagen, dus u kunt de lijst sluiten zonder uw taken kwijt te raken.
Kenmerken:
• Slaat uw taken automatisch op
• Bekijk uw afgeronde taken totdat u besluit ze te verwijderen
• Taaknamen worden automatisch aangevuld
• Sluit af met de Esc-toets
%description -l pt
Um gestor de tarefas que o ajuda a manter o controle das tarefas que são mais
importantes.
Às vezes, você só precisa precisa de uma lista de tarefas para o manter
motivado. O Agenda proporciona uma forma de escrever as suas tarefas e ir
assinalando aquelas que vai completando. A lista é gravada automaticamente,
para que a possa fechar e tira-la do seu caminho sem que se perca.
Funcionalidades principais:
• Guarda a sua lista de tarefas automaticamente
• Veja as suas tarefas completadas até decidir apaga-las
• Preenchimento automático para tarefas adicionadas anteriormente
• Fechar com a tecla Esc
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{app_id}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{app_id}.desktop
# Still required by guidelines for now
# (https://pagure.io/packaging-committee/issue/1053):
appstream-util validate-relax --nonet \
%{buildroot}/%{_metainfodir}/%{app_id}.appdata.xml
# Matches what gnome-software and others use:
appstreamcli validate --nonet \
%{buildroot}/%{_metainfodir}/%{app_id}.appdata.xml
%files -f %{app_id}.lang
%doc README.md
%license LICENSE
%{_bindir}/%{app_id}
%{_datadir}/applications/%{app_id}.desktop
%{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{app_id}.svg
%{_metainfodir}/%{app_id}.appdata.xml
%changelog
* Mon Dec 19 2022 Benjamin A. Beasley 1.1.2-10
- Leaf package: remove i686 support
* Sat Jul 30 2022 Benjamin A. Beasley 1.1.2-9
- Update License field to SPDX
* Wed Jul 20 2022 Fedora Release Engineering 1.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat May 14 2022 Benjamin A. Beasley 1.1.2-7
- Add tag to AppStream metadata
* Wed Jan 19 2022 Fedora Release Engineering 1.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jan 13 2022 Benjamin A. Beasley 1.1.2-5
- Add BR on gcc
* Wed Jan 05 2022 Benjamin A. Beasley 1.1.2-4
- Also validate AppData with appstreamcli
* Fri Sep 24 2021 Benjamin A. Beasley 1.1.2-3
- Use %%%%{_metainfodir} macro in spec file
* Wed Sep 08 2021 Benjamin A. Beasley 1.1.2-2
- Rename appname macro to app_id
* Sat Aug 14 2021 Benjamin A. Beasley 1.1.2-1
- Update to 1.1.2 (fix RHBZ#1993606)
* Thu Aug 12 2021 Benjamin A. Beasley 1.1.1-1
- Update to 1.1.1 (close RHBZ#1993265)
* Wed Jul 21 2021 Fedora Release Engineering 1.1.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering 1.1.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 09 2021 Benjamin A. Beasley - 1.1.0-9
- Switch License field to “effective license” of GPLv3+
* Mon Mar 08 2021 Benjamin A. Beasley - 1.1.0-8
- Localize summary and description where translations are available upstream
* Fri Feb 19 2021 Fabio Valentini - 1.1.0-7
- Rebuilt for granite 6 soname bump.
* Tue Feb 09 2021 Benjamin A. Beasley - 1.1.0-6
- Add CC0 to License field for AppData file
* Tue Feb 09 2021 Benjamin A. Beasley - 1.1.0-5
- Correct License from “GPLv3” to “GPLv3+ and GPLv2+ and LGPLv2+”
* Mon Jan 25 2021 Fedora Release Engineering - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jul 31 2020 Fedora Release Engineering - 1.1.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Mar 06 2020 Fabio Valentini - 1.1.0-1
- Update to version 1.1.0.
* Tue Jan 28 2020 Fedora Release Engineering - 1.0.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering - 1.0.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering - 1.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Sep 16 2018 Fabio Valentini - 1.0.12-1
- Update to version 1.0.12.
* Thu Aug 16 2018 Fabio Valentini - 1.0.11-1
- Update to version 1.0.11.
* Thu Jul 12 2018 Fedora Release Engineering - 1.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jan 21 2018 Fabio Valentini - 1.0.9-1
- Initial package.