1 Summary: Acp is a rough implementation of an optimized filesystem walker
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)
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.
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
30 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -fno-strict-aliasing"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
36 cp -p %{name} $RPM_BUILD_ROOT%{_bindir}
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/%{name}