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