[5928] | 1 | Summary: Tools for reading and writing Macintosh HFS volumes. |
---|
| 2 | Summary(ja): Macintosh HFS ボリュームの読み書きを行うツール |
---|
| 3 | Name: hfsutils |
---|
| 4 | Version: 3.2.6 |
---|
| 5 | Release: 9%{?_dist_release} |
---|
| 6 | Group: Applications/System |
---|
| 7 | License: GPLv2+ |
---|
| 8 | Source: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz |
---|
| 9 | Patch0: hfsutils-3.2.6-errno.patch |
---|
| 10 | Patch1: hfsutils-3.2.6-largefile.patch |
---|
| 11 | BuildRequires: libXft-devel |
---|
[521] | 12 | |
---|
| 13 | ## Vine Source(s)/Patch(es) |
---|
[5928] | 14 | Source100: hfsutils-man-ja.tar.gz |
---|
| 15 | Patch100: hfsutils-3.2.6-Makefile.patch |
---|
[521] | 16 | |
---|
[5928] | 17 | URL: http://www.mars.org/home/rob/proj/hfs/ |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 19 | Requires: tcl |
---|
| 20 | BuildRequires: tcl tk |
---|
[521] | 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: A C library for reading and writing Macintosh HFS volumes. |
---|
| 24 | Summary(ja): Macintosh HFS ボリュームの読み書きを行う為の C ライブラリ |
---|
| 25 | Group: Development/Libraries |
---|
[5928] | 26 | Provides: %{name}-static = %{version}-%{release} |
---|
[521] | 27 | |
---|
| 28 | %package x11 |
---|
| 29 | Summary: A Tk-based front end for browsing and copying files on Macintosh HFS volumes. |
---|
| 30 | Summary(ja): Macintosh HFS ボリュームアクセス用 Tk フロントエンド |
---|
| 31 | Group: Applications/System |
---|
| 32 | Requires: tcl tk |
---|
| 33 | Obsoletes: xhfs |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | HFS (Hierarchical File System) is the native volume format found on |
---|
| 38 | modern Macintosh computers. Hfsutils provides utilities for accessing |
---|
| 39 | HFS volumes from Linux and UNIX systems. Hfsutils contains several |
---|
| 40 | command-line programs which are comparable to mtools. |
---|
| 41 | |
---|
| 42 | %description -l ja |
---|
| 43 | HFS (Hierarchical File System) は Macintosh コンピュータ用の |
---|
| 44 | ボリュームフォーマットです.hfsutils は Linux や UNIX から |
---|
| 45 | この HFS ボリュームにアクセスする為のツールを提供します. |
---|
| 46 | mtools と互換性のあるコマンドラインプログラムを含んでいます. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %description devel |
---|
| 50 | The hfsutils-devel package provides a C library for low-level access |
---|
| 51 | to Macintosh volumes. HFS (Hierarchical File System) is the native |
---|
| 52 | volume format found on modern Macintosh computers. The C library can |
---|
| 53 | be linked with other programs to allow them to manipulate Macintosh |
---|
| 54 | files in their native format. Other HFS accessing utilities, which |
---|
| 55 | are comparable to mtools, are included in the hfsutils package. |
---|
| 56 | |
---|
| 57 | %description devel -l ja |
---|
| 58 | hfsutils-devel パッケージは Macintosh ボリュームへの低レベル |
---|
| 59 | アクセスの為の C ライブラリを提供します.HFS (Hierarchical |
---|
| 60 | File System) は Macintosh コンピュータ用のボリュームフォーマット |
---|
| 61 | です.C ライブラリはリンク可能で,いろいろなプログラムから |
---|
| 62 | Macintosh ボリューム上のファイルへのアクセスが可能になります. |
---|
| 63 | mtools と互換性のあるいろいろなユーティリティは hfsutils パッケージに |
---|
| 64 | 納められています. |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %description x11 |
---|
| 68 | The hfsutils-x11 package includes a Tk-based front end for browsing |
---|
| 69 | and copying files, and a Tcl package and interface for scriptable access |
---|
| 70 | to volumes. A C library for low-level access to volumes is included in the |
---|
| 71 | hfsutils-devel package. |
---|
| 72 | |
---|
| 73 | %description x11 -l ja |
---|
| 74 | hfsutils-x11 パッケージには、Macintosh HFS ボリュームにアクセスするための |
---|
| 75 | Tk ベースのフロントエンドが収録されています。 |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %prep |
---|
| 79 | %setup -q -a 100 |
---|
| 80 | %patch0 -p1 |
---|
[5928] | 81 | %patch1 -p1 |
---|
[521] | 82 | |
---|
| 83 | |
---|
| 84 | %build |
---|
| 85 | %{configure} --with-tcl=%{_libdir} --with-tk=%{_libdir} |
---|
| 86 | make |
---|
| 87 | make hfsck/hfsck |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %install |
---|
[5928] | 91 | rm -rf %{buildroot} |
---|
| 92 | mkdir -p %{buildroot}%{_bindir} |
---|
| 93 | mkdir -p %{buildroot}%{_mandir}/man1 |
---|
| 94 | mkdir -p %{buildroot}%{_includedir} |
---|
| 95 | mkdir -p %{buildroot}%{_libdir} |
---|
| 96 | make BINDEST=%{buildroot}%{_bindir} \ |
---|
| 97 | LIBDEST=%{buildroot}%{_libdir} \ |
---|
| 98 | INCDEST=%{buildroot}%{_includedir} \ |
---|
| 99 | MANDEST=%{buildroot}%{_mandir} \ |
---|
| 100 | INSTALL="install -p" \ |
---|
[521] | 101 | install install_lib |
---|
[5928] | 102 | install -m0755 hfsck/hfsck %{buildroot}/%{_bindir} |
---|
| 103 | ln -sf hfsck %{buildroot}/%{_bindir}/fsck.hfs |
---|
[521] | 104 | |
---|
| 105 | # install Japanese man pages |
---|
[5928] | 106 | mkdir -p %{buildroot}%{_mandir}/ja/man1 |
---|
| 107 | install -m 644 hfsutils-man-ja/* %{buildroot}%{_mandir}/ja/man1/. |
---|
[521] | 108 | |
---|
[5928] | 109 | gzip -9nvf %{buildroot}%{_mandir}/man1/* |
---|
| 110 | gzip -9nvf %{buildroot}%{_mandir}/ja/man1/* |
---|
[521] | 111 | |
---|
[5928] | 112 | find %{buildroot} -type f -or -type l | \ |
---|
| 113 | sed -e "s|%{buildroot}||" | |
---|
[521] | 114 | grep -v 'xhfs' | \ |
---|
| 115 | grep -v '%{_includedir}' | \ |
---|
| 116 | grep -v '%{_libdir}' > hfsutils.filelist |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %clean |
---|
[5928] | 120 | rm -rf %{buildroot} |
---|
[521] | 121 | |
---|
| 122 | |
---|
| 123 | %files -f hfsutils.filelist |
---|
| 124 | %defattr(-,root,root) |
---|
| 125 | %doc CHANGES COPYING COPYRIGHT CREDITS INSTALL README TODO |
---|
| 126 | |
---|
| 127 | %files x11 |
---|
| 128 | %defattr(-,root,root) |
---|
| 129 | %{_bindir}/xhfs |
---|
| 130 | %{_mandir}/man1/xhfs.1.* |
---|
| 131 | %{_mandir}/ja/man1/xhfs.1.* |
---|
| 132 | |
---|
| 133 | %files devel |
---|
| 134 | %defattr(-,root,root) |
---|
| 135 | %{_libdir}/libhfs.a |
---|
| 136 | %{_libdir}/librsrc.a |
---|
| 137 | %{_includedir}/hfs.h |
---|
| 138 | %{_includedir}/rsrc.h |
---|
| 139 | |
---|
| 140 | %changelog |
---|
[5928] | 141 | * Wed Mar 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.2.6-9 |
---|
| 142 | - rebuild; spec fix |
---|
| 143 | |
---|
[521] | 144 | * Sun Jul 27 2008 Shu KONNO <owa@bg.wakwak.com> 3.2.6-8vl5 |
---|
| 145 | - applied new versioning policy and spec in utf-8 |
---|
| 146 | |
---|
| 147 | * Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.6-7vl3 |
---|
| 148 | - rebuilt with new toolchain |
---|
| 149 | |
---|
| 150 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2.6-7vl2 |
---|
| 151 | - changed Group to Applications/System |
---|
| 152 | |
---|
| 153 | * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.2.6-7vl1 |
---|
| 154 | - import errno/largefile patches into 3.2.6-3vl6 |
---|
| 155 | |
---|
| 156 | * Wed Mar 2 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-7 |
---|
| 157 | - Rebuild with gcc 4 |
---|
| 158 | |
---|
| 159 | * Sun Feb 20 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-6 |
---|
| 160 | - Handle files larger than 2GiB |
---|
| 161 | - Include hfsck |
---|
| 162 | |
---|
| 163 | * Mon Feb 14 2005 David Woodhouse <dwmw2@redhat.com> 3.2.6-5 |
---|
| 164 | - s/Copyright:/License:/ (sic) |
---|
| 165 | |
---|
| 166 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 3.2.6-4 |
---|
| 167 | - rebuilt |
---|
| 168 | |
---|
| 169 | * Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-3 |
---|
| 170 | - BuildRequires tk-devel |
---|
| 171 | |
---|
| 172 | * Sun Apr 11 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-2.1 |
---|
| 173 | - Adjust configure invocation to find tcl in %%{_libdir} |
---|
| 174 | |
---|
| 175 | * Sun Apr 11 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-2 |
---|
| 176 | - Require tcl |
---|
| 177 | |
---|
| 178 | * Fri Apr 09 2004 David Woodhouse <dwmw2@redhat.com> 3.2.6-1 |
---|
| 179 | - Fix BuildRequires, include errno.h in tclhfs.c, use %%{configure} |
---|
| 180 | |
---|
| 181 | * Wed Oct 02 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com> |
---|
| 182 | - Anubis rebuild |
---|
| 183 | |
---|
| 184 | * Fri Mar 30 2001 Dan Burcaw <dburcaw@terrasoftsolutions.com> |
---|
| 185 | - split xhfs into its own package |
---|
| 186 | |
---|
| 187 | * Fri Feb 11 2000 Tim Powers <timp@redhat.com> |
---|
| 188 | - gzip manpages, strip binaries |
---|
| 189 | |
---|
| 190 | * Thu Jul 15 1999 Tim Powers <timp@redhat.com> |
---|
| 191 | - added %defattr |
---|
| 192 | - rebuilt for 6.1 |
---|
| 193 | |
---|
| 194 | * Thu Apr 15 1999 Michael Maher <mike@redhat.com> |
---|
| 195 | - built package for 6.0 |
---|
| 196 | - updated source |
---|
| 197 | |
---|
| 198 | * Thu Aug 20 1998 Michael Maher <mike@redhat.com> |
---|
| 199 | - built package |
---|
| 200 | |
---|