]> git.pld-linux.org Git - packages/taskwarrior.git/blob - taskwarrior.spec
- 1.9.4
[packages/taskwarrior.git] / taskwarrior.spec
1 %define         shortname       task
2 Summary:        Taskwarrior is a command-line to do list manager
3 Summary(hu.UTF-8):      Taskwarrior egy parancssoros ToDo-kezelő
4 Summary(pl.UTF-8):      Taskwarrior - konsolowy manadżer rzeczy do zrobienia
5 Name:           taskwarrior
6 Version:        1.9.4
7 Release:        1
8 License:        GPL v2+
9 Group:          Applications
10 Source0:        http://www.taskwarrior.org/download/%{shortname}-%{version}.tar.gz
11 # Source0-md5:  0c5d9dedb1ead69590af895d16708070
12 Patch0:         %{name}-flags.patch
13 URL:            http://taskwarrior.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  intltool
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool
19 BuildRequires:  ncurses-ext-devel
20 BuildRequires:  pkgconfig
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define bashdir %{_sysconfdir}/bash_completion.d
24 %define vimdir %{_datadir}/vim/vimfiles
25 %define zshdir %{_datadir}/zsh/site-functions
26
27 %description
28 Taskwarrior is an ambitious project to supercharge task (most
29 excellent CLI task manager by Paul Beckingham) with an interactive
30 interface, a powerful search tool, hotkeys, forms data entry, and a
31 host of new features.
32
33 %description -l hu.UTF-8
34 Taskwarrior egy törekvő project, amely a task-ot bővíti ki (a legjobb
35 CLI feladatkezelő Paul Beckingham-től) egy interaktív felületettel,
36 hatékony kereső eszközzel, hotkey-ekkel, űrlapokkal és új lehetőségek
37 tömegeivel.
38
39 %description -l pl.UTF-8
40 Taskwarrior jest ambitnym projektem mającym na celu ulepszenie
41 programu task (najlepszego konsolowego menadżera zadań stworzonego
42 przez Paula Beckinghama) poprzez dodanie interaktywnego interfejsu,
43 potężnej wyszukiwarki, skrótów klawiszowych, formularzy wprowadzania
44 danych i wielu innych ulepszeń.
45
46 %package -n bash-completion-taskwarrior
47 Summary:        bash-completion for taskwarrior
48 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla taskwarriora
49 Group:          Applications/Shells
50 Requires:       bash-completion
51 Requires:       %{name} = %{version}-%{release}
52
53 %description -n bash-completion-taskwarrior
54 bash-completion for taskwarrior.
55
56 %description -n bash-completion-taskwarrior -l pl.UTF-8
57 Pakiet ten dostarcza bashowe uzupełnianie nazw dla taskwarriora.
58
59 %package -n vim-syntax-taskwarrior
60 Summary:        Vim-syntax: taskwarrior
61 Summary(pl.UTF-8):      Składnia dla Vima: taskwarrior
62 Group:          Applications/Editors/Vim
63 Requires:       %{name} = %{version}-%{release}
64
65 %description -n vim-syntax-taskwarrior
66 Vim-syntax: taskwarrior.
67
68 %description -n vim-syntax-taskwarrior -l pl.UTF-8
69 Ta wtyczka dostarcza podświetlanie składni dla taskwarriora.
70
71 %package -n zsh-completion-taskwarrior
72 Summary:        zsh-completion for taskwarrior
73 Summary(pl.UTF-8):      Uzupełnianie nazw w zsh dla taskwarriora
74 Group:          Applications/Shells
75 Requires:       %{name} = %{version}-%{release}
76
77 %description -n zsh-completion-taskwarrior
78 zsh-completion for taskwarrior.
79
80 %description -n zsh-completion-taskwarrior -l pl.UTF-8
81 Pakiet ten dostarcza funkcje uzupełniania nazw powłoki zsh dla
82 taskwarriora.
83
84 %prep
85 %setup -q -n %{shortname}-%{version}
86 %patch0 -p1
87
88 %build
89 %{__libtoolize}
90 %{__aclocal}
91 %{__autoconf}
92 %{__autoheader}
93 %{__automake}
94 %configure \
95         --with-ncurses-inc="$(pkg-config --variable=includedir ncurses++w)" \
96         --with-ncurses-lib="$(pkg-config --libs ncurses++w)"
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{shortname}
106
107 install -d $RPM_BUILD_ROOT{%{bashdir},%{zshdir}}
108 install -p scripts/bash/task_completion.sh $RPM_BUILD_ROOT%{bashdir}
109 install -p scripts/zsh/_task $RPM_BUILD_ROOT%{zshdir}
110
111 install -d $RPM_BUILD_ROOT%{vimdir}/{ftdetect,syntax}
112 for dir in ftdetect syntax; do
113         install -d $RPM_BUILD_ROOT%{vimdir}/$dir
114         install -p scripts/vim/$dir/* $RPM_BUILD_ROOT%{vimdir}/$dir
115 done
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README i18n doc/rc
123 %attr(755,root,root) %{_bindir}/%{shortname}
124 %{_mandir}/man1/*1*
125 %{_mandir}/man5/*5*
126
127 %files -n bash-completion-taskwarrior
128 %defattr(644,root,root,755)
129 %{bashdir}/task_completion.sh
130
131 %files -n vim-syntax-taskwarrior
132 %defattr(644,root,root,755)
133 %{vimdir}/ftdetect/*.vim
134 %{vimdir}/syntax/*.vim
135
136 %files -n zsh-completion-taskwarrior
137 %defattr(644,root,root,755)
138 %{zshdir}/_task
This page took 0.055943 seconds and 4 git commands to generate.