source: projects/specs/trunk/h/hfsutils/hfsutils-vl.spec @ 9248

Revision 9248, 6.4 KB checked in by inagaki, 7 years ago (diff)

2015-01-11 Ryoichi INAGAKI <ryo1@…>

  • QtRuby?, kimono, kio_gopher, korundum, qyoto: updated
  • hfsutils, kio-ftps, kio_sysinfo, kphotoalbum: rebuilt
  • jfsutils: added Patch


Line 
1Summary:        Tools for reading and writing Macintosh HFS volumes
2Summary(ja):    Macintosh HFS ボリュームの読み書きを行うツール
3Name:           hfsutils
4Version:        3.2.6 
5Release:        10%{?_dist_release}
6Group:          Applications/System
7License:        GPLv2+
8URL:            http://www.mars.org/home/rob/proj/hfs/
9
10Source:         ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz
11Patch0:         hfsutils-3.2.6-errno.patch
12Patch1:         hfsutils-3.2.6-largefile.patch
13
14## Vine Source(s)/Patch(es)
15Source100:      hfsutils-man-ja.tar.gz
16Patch100:       hfsutils-3.2.6-Makefile.patch
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires:  tcl
20BuildRequires:  tk
21BuildRequires:  libXft-devel
22Requires:       tcl
23
24%package devel
25Summary: A C library for reading and writing Macintosh HFS volumes.
26Summary(ja): Macintosh HFS ボリュームの読み書きを行う為の C ライブラリ
27Group: Development/Libraries
28Provides: %{name}-static = %{version}-%{release}
29
30%package x11
31Summary: A Tk-based front end for browsing and copying files on Macintosh HFS volumes.
32Summary(ja): Macintosh HFS ボリュームアクセス用 Tk フロントエンド
33Group: Applications/System
34Requires: tcl tk
35Obsoletes: xhfs
36
37
38%description
39HFS (Hierarchical File System) is the native volume format found on
40modern Macintosh computers.  Hfsutils provides utilities for accessing
41HFS volumes from Linux and UNIX systems.  Hfsutils contains several
42command-line programs which are comparable to mtools.
43
44%description -l ja
45HFS (Hierarchical File System) は Macintosh コンピュータ用の
46ボリュームフォーマットです.hfsutils は Linux や UNIX から
47この HFS ボリュームにアクセスする為のツールを提供します.
48mtools と互換性のあるコマンドラインプログラムを含んでいます.
49
50
51%description devel
52The hfsutils-devel package provides a C library for low-level access
53to Macintosh volumes. HFS (Hierarchical File System) is the native
54volume format found on modern Macintosh computers.  The C library can
55be linked with other programs to allow them to manipulate Macintosh
56files in their native format.  Other HFS accessing utilities, which
57are comparable to mtools, are included in the hfsutils package.
58
59%description devel -l ja
60hfsutils-devel パッケージは Macintosh ボリュームへの低レベル
61アクセスの為の C ライブラリを提供します.HFS (Hierarchical
62File System) は Macintosh コンピュータ用のボリュームフォーマット
63です.C ライブラリはリンク可能で,いろいろなプログラムから
64Macintosh ボリューム上のファイルへのアクセスが可能になります.
65mtools と互換性のあるいろいろなユーティリティは hfsutils パッケージに
66納められています.
67
68
69%description x11
70The hfsutils-x11 package includes a Tk-based front end for browsing
71and copying files, and a Tcl package and interface for scriptable access
72to volumes.  A C library for low-level access to volumes is included in the
73hfsutils-devel package.
74
75%description x11 -l ja
76hfsutils-x11 パッケージには、Macintosh HFS ボリュームにアクセスするための
77Tk ベースのフロントエンドが収録されています。
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}
88make
89make hfsck/hfsck
90
91
92%install
93rm -rf %{buildroot}
94mkdir -p %{buildroot}%{_bindir}
95mkdir -p %{buildroot}%{_mandir}/man1
96mkdir -p %{buildroot}%{_includedir}
97mkdir -p %{buildroot}%{_libdir}
98make    BINDEST=%{buildroot}%{_bindir} \
99        LIBDEST=%{buildroot}%{_libdir} \
100        INCDEST=%{buildroot}%{_includedir} \
101        MANDEST=%{buildroot}%{_mandir} \
102        INSTALL="install -p" \
103        install install_lib
104install -m0755 hfsck/hfsck %{buildroot}/%{_bindir}
105ln -sf hfsck %{buildroot}/%{_bindir}/fsck.hfs
106
107# install Japanese man pages
108mkdir -p %{buildroot}%{_mandir}/ja/man1
109install -m 644 hfsutils-man-ja/* %{buildroot}%{_mandir}/ja/man1/.
110
111gzip -9nvf %{buildroot}%{_mandir}/man1/*
112gzip -9nvf %{buildroot}%{_mandir}/ja/man1/*
113
114find %{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
122rm -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
Note: See TracBrowser for help on using the repository browser.