]> git.pld-linux.org Git - packages/htmldoc.git/blame_incremental - htmldoc.spec
- release 11 (by relup.sh)
[packages/htmldoc.git] / htmldoc.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without gui # without FLTK-based GUI
4#
5Summary: HTML processing program
6Summary(pl.UTF-8): Program przetwarzający HTML
7Name: htmldoc
8Version: 1.8.27
9Release: 11
10License: GPL v2 with OpenSSL exception
11Group: Applications/Publishing
12Source0: ftp://ftp.easysw.com/pub/htmldoc/%{version}/%{name}-%{version}-source.tar.bz2
13# Source0-md5: 35589e7b8fe9c54e11be87cd5aec4dcc
14Patch0: %{name}-libpng15.patch
15URL: http://www.htmldoc.org/
16%{?with_gui:BuildRequires: xorg-lib-libXpm-devel}
17BuildRequires: autoconf
18BuildRequires: automake
19%{?with_gui:BuildRequires: fltk-devel}
20BuildRequires: libjpeg-devel
21BuildRequires: libpng-devel
22BuildRequires: openssl-devel >= 0.9.7d
23BuildRequires: zlib-devel
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
30%description -l pl.UTF-8
31Program przetwarzający HTML, który generuje pliki HTML, PostScript i
32PDF ze spisem treści.
33
34%prep
35%setup -q
36%patch0 -p0
37
38%build
39%configure \
40 %{!?with_gui:--without-gui}
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45%{__make} install \
46 datadir=$RPM_BUILD_ROOT%{_datadir} \
47 mandir=$RPM_BUILD_ROOT%{_mandir} \
48 bindir=$RPM_BUILD_ROOT%{_bindir}
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc COPYING.txt CHANGES.txt README.txt
56%doc doc/htmldoc.html doc/htmldoc-fig*.png doc/htmldoc.p* doc/help.html
57%attr(755,root,root) %{_bindir}/*
58%{_mandir}/man1/*
59%{_datadir}/htmldoc
This page took 0.102974 seconds and 4 git commands to generate.