Name: vmtouch Version: 0.8.0 Release: 5%{?dist} Summary: Portable file system cache diagnostics and control License: BSD URL: http://hoytech.com/vmtouch/ Source0: https://github.com/hoytech/%{name}/archive/%{name}-%{version}.tar.gz BuildRequires: /usr/bin/dos2unix BuildRequires: /usr/bin/mac2unix # used by watch-vmtouch Requires: /usr/bin/clear %description Vmtouch is a tool for learning about and controlling the file system cache of Unix and Unix-like systems. %prep %setup -q -n%{name}-%{name}-%{version} sed -i -e 's/install /install -p /' Makefile chmod -x presentation/ui/default/bodybg.gif mac2unix presentation/ui/default/print.css dos2unix presentation/ui/default/iepngfix.htc %build cc %{optflags} -o %{name} %{name}.c %install make install DESTDIR=$RPM_BUILD_ROOT install -p -D -m0644 %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8 %files %doc CHANGES README TODO presentation/ %{_sbindir}/%{name} %{_sbindir}/watch-vmtouch %{_mandir}/man8/%{name}.8* %changelog * Mon Aug 18 2014 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.8.0-2 - Perl 5.18 rebuild * Sat May 25 2013 Robin Lee - 0.8.0-1 - Initial package