diff --git a/.gitignore b/.gitignore index 38fbe3b..b3e9474 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,10 @@ +/results* +/*.src.rpm /agenda-1.0.9.tar.gz +/agenda-1.0.11.tar.gz +/agenda-1.0.12.tar.gz +/agenda-1.1.0.tar.gz +/agenda-1.1.1.tar.gz +/agenda-1.1.2.tar.gz +/agenda-1.2.0.tar.gz +/agenda-1.2.1.tar.gz diff --git a/agenda.rpmlintrc b/agenda.rpmlintrc new file mode 100644 index 0000000..2fc22b1 --- /dev/null +++ b/agenda.rpmlintrc @@ -0,0 +1,6 @@ +# We are not going to adjust capitalization in translated text! We trust the +# human who translated it more than the program linting it. +addFilter(r" summary-not-capitalized ka ") +# A man page for a GUI executable without interesting command-line options is +# not very useful. +addFilter(r" no-manual-page-for-binary ") diff --git a/agenda.spec b/agenda.spec index 1db18bd..7c7bf93 100644 --- a/agenda.spec +++ b/agenda.spec @@ -1,19 +1,41 @@ -%global appname com.github.dahenson.agenda +%global app_id com.github.dahenson.agenda Name: agenda -Summary: Simple, fast, no-nonsense to-do (task) list -Version: 1.0.9 -Release: 1%{?dist} -License: GPLv3 +Summary: A simple, slick, speedy and no-nonsense task manager +Version: 1.2.1 +Release: %autorelease -URL: https://github.com/dahenson/%{name} -Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# 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 +License: GPL-3.0-or-later AND GPL-2.0-or-later AND CC0-1.0 +# 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 +SourceLicense: %{license} AND LGPL-2.0-or-later +URL: https://github.com/dahenson/agenda +Source: %{url}/archive/%{version}/agenda-%{version}.tar.gz + +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} -BuildRequires: cmake 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: hardlink + +BuildRequires: meson BuildRequires: vala +BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(granite) @@ -21,51 +43,153 @@ 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 +# This translation is for the alternative summary, “Get things done” +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 simple, fast, no-nonsense to-do (task) list. +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 it +Un task manager per aiutarti a tenere traccia delle attività che contano di +più. + +A volte, hai solo bisogno di un elenco di attività per mantenerti motivato. +Agenda fornisce un modo per annotare i tuoi compiti e spuntarli mentre li +completi. L'elenco viene salvato automaticamente, quindi puoi chiudere +l'elenco per estrarlo in modo senza perdere il tuo posto. + +Caratteristiche principali: + + • Salva automaticamente l'elenco delle attività + • Visualizza le tue attività completate finché non scegli di eliminarle + • Completamento automatico per attività aggiunte in precedenza + • Esci con il tasto Esc + +%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 +%autosetup -p1 + + +%conf +%meson %build -mkdir build && pushd build -%cmake .. -%make_build -popd +%meson_build %install -pushd build -%make_install -popd +%meson_install -%find_lang %{name} +%find_lang %{app_id} + +# Upstream installs the same SVG icon in many size-specific directories like +# /usr/share/icons/hicolor/64x64@2/; we can save space by hardlinking these +# together. +hardlink -c -v '%{buildroot}%{_datadir}/icons/hicolor' %check desktop-file-validate \ - %{buildroot}/%{_datadir}/applications/%{appname}.desktop + %{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}/%{_datadir}/metainfo/%{appname}.appdata.xml + %{buildroot}/%{_metainfodir}/%{app_id}.appdata.xml +# Matches what gnome-software and others use: +appstreamcli validate --no-net --explain \ + %{buildroot}/%{_metainfodir}/%{app_id}.appdata.xml -%files -f %{name}.lang +%files -f %{app_id}.lang %doc README.md +%license LICENSE -%{_bindir}/%{appname} +%{_bindir}/%{app_id} -%{_datadir}/applications/%{appname}.desktop -%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml -%{_datadir}/icons/hicolor/*/apps/%{appname}.svg -%{_datadir}/metainfo/%{appname}.appdata.xml +%{_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 -* Sun Jan 21 2018 Fabio Valentini - 1.0.9-1 -- Initial package. - - +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..153a13a --- /dev/null +++ b/changelog @@ -0,0 +1,48 @@ +* 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. diff --git a/sources b/sources index 25093db..e8856d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (agenda-1.0.9.tar.gz) = 374964422a11c41da6470df3a08ff808b25adadc015229706c2014bcfca5559b3bc3c7a2951f3e65416f0dcc2e8b26328ddd240a5226a359a1cfb90ffface737 +SHA512 (agenda-1.2.1.tar.gz) = 9140024adf070f4585806468daabf9c4a281a1eb5553548fd34f4076464ca0494ca952cbc5d9bc157448ec4cffa57f4c37f448a26bf9fbbe4949ef2ebed188b6