]> git.pld-linux.org Git - packages/htmldoc.git/blob - htmldoc.spec
- up to 1.9.x snap (UTF-8 support)
[packages/htmldoc.git] / htmldoc.spec
1 #
2 # Conditional build:
3 %bcond_without  gui     # without FLTK-based GUI
4 #
5 %define         snap    r1629
6 Summary:        HTML processing program
7 Summary(pl.UTF-8):      Program przetwarzający HTML
8 Name:           htmldoc
9 Version:        1.9
10 Release:        0.1.%{snap}
11 License:        GPL v2 with OpenSSL exception
12 Group:          Applications/Publishing
13 Source0:        ftp://ftp.easysw.com/pub/htmldoc/snapshots/%{name}-%{version}.x-%{snap}.tar.bz2
14 # Source0-md5:  a5982321cadbadaef9ec59c10733b9df
15 URL:            http://www.htmldoc.org/
16 %{?with_gui:BuildRequires:      xorg-lib-libXpm-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 -n %{name}-%{version}%{?snap:.x-%{snap}}
36
37 %build
38 %configure \
39         %{!?with_gui:--without-gui}
40 %{__make}
41
42 %install
43 rm -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
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc COPYING.txt CHANGES.txt README.txt
55 %doc doc/*.html doc/htmldoc-fig*.png doc/htmldoc.p*
56 %attr(755,root,root) %{_bindir}/*
57 %{_mandir}/man1/*
58 %{_datadir}/htmldoc
This page took 0.062453 seconds and 4 git commands to generate.