[packages/fpart] - initial; from fc

arekm arekm at pld-linux.org
Thu Mar 4 13:48:30 CET 2021


commit 11ecac54736a33d0044aecb0476993652f9daeed
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 4 13:48:12 2021 +0100

    - initial; from fc

 fpart.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/fpart.spec b/fpart.spec
new file mode 100644
index 0000000..5b7450c
--- /dev/null
+++ b/fpart.spec
@@ -0,0 +1,49 @@
+Summary:	a tool that sorts files and packs them into bags
+Name:		fpart
+Version:	1.2.0
+Release:	1
+License:	BSD
+URL:		http://contribs.martymac.org
+Source0:	https://github.com/martymac/fpart/archive/%{name}-%{version}.tar.gz
+# Source0-md5:	4a2a71f1d92feebf935808fed6dc493b
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gcc
+Suggests:	cpio
+Suggests:	rsync
+Suggests:	sudo
+
+%description
+Fpart is a tool that helps you sort file trees and pack them into bags
+(called "partitions"). It is developed in C and available under the
+BSD license.
+
+It splits a list of directories and file trees into a certain number
+of partitions, trying to produce partitions with the same size and
+number of files. It can also produce partitions with a given number of
+files or a limited size.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+%build
+autoreconf --install
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog README TODO
+%attr(755,root,root) %{_bindir}/fpart
+%attr(755,root,root) %{_bindir}/fpsync
+%{_mandir}/man1/fpart.1*
+%{_mandir}/man1/fpsync.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fpart.git/commitdiff/11ecac54736a33d0044aecb0476993652f9daeed



More information about the pld-cvs-commit mailing list