]>
Commit | Line | Data |
---|---|---|
1a103352 JP |
1 | Summary: A shell/frontend for the command line task list manager taskwarrior |
2 | Name: tasksh | |
ff665efd | 3 | Version: 1.2.0 |
d915dff3 | 4 | Release: 2 |
1a103352 JP |
5 | License: MIT |
6 | Group: Applications | |
b949894c | 7 | Source0: https://www.taskwarrior.org/download/%{name}-%{version}.tar.gz |
ff665efd | 8 | # Source0-md5: c05f7b7b0203f3f4e44a4d32f24e5746 |
1a103352 JP |
9 | URL: http://taskwarrior.org/ |
10 | BuildRequires: cmake >= 2.8 | |
11 | BuildRequires: libstdc++-devel | |
12 | BuildRequires: readline-devel | |
afcf50e7 | 13 | BuildRequires: rpmbuild(macros) >= 1.605 |
1a103352 JP |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | A shell/frontend for the command line task list manager taskwarrior. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | ||
22 | %build | |
0ca705a6 JP |
23 | %cmake -B build |
24 | %{__make} -C build | |
1a103352 JP |
25 | |
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | ||
0ca705a6 | 29 | %{__make} -C build install \ |
1a103352 JP |
30 | DESTDIR=$RPM_BUILD_ROOT |
31 | ||
32 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
ff665efd | 39 | %doc AUTHORS ChangeLog NEWS |
1a103352 JP |
40 | %attr(755,root,root) %{_bindir}/%{name} |
41 | %{_mandir}/man1/%{name}.1* |