]> git.pld-linux.org Git - packages/htmldoc.git/blame - htmldoc.spec
- summary
[packages/htmldoc.git] / htmldoc.spec
CommitLineData
57443028
JB
1#
2# Conditional build:
3%bcond_without gui # without FLTK-based GUI
4#
79da5567 5%define snap r1629
fac7c3ba 6Summary: Convert html source files into html, postscript, or pdf
7Summary(pl.UTF-8): Konwertuj pliki html do ps, pdf lub html
c6ed2b5c 8Name: htmldoc
79da5567 9Version: 1.9
10Release: 0.1.%{snap}
6245a5f0 11License: GPL v2 with OpenSSL exception
c6ed2b5c 12Group: Applications/Publishing
79da5567 13Source0: ftp://ftp.easysw.com/pub/htmldoc/snapshots/%{name}-%{version}.x-%{snap}.tar.bz2
14# Source0-md5: a5982321cadbadaef9ec59c10733b9df
f71c1852
JR
15URL: http://www.htmldoc.org/
16%{?with_gui:BuildRequires: xorg-lib-libXpm-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
79da5567 35%setup -q -n %{name}-%{version}%{?snap:.x-%{snap}}
c6ed2b5c
JB
36
37%build
57443028
JB
38%configure \
39 %{!?with_gui:--without-gui}
c6ed2b5c
JB
40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%{__make} install \
45 datadir=$RPM_BUILD_ROOT%{_datadir} \
46 mandir=$RPM_BUILD_ROOT%{_mandir} \
47 bindir=$RPM_BUILD_ROOT%{_bindir}
48
c6ed2b5c
JB
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
f71c1852 54%doc COPYING.txt CHANGES.txt README.txt
79da5567 55%doc doc/*.html doc/htmldoc-fig*.png doc/htmldoc.p*
c6ed2b5c
JB
56%attr(755,root,root) %{_bindir}/*
57%{_mandir}/man1/*
58%{_datadir}/htmldoc
This page took 0.0306 seconds and 4 git commands to generate.