diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-11-18 09:47:02 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-11-18 09:47:02 +0000 |
| commit | 496fda07f45c50d4bdcc936bdb611180aa60be62 (patch) | |
| tree | 12411f747c83c1f7b447dccd89bf65ad116dbb2d /misc/halibut.spec | |
| parent | f8a92703436790c0cc758414e22039e1b712c779 (diff) | |
| download | halibut-496fda07f45c50d4bdcc936bdb611180aa60be62.zip halibut-496fda07f45c50d4bdcc936bdb611180aa60be62.tar.gz halibut-496fda07f45c50d4bdcc936bdb611180aa60be62.tar.bz2 halibut-496fda07f45c50d4bdcc936bdb611180aa60be62.tar.xz | |
David Leonard has contributed an RPM spec file for building RedHat
packages of Halibut. I can't conveniently test it, but it's here if
anyone needs it.
[originally from svn r4812]
Diffstat (limited to 'misc/halibut.spec')
| -rw-r--r-- | misc/halibut.spec | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/misc/halibut.spec b/misc/halibut.spec new file mode 100644 index 0000000..484fb5c --- /dev/null +++ b/misc/halibut.spec @@ -0,0 +1,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: http://www.chiark.greenend.org.uk/~sgtatham/halibut/%{name}-%{version}.tar.gz +Group: Applications/Text +Summary: TeX-like software manual tool +License: MIT +URL: http://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 |