!2 初始化仓库

From: @wangtaozhi 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-06-29 09:59:01 +00:00 committed by Gitee
commit 01d4f6151d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 56 additions and 0 deletions

BIN
yokadi-1.2.0.tar.gz Normal file

Binary file not shown.

52
yokadi.spec Normal file
View File

@ -0,0 +1,52 @@
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

4
yokadi.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: https://github.com/agateau/yokadi
tag_prefix: "v"
separator: "."