2016-03-22 13:21:16 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package vmtouch
|
|
|
|
|
#
|
2020-08-17 08:13:54 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-03-22 13:21:16 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2020-08-17 08:13:54 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-22 13:21:16 +00:00
|
|
|
#
|
|
|
|
|
|
2020-08-17 08:13:54 +00:00
|
|
|
|
2016-03-22 13:21:16 +00:00
|
|
|
Name: vmtouch
|
2020-08-17 08:13:54 +00:00
|
|
|
Version: 1.3.1
|
2016-03-22 13:21:16 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Portable file system cache diagnostics and control
|
2020-08-17 08:13:54 +00:00
|
|
|
License: BSD-3-Clause
|
2016-03-22 13:21:16 +00:00
|
|
|
Group: System/Utilities
|
2020-08-17 08:13:54 +00:00
|
|
|
URL: http://hoytech.com/vmtouch/
|
2017-01-13 12:37:27 +00:00
|
|
|
Source: https://github.com/hoytech/vmtouch/archive/v%{version}.tar.gz#/vmtouch-%{version}.tar.gz
|
2016-03-22 13:21:16 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
2020-08-17 08:13:54 +00:00
|
|
|
BuildRequires: perl
|
2016-03-22 13:21:16 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
|
|
%description
|
2017-07-12 03:45:28 +00:00
|
|
|
A tool for learning about and controlling the file system
|
|
|
|
|
cache of unix and unix-like systems.
|
2016-03-22 13:21:16 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
2017-07-12 03:45:28 +00:00
|
|
|
make CFLAGS="%{optflags} -std=gnu99"
|
2016-03-22 13:21:16 +00:00
|
|
|
|
|
|
|
|
%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}
|
2020-08-17 08:13:54 +00:00
|
|
|
|
|
|
|
|
%changelog
|