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