]> git.pld-linux.org Git - packages/vmtouch.git/blame - vmtouch.spec
up to 1.3.1
[packages/vmtouch.git] / vmtouch.spec
CommitLineData
48b4a2e3
JP
1Summary: Portable file system cache diagnostics and control
2Name: vmtouch
4c278c77 3Version: 1.3.1
48b4a2e3
JP
4Release: 1
5License: BSD
6Group: Applications
7Source0: https://github.com/hoytech/vmtouch/archive/v%{version}.tar.gz
4c278c77 8# Source0-md5: 46c153c48ab035d37d16e8bc1587e8d8
48b4a2e3
JP
9URL: https://hoytech.com/vmtouch/
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13vmtouch is a tool for learning about and controlling the file system
14cache 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
26rm -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
34rm -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*
This page took 1.215664 seconds and 4 git commands to generate.