hfsutils/hfsutils.spec

75 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: hfsutils
Version: 3.2.6
Release: 3mamba
Summary: Tools for HFS, the ?Hierarchical File System" used on modern Macintosh computers
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.mars.org/home/rob/proj/hfs/
Source: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
HFS is the ?Hierarchical File System,? the native volume format used on modern Macintosh computers. hfsutils is the name of a comprehensive software package being developed to permit manipulation of HFS volumes from UNIX and other systems.
This package contains a variety of tools originally developed for use under UNIX systems:
Several command-line programs (hformat, hmount, hls, hcopy, et al.)
The command-line programs are intended to be used in the same vein as the mtools command-line programs used to access MS-DOS filesystems.
%prep
%setup -q
%build
./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir}
%make CC=%{_target_platform}-gcc
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
%makeoldinstall MANDEST=%{buildroot}%{_mandir}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/h*
%{_mandir}/man1/hattrib.1.gz
%{_mandir}/man1/hcd.1.gz
%{_mandir}/man1/hcopy.1.gz
%{_mandir}/man1/hdel.1.gz
%{_mandir}/man1/hdir.1.gz
%{_mandir}/man1/hformat.1.gz
#%{_mandir}/man1/hfs.1.gz
#%{_mandir}/man1/hfssh.1.gz
%{_mandir}/man1/hfsutils.1.gz
%{_mandir}/man1/hls.1.gz
%{_mandir}/man1/hmkdir.1.gz
%{_mandir}/man1/hmount.1.gz
%{_mandir}/man1/hpwd.1.gz
%{_mandir}/man1/hrename.1.gz
%{_mandir}/man1/hrmdir.1.gz
%{_mandir}/man1/humount.1.gz
%{_mandir}/man1/hvol.1.gz
#%{_mandir}/man1/xhfs.1.gz
%doc CHANGES COPYING CREDITS README TODO
%changelog
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 3.2.6-3mamba
- automatic rebuild by autodist
* Sun May 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6-2mamba
- specfile updated and rebuilt
* Mon Aug 22 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.6-1qilnx
- package created by autospec