forked from pool/vmtouch
- update to 1.3.1: * New switch: "-P <pidfile>". When combined with -l or -L, the PID of the daemon process will be written to this file. * In Makefile, support staged installs using DESTDIR * Create snapcraft.yaml to enable snap creation * Fix compilation for pre-C99 compilers * Documentation improvements OBS-URL: https://build.opensuse.org/request/show/827127 OBS-URL: https://build.opensuse.org/package/show/utilities/vmtouch?expand=0&rev=6
53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package vmtouch
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: vmtouch
|
|
Version: 1.3.1
|
|
Release: 0
|
|
Summary: Portable file system cache diagnostics and control
|
|
License: BSD-3-Clause
|
|
Group: System/Utilities
|
|
URL: http://hoytech.com/vmtouch/
|
|
Source: https://github.com/hoytech/vmtouch/archive/v%{version}.tar.gz#/vmtouch-%{version}.tar.gz
|
|
BuildRequires: gcc
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A tool for learning about and controlling the file system
|
|
cache of unix and unix-like systems.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make CFLAGS="%{optflags} -std=gnu99"
|
|
|
|
%install
|
|
b=%{buildroot}
|
|
make PREFIX="$b"%{_prefix} MANDIR="$b"%{_mandir}/man8 install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc CHANGES README.md TODO
|
|
%{_bindir}/vmtouch
|
|
%{_mandir}/man8/vmtouch.8%{ext_man}
|
|
|
|
%changelog
|