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