Add an error check for correct formatting in Deflate uncompressed
[sgt/halibut] / misc / halibut.spec
CommitLineData
d21bd39f 1# David Leonard <dleonard%vintela.com>, 2004.
2# This file given to Simon Tatham to be released under the MIT licence
3# of the Halibut distribution.
4#
5# SGT: I have no RedHat machine on which to test this file, so I
6# cannot guarantee that it won't become out of date as the main
7# Halibut code develops. It was submitted to me on 2004-11-17.
8
9Name: halibut
10Version: 0.9
11Release: 1
12Source: http://www.chiark.greenend.org.uk/~sgtatham/halibut/%{name}-%{version}.tar.gz
13Group: Applications/Text
14Summary: TeX-like software manual tool
15License: MIT
16URL: http://www.chiark.greenend.org.uk/~sgtatham/halibut.html
17BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
18
19%package vim
20Group: Applications/Editors
21Summary: Syntax file for the halibut manual tool
22PreReq: vim
23
24%description
25Halibut is yet another text formatting system, intended primarily for
26writing software documentation. It accepts a single source format and
27outputs a variety of formats, planned to include text, HTML, Texinfo,
28Windows Help, Windows HTMLHelp, PostScript and PDF. It has comprehensive
29indexing and cross-referencing support, and generates hyperlinks within
30output documents wherever possible.
31
32%description vim
33This package provides vim syntax support for Halibut input files (*.but).
34
35%prep
36%setup
37
38%build
39gmake VERSION="%{version}"
40(cd doc && gmake)
41
42%install
43mkdir -p %{buildroot}%{_bindir}
44install -m 555 build/halibut %{buildroot}%{_bindir}/halibut
45mkdir -p %{buildroot}%{_mandir}/man1
46install -m 444 doc/halibut.1 %{buildroot}%{_mandir}/man1/halibut.1
47
48VIMSYNTAX=%{_prefix}/share/vim/current/syntax
49mkdir -p $RPM_BUILD_ROOT/$VIMSYNTAX
50install -m 444 misc/halibut.vim %{buildroot}$VIMSYNTAX/halibut.vim
51
52%files
53%{_bindir}/halibut
54%{_mandir}/man1/halibut.1*
55%doc doc/halibut.txt doc/*.but doc/*.html LICENCE
56
57%files vim
58%{_prefix}/share/vim/current/syntax/halibut.vim