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