[packages/acp] - initial
arekm
arekm at pld-linux.org
Tue Aug 9 08:59:45 CEST 2016
commit f9990b22f95622f59db2ac31ee5c422607ef6ff2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 9 08:59:30 2016 +0200
- initial
acp.spec | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
---
diff --git a/acp.spec b/acp.spec
new file mode 100644
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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/acp.git/commitdiff/f9990b22f95622f59db2ac31ee5c422607ef6ff2
More information about the pld-cvs-commit
mailing list