]> git.pld-linux.org Git - packages/htmldoc.git/blob - htmldoc.spec
- tabs in preamble
[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.23
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:  f867be6e4bdebf84ca6d58b16e4b839c
14 Patch0:         %{name}-link.patch
15 URL:            http://www.easysw.com/htmldoc/
16 %{?with_gui:BuildRequires:      XFree86-devel}
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 %{?with_gui:BuildRequires:      fltk-devel}
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng-devel
22 BuildRequires:  openssl-devel >= 0.9.7d
23 BuildRequires:  zlib-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 HTML processing program that generates HTML, PostScript, and PDF files
28 with a table of contents.
29
30 %description -l pl.UTF-8
31 Program przetwarzający HTML, który generuje pliki HTML, PostScript i
32 PDF ze spisem treści.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %configure \
42         %{!?with_gui:--without-gui}
43 %{__make}
44
45 %install
46 rm -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
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc CHANGES.txt README.txt doc/htmldoc.html doc/htmldoc.png doc/htmldoc-fig*.png
58 %attr(755,root,root) %{_bindir}/*
59 %{_mandir}/man1/*
60 %{_datadir}/htmldoc
This page took 0.085433 seconds and 3 git commands to generate.