File hfsutils.spec of Package hfsutils
#
# spec file for package hfsutils (Version 3.2.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
# usedforbuild aaa_base acl attr audit-libs autoconf automake bash binutils bzip2 coreutils cpio cpp cpp42 cracklib cvs diffutils file filesystem fillup findutils fontconfig fontconfig-devel freetype2 freetype2-devel gawk gcc gcc42 gdbm gettext gettext-devel glibc glibc-devel glibc-locale grep groff gzip info insserv less libacl libattr libbz2-1 libbz2-devel libdb-4_5 libexpat-devel libexpat1 libgcc42 libgomp42 libltdl-3 libmudflap42 libreadline5 libstdc++42 libtool libuuid1 libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp ncurses net-tools netcfg pam pam-modules patch perl perl-base permissions pkg-config popt rpm sed sysvinit tar tcl tcl-devel texinfo timezone tk tk-devel util-linux xorg-x11-devel xorg-x11-fonts-devel xorg-x11-libICE xorg-x11-libICE-devel xorg-x11-libSM xorg-x11-libSM-devel xorg-x11-libX11 xorg-x11-libX11-devel xorg-x11-libXau xorg-x11-libXau-devel xorg-x11-libXdmcp xorg-x11-libXdmcp-devel xorg-x11-libXext xorg-x11-libXext-devel xorg-x11-libXfixes xorg-x11-libXfixes-devel xorg-x11-libXmu xorg-x11-libXmu-devel xorg-x11-libXp xorg-x11-libXp-devel xorg-x11-libXpm xorg-x11-libXpm-devel xorg-x11-libXprintUtil xorg-x11-libXprintUtil-devel xorg-x11-libXrender xorg-x11-libXrender-devel xorg-x11-libXt xorg-x11-libXt-devel xorg-x11-libXv xorg-x11-libXv-devel xorg-x11-libfontenc xorg-x11-libfontenc-devel xorg-x11-libs xorg-x11-libxcb xorg-x11-libxcb-devel xorg-x11-libxkbfile xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel zlib zlib-devel
Name: hfsutils
BuildRequires: tk-devel xorg-x11-devel
License: GPL v2 or later
Group: System/Filesystems
AutoReqProv: on
Version: 3.2.6
Release: 1129
Summary: Tools Used for the Macintosh's Hierarchical File System
Url: http://www.mars.org/home/rob/proj/hfs/
Source: hfsutils-%{version}.tar.bz2
Patch: hfsutils-%{version}.dif
Patch1: hfsutils-%{version}-ia64.dif
Patch2: hfsutils-%{version}-seek.dif
Patch3: hfsutils-%{version}-conf.dif
Patch4: hfsutils-%{version}-errno.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
HFS is the Hierarchical File System used on modern Macintosh computers.
With this package, you can read and write Macintosh-formatted media,
such as floppy disks, CD-ROMs, and SCSI hard disks on most UNIX
platforms. You can also format raw media into an HFS volume.
Authors:
--------
Robert Leslie <rob@mars.org>
%debug_package
%package -n xhfsutil
Version: 3.2.6
Release: 1119
Summary: Tcl/Tk Front-End for hfsutils
Group: System/Filesystems
AutoReqProv: on
Requires: hfsutils
%description -n xhfsutil
A Tcl interface for scriptable access to volumes and Tk-based
front-end for browsing and copying files through a variety of transfer
modes (MacBinary, BinHex, text, etc.) for hfsutils.
Authors:
--------
Robert Leslie <rob@mars.org>
%prep
%setup
%patch
%patch1
%patch2
%patch3
%patch4
%build
%{suse_update_config -f}
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" \
./configure --prefix=/usr --mandir=%{_mandir} \
--with-tcl=%{_libdir} --with-tk=%{_libdir}
make
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README TODO CHANGES BLURB COPYING COPYRIGHT CREDITS
/usr/bin/hattrib
/usr/bin/hcd
/usr/bin/hcopy
/usr/bin/hdel
/usr/bin/hdir
/usr/bin/hformat
/usr/bin/hls
/usr/bin/hmkdir
/usr/bin/hmount
/usr/bin/hpwd
/usr/bin/hrename
/usr/bin/hrmdir
/usr/bin/humount
/usr/bin/hvol
%doc %{_mandir}/man1/hattrib.1.gz
%doc %{_mandir}/man1/hcd.1.gz
%doc %{_mandir}/man1/hcopy.1.gz
%doc %{_mandir}/man1/hdel.1.gz
%doc %{_mandir}/man1/hdir.1.gz
%doc %{_mandir}/man1/hformat.1.gz
%doc %{_mandir}/man1/hls.1.gz
%doc %{_mandir}/man1/hmkdir.1.gz
%doc %{_mandir}/man1/hmount.1.gz
%doc %{_mandir}/man1/hpwd.1.gz
%doc %{_mandir}/man1/hrename.1.gz
%doc %{_mandir}/man1/hrmdir.1.gz
%doc %{_mandir}/man1/humount.1.gz
%doc %{_mandir}/man1/hvol.1.gz
%doc %{_mandir}/man1/hfsutils.1.gz
%files -n xhfsutil
%defattr(-,root,root)
/usr/bin/hfssh
/usr/bin/hfs
/usr/bin/xhfs
%doc %{_mandir}/man1/hfssh.1.gz
%doc %{_mandir}/man1/hfs.1.gz
%doc %{_mandir}/man1/xhfs.1.gz
%changelog
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Wed Jul 23 2003 - max@suse.de
- added tk-devel to neededforbuild.
* Mon Dec 02 2002 - ro@suse.de
- include errno.h where needed
* Mon Nov 18 2002 - schwab@suse.de
- Enable LFS.
- Fix use of off_t.
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Wed Jan 23 2002 - tcrhak@suse.cz
- used macros %%{_lib} and %%{_libdir}
* Wed May 16 2001 - cihlar@suse.cz
- fixed cast warnings on ia64
* Wed Mar 07 2001 - cihlar@suse.cz
- fixed neededforbuild
* Wed Nov 29 2000 - ro@suse.de
- changed neededforbuild <tcld> to <tcl-devel>
* Fri Nov 03 2000 - cihlar@suse.cz
- bzipped sources
- improved BuildRoot
* Tue Jul 11 2000 - cihlar@suse.cz
- fixed bug in error messages in hcopy
* Fri Jun 16 2000 - cihlar@suse.cz
- Copyright tag fixed
* Tue May 16 2000 - cihlar@suse.cz
- xhfs, hfssh and hfs moved to xhfsutils
* Mon May 15 2000 - cihlar@suse.cz
- Group sorted
* Wed Apr 05 2000 - cihlar@suse.cz
- added BuildRoot
- clean up spec file
* Thu Jan 20 2000 - ro@suse.de
- man to /usr/share/man
* Wed Oct 13 1999 - ro@suse.de
- update to 3.2.6
* Tue Oct 12 1999 - ro@suse.de
- added tcld to neededforbuild
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed May 13 1998 - ro@suse.de
- new package version 3.2