]> git.pld-linux.org Git - packages/htmldoc.git/blame - htmldoc.spec
- tabs in preamble
[packages/htmldoc.git] / htmldoc.spec
CommitLineData
57443028
JB
1#
2# Conditional build:
3%bcond_without gui # without FLTK-based GUI
4#
c6ed2b5c 5Summary: HTML processing program
851559cd 6Summary(pl.UTF-8): Program przetwarzający HTML
c6ed2b5c 7Name: htmldoc
6db9485c 8Version: 1.8.23
8401104d 9Release: 1
c6ed2b5c
JB
10License: GPL
11Group: Applications/Publishing
57443028 12Source0: ftp://ftp.easysw.com/pub/htmldoc/%{version}/%{name}-%{version}-source.tar.bz2
6db9485c 13# Source0-md5: f867be6e4bdebf84ca6d58b16e4b839c
57443028 14Patch0: %{name}-link.patch
c6ed2b5c 15URL: http://www.easysw.com/htmldoc/
57443028 16%{?with_gui:BuildRequires: XFree86-devel}
c6ed2b5c 17BuildRequires: autoconf
ce6def71 18BuildRequires: automake
57443028 19%{?with_gui:BuildRequires: fltk-devel}
c6ed2b5c 20BuildRequires: libjpeg-devel
ed6a3387 21BuildRequires: libpng-devel
8d88edaf 22BuildRequires: openssl-devel >= 0.9.7d
ed6a3387 23BuildRequires: zlib-devel
c6ed2b5c
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27HTML processing program that generates HTML, PostScript, and PDF files
28with a table of contents.
29
cf3e1702
JR
30%description -l pl.UTF-8
31Program przetwarzający HTML, który generuje pliki HTML, PostScript i
32PDF ze spisem treści.
c6ed2b5c
JB
33
34%prep
35%setup -q
57443028 36%patch0 -p1
c6ed2b5c
JB
37
38%build
ce6def71 39%{__aclocal}
1f32fae4 40%{__autoconf}
57443028
JB
41%configure \
42 %{!?with_gui:--without-gui}
c6ed2b5c
JB
43%{__make}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%{__make} install \
48 datadir=$RPM_BUILD_ROOT%{_datadir} \
49 mandir=$RPM_BUILD_ROOT%{_mandir} \
50 bindir=$RPM_BUILD_ROOT%{_bindir}
51
c6ed2b5c
JB
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
3014bbd0 57%doc CHANGES.txt README.txt doc/htmldoc.html doc/htmldoc.png doc/htmldoc-fig*.png
c6ed2b5c
JB
58%attr(755,root,root) %{_bindir}/*
59%{_mandir}/man1/*
60%{_datadir}/htmldoc
This page took 0.058612 seconds and 4 git commands to generate.