diff --git a/todo.db b/todo.db new file mode 100644 index 0000000..9cb849e Binary files /dev/null and b/todo.db differ diff --git a/todocli.1 b/todocli.1 new file mode 100644 index 0000000..9168f5b --- /dev/null +++ b/todocli.1 @@ -0,0 +1,20 @@ +.TH "TODOCLI" "1" "2015-07-10" "0.1" "William Moreno Reyes" "" +.SH "NAME" +todocli \- Command line To Do application +.SH "SYNOPSIS" +todocli [\-h |\-n |\-d ] +.SH "DESCRIPTION" +A command line ToDo application with SQLite backend powered by Python +.SH "OPTIONS" +.TP +\fB\-h \fP +\-\-help show help message and exit +.TP +.TP +\fB\-n \fP +\-\-new new todo item +.TP +\fB\-d \fP +\-\-delete delete a todo item with id +.SH "AUTHOR" +Hasan Tayyar - Hüseyin Mert diff --git a/todocli.spec b/todocli.spec index 6d36a3b..84e276c 100644 --- a/todocli.spec +++ b/todocli.spec @@ -6,12 +6,13 @@ Name: todocli Version: 0.1 -Release: %{date}git%{shortcommit}%{?dist} +Release: %{date}git%{shortcommit}%{?dist}.1 Summary: Command line To Do application License: MIT URL: https://github.com/okulbilisim/todo.py Source0: https://github.com/%{owner}/%{project}/archive/%{commit}/%{project}-%{commit}.tar.gz +Source1: todocli.1 BuildArch: noarch @@ -36,16 +37,22 @@ rm -rf %{name}.egg.info %install %{__python2} setup.py install --skip-build --root %{buildroot} +mkdir -p %{buildroot}/%{_mandir}/man1 +install -p -m 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/ %files %doc README.md %{!?_licensedir:%global license %%doc} %license LICENSE %{_bindir}/todocli +%{_mandir}/man1/* %{python2_sitelib}/* %changelog +* Thu Jul 16 2015 William Moreno Reyes - 0.1-20140709gitf50c240.1 +- Add manpage + * Sat Dec 27 2014 William Moreno Reyes - 0.1-20140709gitf50c240 - Initial Packaging