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