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