]> git.pld-linux.org Git - SPECS.git/blob - fpart.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / fpart.spec
1 Summary:        a tool that sorts files and packs them into bags
2 Name:           fpart
3 Version:        1.2.0
4 Release:        1
5 License:        BSD
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
11 Suggests:       cpio
12 Suggests:       rsync
13 Suggests:       sudo
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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
19 BSD license.
20
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.
25
26 %prep
27 %setup -q -n %{name}-%{name}-%{version}
28
29 %build
30 autoreconf --install
31 %configure
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
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*
This page took 0.159992 seconds and 3 git commands to generate.