]>
Commit | Line | Data |
---|---|---|
48b4a2e3 JP |
1 | Summary: Portable file system cache diagnostics and control |
2 | Name: vmtouch | |
4c278c77 | 3 | Version: 1.3.1 |
48b4a2e3 JP |
4 | Release: 1 |
5 | License: BSD | |
6 | Group: Applications | |
7 | Source0: https://github.com/hoytech/vmtouch/archive/v%{version}.tar.gz | |
4c278c77 | 8 | # Source0-md5: 46c153c48ab035d37d16e8bc1587e8d8 |
48b4a2e3 JP |
9 | URL: https://hoytech.com/vmtouch/ |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | vmtouch is a tool for learning about and controlling the file system | |
14 | cache of unix and unix-like systems. | |
15 | ||
16 | %prep | |
17 | %setup -q | |
48b4a2e3 JP |
18 | |
19 | %build | |
20 | %{__make} \ | |
21 | CC="%{__cc}" \ | |
22 | CFLAGS="%{rpmcflags}" \ | |
23 | LDFLAGS="%{rpmldflags}" | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | %{__make} install \ | |
28 | PREFIX="%{_prefix}" \ | |
29 | BINDIR="%{_bindir}" \ | |
30 | MANDIR="%{_mandir}/man8" \ | |
31 | DESTDIR="$RPM_BUILD_ROOT" | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
38 | %doc CHANGES README.md TODO TUNING.md | |
39 | %attr(755,root,root) %{_bindir}/vmtouch | |
40 | %{_mandir}/man8/vmtouch.8* |