1 Summary: a tool that sorts files and packs them into bags
6 Source0: https://github.com/martymac/fpart/archive/%{name}-%{version}.tar.gz
7 # Source0-md5: 4a2a71f1d92feebf935808fed6dc493b
8 URL: http://contribs.martymac.org/
9 BuildRequires: autoconf
10 BuildRequires: automake
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Fpart is a tool that helps you sort file trees and pack them into bags
18 (called "partitions"). It is developed in C and available under the
21 It splits a list of directories and file trees into a certain number
22 of partitions, trying to produce partitions with the same size and
23 number of files. It can also produce partitions with a given number of
24 files or a limited size.
27 %setup -q -n %{name}-%{name}-%{version}
35 rm -rf $RPM_BUILD_ROOT
37 DESTDIR=$RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %doc Changelog README TODO
45 %attr(755,root,root) %{_bindir}/fpart
46 %attr(755,root,root) %{_bindir}/fpsync
47 %{_mandir}/man1/fpart.1*
48 %{_mandir}/man1/fpsync.1*