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