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

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