]> git.pld-linux.org Git - SPECS.git/blob - acp.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / acp.spec
1 Summary:        Acp is a rough implementation of an optimized filesystem walker
2 Name:           acp
3 Version:        0.6
4 Release:        1
5 License:        unknown
6 Group:          Utilities
7 Source0:        https://oss.oracle.com/~mason/acp/%{name}-%{version}.tar.bz2
8 # Source0-md5:  47bbf4a22eaf37d7932ecb92d4c623ce
9 URL:            https://oss.oracle.com/~mason/acp/
10 BuildRequires:  rpmbuild(macros) >= 1.318
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Acp is a rough implementation of an optimized filesystem walker. In
15 general, when doing a full read of a directory tree you touch three
16 different groups of objects.
17
18 Directory data Inode data (things returned by stat(2)) File bodies Acp
19 creates queues corresponding to each of these groups, and tries to do
20 work in bulk in each one. As it finds files and directories the are
21 sorted by either inode number (the default) or by the first block in
22 the file (acp -b).
23
24 %prep
25 %setup -q
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -fno-strict-aliasing"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35
36 cp -p %{name} $RPM_BUILD_ROOT%{_bindir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/%{name}
This page took 0.211504 seconds and 3 git commands to generate.