Summary: Tools for reading and writing Macintosh HFS volumes Name: hfsutils Version: 3.2.6 Release: 19%{?dist} Group: Applications/File License: GPLv2+ Source: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz Patch0: hfsutils-3.2.6-errno.patch Patch1: hfsutils-3.2.6-largefile.patch URL: http://www.mars.org/home/rob/proj/hfs/ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: libXft-devel tcl-devel tk-devel %package devel Summary: A C library for reading and writing Macintosh HFS volumes Provides: %{name}-static = %{version}-%{release} Group: Development/Libraries %package x11 Summary: A Tk-based front end for browsing and copying files Group: Applications/File %description HFS (Hierarchical File System) is the native volume format found on modern Macintosh computers. Hfsutils provides utilities for accessing HFS volumes from Linux and UNIX systems. Hfsutils contains several command-line programs which are comparable to mtools. %description -n hfsutils-devel The hfsutils-devel package provides a C library for low-level access to Macintosh volumes. HFS (Hierarchical File System) is the native volume format found on modern Macintosh computers. The C library can be linked with other programs to allow them to manipulate Macintosh files in their native format. Other HFS accessing utilities, which are comparable to mtools, are included in the hfsutils package. %description -n hfsutils-x11 The hfsutils-x11 package includes a Tk-based front end for browsing and copying files, and a Tcl package and interface for scriptable access to volumes. A C library for low-level access to volumes is included in the hfsutils-devel package. %prep %setup -q %patch0 -p1 %patch1 -p0 %build %{configure} --with-tcl=%{_libdir} --with-tk=%{_libdir} make make hfsck/hfsck %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_includedir} mkdir -p $RPM_BUILD_ROOT%{_libdir} make BINDEST=$RPM_BUILD_ROOT%{_bindir} \ LIBDEST=$RPM_BUILD_ROOT%{_libdir} \ INCDEST=$RPM_BUILD_ROOT%{_includedir} \ MANDEST=$RPM_BUILD_ROOT%{_mandir} \ INSTALL="install -p" \ install install_lib install -p -m 0755 hfsck/hfsck $RPM_BUILD_ROOT/%{_bindir} ln -sf hfsck $RPM_BUILD_ROOT/%{_bindir}/fsck.hfs %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYING COPYRIGHT CREDITS README TODO %{_bindir}/hattrib %{_bindir}/hcd %{_bindir}/hcopy %{_bindir}/hdel %{_bindir}/hdir %{_bindir}/hformat %{_bindir}/hfs %{_bindir}/hfssh %{_bindir}/hls %{_bindir}/hmkdir %{_bindir}/hmount %{_bindir}/hpwd %{_bindir}/hrename %{_bindir}/hrmdir %{_bindir}/humount %{_bindir}/hvol %{_bindir}/hfsck %{_bindir}/fsck.hfs %{_mandir}/man1/hattrib.1.* %{_mandir}/man1/hcd.1.* %{_mandir}/man1/hcopy.1.* %{_mandir}/man1/hdel.1.* %{_mandir}/man1/hdir.1.* %{_mandir}/man1/hformat.1.* %{_mandir}/man1/hfs.1.* %{_mandir}/man1/hfssh.1.* %{_mandir}/man1/hfsutils.1.* %{_mandir}/man1/hls.1.* %{_mandir}/man1/hmkdir.1.* %{_mandir}/man1/hmount.1.* %{_mandir}/man1/hpwd.1.* %{_mandir}/man1/hrename.1.* %{_mandir}/man1/hrmdir.1.* %{_mandir}/man1/humount.1.* %{_mandir}/man1/hvol.1.* # We don't want this. %exclude %{_bindir}/hfssh %files -n hfsutils-x11 %defattr(-,root,root) %{_bindir}/xhfs %{_mandir}/man1/xhfs.1.* %files -n hfsutils-devel %defattr(-,root,root) %{_libdir}/libhfs.a %{_libdir}/librsrc.a %{_includedir}/hfs.h %{_includedir}/rsrc.h %changelog * Fri Sep 25 2009 Peter Lemenkov <lemenkov@gmail.com> - 3.2.6-19 - Added provides hfsutils-static (bz #225886) - Use INSTALL="install -p" (bz #225886) * Fri Sep 25 2009 Peter Lemenkov <lemenkov@gmail.com> - 3.2.6-18 - Fixed issues from the Merge Review (bz #225886) * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.6-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 3.2.6-15 - Updated large file patch. Closes Red Hat Bugzilla bug #465060. - Added 'BuildRequires: libXft-devel'. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.6-14 - Autorebuild for GCC 4.3 * Fri Jan 25 2008 Jesse Keating <jkeating@redhat.com> - 3.2.6-13 - Exclude hfssh, nobody really uses it and it drags in tcl to the base requires. - Drop the artificial tcl requirement, rpm will do it's job on reqs. * Thu Jan 03 2008 David Woodhouse <dwmw2@infradead.org> 3.2.6-12 - Rebuild for tcl 8.5 * Wed Aug 22 2007 David Woodhouse <dwmw2@infradead.org> 3.2.6-11 - Update licence * Wed Aug 22 2007 David Woodhouse <dwmw2@infradead.org> 3.2.6-10 - Rebuild * Fri Feb 09 2007 David Cantrell <dcantrell@redhat.com> 3.2.6-9 - Rebuild for tcl * Fri Jan 26 2007 Jesse Keating <jkeating@redhat.com> 3.2.6-8 - rebuild for new tcl * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 3.2.6-7.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 3.2.6-7.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 3.2.6-7.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - rebuilt * Wed Mar 2 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-7 - Rebuild with gcc 4 * Sun Feb 20 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-6 - Handle files larger than 2GiB - Include hfsck * Mon Feb 14 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-5 - s/Copyright:/License:/ (sic) * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.2.6-4 - rebuilt * Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-3 - BuildRequires tk-devel * Sun Apr 11 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-2.1 - Adjust configure invocation to find tcl in %%{_libdir} * Sun Apr 11 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-2 - Require tcl * Fri Apr 09 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-1 - Fix BuildRequires, include errno.h in tclhfs.c, use %%{configure} * Wed Oct 02 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com> - Anubis rebuild * Fri Mar 30 2001 Dan Burcaw <dburcaw@terrasoftsolutions.com> - split xhfs into its own package * Fri Feb 11 2000 Tim Powers <timp@redhat.com> - gzip manpages, strip binaries * Thu Jul 15 1999 Tim Powers <timp@redhat.com> - added %%defattr - rebuilt for 6.1 * Thu Apr 15 1999 Michael Maher <mike@redhat.com> - built package for 6.0 - updated source * Thu Aug 20 1998 Michael Maher <mike@redhat.com> - built package