2024-01-05 23:40:33 +01:00
|
|
|
Name: hfstools
|
2024-01-05 23:40:34 +01:00
|
|
|
Version: 540.1
|
2024-01-05 23:40:33 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:40:33 +01:00
|
|
|
Summary: Tools to initialize and repair HFS and HFS+ filesystems
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://opensource.apple.com
|
2024-01-05 23:40:34 +01:00
|
|
|
#Source: http://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-%{version}.tar.gz
|
|
|
|
Source: http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/hfsprogs_%{version}.linux3.orig.tar.gz
|
|
|
|
Source1: https://src.fedoraproject.org/rpms/hfsplus-tools/raw/master/f/apsl-2.0.txt
|
|
|
|
Patch0: hfstools-540.1-sysctl.patch
|
|
|
|
Patch1: hfstools-540.1-noblocks.patch
|
|
|
|
Patch2: hfstools-540.1-learn-to-stdarg.patch
|
|
|
|
License: APSL 2.0
|
2024-01-05 23:40:33 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:40:34 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 23:40:33 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools to initialize and repair HFS and HFS+ filesystems.
|
|
|
|
|
2024-01-05 23:40:34 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:40:33 +01:00
|
|
|
%prep
|
2024-01-05 23:40:34 +01:00
|
|
|
%setup -q -n diskdev_cmds-%{version}.linux3
|
|
|
|
cp %{SOURCE1} ./apsl-2.0.txt
|
|
|
|
#-a1
|
|
|
|
#cat debian/patches/*.patch|patch -p1
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2024-01-05 23:40:33 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:40:34 +01:00
|
|
|
%make
|
|
|
|
#-f Makefile.lnx
|
2024-01-05 23:40:33 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
install -D -m 0755 newfs_hfs.tproj/newfs_hfs %{buildroot}/sbin/mkfs.hfsplus
|
|
|
|
install -D -m 0644 newfs_hfs.tproj/newfs_hfs.8 %{buildroot}%{_mandir}/man8/mkfs.hfsplus.8
|
|
|
|
install -D -m 0755 fsck_hfs.tproj/fsck_hfs %{buildroot}/sbin/fsck.hfsplus
|
|
|
|
install -D -m 0644 fsck_hfs.tproj/fsck_hfs.8 %{buildroot}%{_mandir}/man8/fsck.hfsplus.8
|
|
|
|
ln -s mkfs.hfsplus %{buildroot}/sbin/mkfs.hfs
|
|
|
|
ln -s fsck.hfsplus %{buildroot}/sbin/fsck.hfs
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/sbin/mkfs.hfsplus
|
|
|
|
/sbin/fsck.hfsplus
|
|
|
|
/sbin/mkfs.hfs
|
|
|
|
/sbin/fsck.hfs
|
2024-01-05 23:40:34 +01:00
|
|
|
%{_mandir}/man8/mkfs.hfsplus.8*
|
|
|
|
%{_mandir}/man8/fsck.hfsplus.8*
|
|
|
|
%doc apsl-2.0.txt
|
2024-01-05 23:40:33 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:40:34 +01:00
|
|
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 540.1-1mamba
|
|
|
|
- update to 540.1
|
|
|
|
|
2024-01-05 23:40:33 +01:00
|
|
|
* Sun Jun 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 332.25-1mamba
|
|
|
|
- update to 332.25
|
|
|
|
|
2024-01-05 23:40:33 +01:00
|
|
|
* Sat Feb 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 332.14-5mamba
|
|
|
|
- added a patch to fix build using binutils gold linker
|
|
|
|
|
|
|
|
* Thu Apr 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 332.14-4mamba
|
|
|
|
- fsck.hfs: added patch to support -a switch for compatibility with linux fsck
|
|
|
|
|
|
|
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 332.14-3mamba
|
|
|
|
- rebuilt with openssl 1.0.0
|
|
|
|
|
|
|
|
* Fri Oct 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 332.14-2mamba
|
|
|
|
- rebuilt with openssl 0.9.8
|
|
|
|
|
|
|
|
* Wed May 24 2006 Silvan Calarco <silvan.calarco@qilinux.it> 332.14-1qilnx
|
|
|
|
- package created by autospec
|