]> git.pld-linux.org Git - packages/taskwarrior.git/blame - taskwarrior.spec
- initial
[packages/taskwarrior.git] / taskwarrior.spec
CommitLineData
d32cb5e0
ZU
1# TODO:
2# - zsh completion subpackage (I don't know, what is the correct place)
3%define shortname task
4Summary: Taskwarrior is a command-line to do list manager
5Summary(hu.UTF-8): Taskwarrior egy parancssoros ToDo-kezelő
6Name: taskwarrior
7Version: 1.9.0
8Release: 0.1
9License: GPL v2
10Group: Applications
11Source0: http://www.taskwarrior.org/download/%{shortname}-%{version}.tar.gz
12# Source0-md5: b9c12f60ff509c1ce5c6292041789baa
13Patch0: %{name}-flags.patch
14URL: http://taskwarrior.org/
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: intltool
18BuildRequires: libtool
19BuildRequires: ncurses-devel
20BuildRequires: pkgconfig
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define bashdir %{_sysconfdir}/bash_completion.d
24%define vimdir %{_datadir}/vim/vimfiles
25
26%description
27Taskwarrior is an ambitious project to supercharge task (most
28excellent CLI task manager by Paul Beckingham) with an interactive
29interface, a powerful search tool, hotkeys, forms data entry, and a
30host of new features.
31
32%description -l pl.UTF-8
33Taskwarrior egy törekvő project, amely a task-ot bővíti ki (a legjobb
34CLI feladatkezelő Paul Beckingham-től) egy interaktív felületettel,
35hatékony kereső eszközzel, hotkey-ekkel, űrlapokkal és új lehetőségek
36tömegeivel.
37
38%package -n bash-completion-taskwarrior
39Summary: bash-completion for taskwarrior
40Group: Applications/Shells
41Requires: %{name} = %{version}-%{release}
42
43%description -n bash-completion-taskwarrior
44bash-completion for taskwarrior.
45
46%package -n vim-syntax-taskwarrior
47Summary: Vim-syntax: taskwarrior
48Group: Applications/Editors/Vim
49Requires: %{name} = %{version}-%{release}
50
51%description -n vim-syntax-taskwarrior
52Vim-syntax: taskwarrior.
53
54%prep
55%setup -q -n %{shortname}-%{version}
56%patch0 -p1
57
58%build
59%{__libtoolize}
60%{__aclocal}
61%{__autoconf}
62%{__autoheader}
63%{__automake}
64%configure \
65 --with-ncurses-inc=/usr/include/ncursesw
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{shortname}
75
76install -d $RPM_BUILD_ROOT%{bashdir}
77install scripts/bash/task_completion.sh $RPM_BUILD_ROOT%{bashdir}/%{shortname}
78
79install -d $RPM_BUILD_ROOT%{vimdir}/{ftdetect,syntax}
80for dir in ftdetect syntax; do
81 install -d $RPM_BUILD_ROOT%{vimdir}/$dir
82 install scripts/vim/$dir/* $RPM_BUILD_ROOT%{vimdir}/$dir
83done
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files
89%defattr(644,root,root,755)
90%doc AUTHORS ChangeLog NEWS README i18n doc/rc
91%attr(755,root,root) %{_bindir}/%{shortname}
92%{_mandir}/man1/*1*
93%{_mandir}/man5/*5*
94
95%files -n bash-completion-taskwarrior
96%defattr(644,root,root,755)
97%{bashdir}/%{shortname}
98
99%files -n vim-syntax-taskwarrior
100%{vimdir}/ftdetect/*
101%{vimdir}/syntax/*
This page took 0.10807 seconds and 4 git commands to generate.