]> git.pld-linux.org Git - packages/acp.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Aug 2016 06:59:30 +0000 (08:59 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Aug 2016 06:59:30 +0000 (08:59 +0200)
acp.spec [new file with mode: 0644]

diff --git a/acp.spec b/acp.spec
new file mode 100644 (file)
index 0000000..483b41f
--- /dev/null
+++ b/acp.spec
@@ -0,0 +1,41 @@
+Summary:       Acp is a rough implementation of an optimized filesystem walker
+Name:          acp
+Version:       0.6
+Release:       1
+License:       GPL v3+
+Group:         Networking/Utilities
+Source0:       https://oss.oracle.com/~mason/acp/acp-0.6.tar.bz2
+# Source0-md5: 47bbf4a22eaf37d7932ecb92d4c623ce
+# Source1-md5: f412602a3cba0b872adfaed905a0aa28
+URL:           https://oss.oracle.com/~mason/acp/
+BuildRequires: rpmbuild(macros) >= 1.318
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Acp is a rough implementation of an optimized filesystem walker. In general, when doing a full read of a directory tree you touch three different groups of objects.
+
+Directory data
+Inode data (things returned by stat(2))
+File bodies
+Acp creates queues corresponding to each of these groups, and tries to do work in bulk in each one. As it finds files and directories the are sorted by either inode number (the default) or by the first block in the file (acp -b).
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -fno-strict-aliasing"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
This page took 0.063986 seconds and 4 git commands to generate.