yokadi/yokadi.spec

53 lines
1.4 KiB
RPMSpec
Raw Normal View History

2023-05-24 19:27:17 +08:00
Name: yokadi
Version: 1.2.0
Release: 1
Summary: Command line oriented todo list system
License: GPLv3+
URL: https://yokadi.github.io
Source0: %{url}/download/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: desktop-file-utils
Requires: python3-sqlalchemy
Requires: python3-dateutil
%description
Yokadi is a command-line oriented, SQLite powered, TODO list tool.
It helps you organize all the things you have to do and you must not
forget.It aims to be simple, intuitive and very efficient.
In Yokadi you manage projects, which contains tasks. At the minimum,
a task has a title, but it can also have a description, a due date,
an urgency or keywords. Keywords can be any word that help you to find
and sort your tasks.
%prep
%autosetup
sed -i -e '/^#!\//, 1d' {yokadi/yokadid.py,yokadi/createdemodb.py,yokadi/tests/tests.py}
%build
%py3_build
%install
%py3_install
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%doc NEWS README.md doc/*.md
%license LICENSE
%{_mandir}/man*/*.*
%{_bindir}/%{name}
%{_bindir}/yokadid
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}*.egg-info
%{_datadir}/icons/hicolor/*
%changelog
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 1.2.0-1
- Package init