File: halibut.spec

package info (click to toggle)
halibut 1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,060 kB
  • sloc: ansic: 59,012; perl: 197; lisp: 76; makefile: 50; sh: 1
file content (58 lines) | stat: -rw-r--r-- 1,847 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# David Leonard <dleonard%vintela.com>, 2004.
# This file given to Simon Tatham to be released under the MIT licence
# of the Halibut distribution.
#
# SGT: I have no RedHat machine on which to test this file, so I
# cannot guarantee that it won't become out of date as the main
# Halibut code develops. It was submitted to me on 2004-11-17.

Name: halibut
Version: 0.9
Release: 1
Source: https://www.chiark.greenend.org.uk/~sgtatham/halibut/%{name}-%{version}.tar.gz
Group: Applications/Text
Summary: TeX-like software manual tool
License: MIT
URL: https://www.chiark.greenend.org.uk/~sgtatham/halibut.html
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

%package vim
Group: Applications/Editors
Summary: Syntax file for the halibut manual tool
PreReq: vim

%description
Halibut is yet another text formatting system, intended primarily for
writing software documentation. It accepts a single source format and
outputs a variety of formats, planned to include text, HTML, Texinfo,
Windows Help, Windows HTMLHelp, PostScript and PDF. It has comprehensive
indexing and cross-referencing support, and generates hyperlinks within
output documents wherever possible.

%description vim
This package provides vim syntax support for Halibut input files (*.but).

%prep
%setup

%build
gmake VERSION="%{version}"
(cd doc && gmake)

%install
mkdir -p %{buildroot}%{_bindir}
install -m 555 build/halibut %{buildroot}%{_bindir}/halibut
mkdir -p %{buildroot}%{_mandir}/man1
install -m 444 doc/halibut.1 %{buildroot}%{_mandir}/man1/halibut.1

VIMSYNTAX=%{_prefix}/share/vim/current/syntax
mkdir -p $RPM_BUILD_ROOT/$VIMSYNTAX
install -m 444 misc/halibut.vim %{buildroot}$VIMSYNTAX/halibut.vim

%files
%{_bindir}/halibut
%{_mandir}/man1/halibut.1*
%doc doc/halibut.txt doc/*.but doc/*.html LICENCE

%files vim
%{_prefix}/share/vim/current/syntax/halibut.vim