[packages/hfsutils] - build hfsck; release 4
qboosh
qboosh at pld-linux.org
Sat Mar 18 22:47:13 CET 2023
commit 3bb9d588257936a55a8e3e4cdfe24fac9f07469e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 18 22:49:05 2023 +0100
- build hfsck; release 4
hfsutils.spec | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/hfsutils.spec b/hfsutils.spec
index db77265..f9f7426 100644
--- a/hfsutils.spec
+++ b/hfsutils.spec
@@ -4,8 +4,8 @@ Summary: HFS volume utils
Summary(pl.UTF-8): Narzędzia do woluminów HFS
Name: hfsutils
Version: 3.2.6
-Release: 3
-License: GPL
+Release: 4
+License: GPL v2+
Group: Applications/System
Source0: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz
# Source0-md5: fa572afd6da969e25c1455f728750ec4
@@ -14,7 +14,7 @@ Patch1: %{name}-ac.patch
Patch2: %{name}-errno.patch
Patch3: %{name}-include-c99.patch
Patch4: %{name}-largefile.patch
-URL: http://www.mars.org/home/rob/proj/hfs/
+URL: https://www.mars.org/home/rob/proj/hfs/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -94,26 +94,33 @@ CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT"
--enable-devlibs \
--with-tcl \
--with-tk
-%{__make} -j1
+%{__make}
+
+%{__make} hfsck/hfsck
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -j1 install \
+%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install hfsck/hfsck $RPM_BUILD_ROOT%{_bindir}
+ln -sf hfsck $RPM_BUILD_ROOT%{_bindir}/fsck.hfs
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc BLURB CREDITS README CHANGES TODO doc/charset.txt
+%attr(755,root,root) %{_bindir}/fsck.hfs
%attr(755,root,root) %{_bindir}/hattrib
%attr(755,root,root) %{_bindir}/hcd
%attr(755,root,root) %{_bindir}/hcopy
%attr(755,root,root) %{_bindir}/hdel
%attr(755,root,root) %{_bindir}/hdir
%attr(755,root,root) %{_bindir}/hformat
+%attr(755,root,root) %{_bindir}/hfsck
%attr(755,root,root) %{_bindir}/hfsutil
%attr(755,root,root) %{_bindir}/hls
%attr(755,root,root) %{_bindir}/hmkdir
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hfsutils.git/commitdiff/3bb9d588257936a55a8e3e4cdfe24fac9f07469e
More information about the pld-cvs-commit
mailing list