]> git.pld-linux.org Git - packages/htmldoc.git/blame - htmldoc.spec
- fix typo
[packages/htmldoc.git] / htmldoc.spec
CommitLineData
57443028
JB
1#
2# Conditional build:
3%bcond_without gui # without FLTK-based GUI
4#
a3065142
JR
5Summary: HTML processing program
6Summary(pl.UTF-8): Program przetwarzający HTML
c6ed2b5c 7Name: htmldoc
a3065142 8Version: 1.8.27
a217adaf 9Release: 15
6245a5f0 10License: GPL v2 with OpenSSL exception
c6ed2b5c 11Group: Applications/Publishing
a3065142
JR
12Source0: ftp://ftp.easysw.com/pub/htmldoc/%{version}/%{name}-%{version}-source.tar.bz2
13# Source0-md5: 35589e7b8fe9c54e11be87cd5aec4dcc
69aafb71 14Patch0: %{name}-libpng15.patch
2db4bc04
AM
15Patch1: htmldoc-1.8.27-fortify-fail.patch
16Patch2: htmldoc-1.8.27-scanf-overflows.patch
95bb8bbf 17Patch3: gcc11.patch
f71c1852
JR
18URL: http://www.htmldoc.org/
19%{?with_gui:BuildRequires: xorg-lib-libXpm-devel}
c6ed2b5c 20BuildRequires: autoconf
ce6def71 21BuildRequires: automake
57443028 22%{?with_gui:BuildRequires: fltk-devel}
c6ed2b5c 23BuildRequires: libjpeg-devel
ed6a3387 24BuildRequires: libpng-devel
8d88edaf 25BuildRequires: openssl-devel >= 0.9.7d
ed6a3387 26BuildRequires: zlib-devel
c6ed2b5c
JB
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30HTML processing program that generates HTML, PostScript, and PDF files
31with a table of contents.
32
cf3e1702
JR
33%description -l pl.UTF-8
34Program przetwarzający HTML, który generuje pliki HTML, PostScript i
35PDF ze spisem treści.
c6ed2b5c
JB
36
37%prep
a3065142 38%setup -q
69aafb71 39%patch0 -p0
2db4bc04
AM
40%patch1 -p1
41%patch2 -p1
a217adaf 42%patch3 -p1
c6ed2b5c
JB
43
44%build
57443028
JB
45%configure \
46 %{!?with_gui:--without-gui}
c6ed2b5c
JB
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%{__make} install \
52 datadir=$RPM_BUILD_ROOT%{_datadir} \
53 mandir=$RPM_BUILD_ROOT%{_mandir} \
54 bindir=$RPM_BUILD_ROOT%{_bindir}
55
c6ed2b5c
JB
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
f71c1852 61%doc COPYING.txt CHANGES.txt README.txt
a3065142 62%doc doc/htmldoc.html doc/htmldoc-fig*.png doc/htmldoc.p* doc/help.html
c6ed2b5c
JB
63%attr(755,root,root) %{_bindir}/*
64%{_mandir}/man1/*
65%{_datadir}/htmldoc
This page took 0.046646 seconds and 5 git commands to generate.