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