forked from fmidev/linux-ftools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
linux-ftools.spec
54 lines (42 loc) · 1.29 KB
/
linux-ftools.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: FS Cache and system resource utilization tools
Name: linux-ftools
Version: 1.0.1
Release: 1
License: GPL
Group: Applications/System
URL: https://github.com/hpernu/linux-ftools
Source: %{name}-%{version}.tar.gz
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: make
BuildRequires: gcc
BuildRequires: rpm-build
%description
These are tools designed for working with modern linux system calls including, mincore, fallocate, fadvise, etc.
They are designed primarily to work in high performance environments to determine information about the running kernel, improve system performance, and debug performance problems.
%prep
%setup
%build
sed -e 's/^fallocate_SOURCES =.*$// ' -e 's/ fallocate//' --in-place Makefile.am
aclocal
automake
autoconf
./configure
make %{_smp_mflags}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0775,root,root,0775)
%{_bindir}/fincore
%{_bindir}/fadvise
%changelog
* Wed May 30 2018 Heikki Pernu
- Open files to query in read-only mode, bump version
* Mon May 28 2018 Heikki Pernu
- Remove fallocate from packaging as util-linux has the same command and similar functionality already
* Mon May 28 2018 Heikki Pernu
- Fix and make source build more de-facto standard conforming
* Thu May 24 2018 Heikki Pernu
- Created spec file