]> git.pld-linux.org Git - packages/htmldoc.git/blobdiff - htmldoc.spec
- release 7
[packages/htmldoc.git] / htmldoc.spec
index e3d05a4fa5b8d71f94bfbabb8d85f240fb863159..3528ba9e3ecbd5ed6db6aff2dc141a65bda8266f 100644 (file)
@@ -1,32 +1,41 @@
+#
+# Conditional build:
+%bcond_without gui     # without FLTK-based GUI
+#
 Summary:       HTML processing program
-Summary(pl):   Program przetwarzaj±cy HTML
+Summary(pl.UTF-8):     Program przetwarzający HTML
 Name:          htmldoc
-Version:       1.8.14
-Release:       1
-License:       GPL
+Version:       1.8.27
+Release:       7
+License:       GPL v2 with OpenSSL exception
 Group:         Applications/Publishing
-Source0:       ftp://ftp.easysw.com/pub/%{name}/1.8.14/%{name}-%{version}-source.tar.bz2
-URL:           http://www.easysw.com/htmldoc/
+Source0:       ftp://ftp.easysw.com/pub/htmldoc/%{version}/%{name}-%{version}-source.tar.bz2
+# Source0-md5: 35589e7b8fe9c54e11be87cd5aec4dcc
+URL:           http://www.htmldoc.org/
+%{?with_gui:BuildRequires:     xorg-lib-libXpm-devel}
 BuildRequires: autoconf
-BuildRequires: libpng-devel
+BuildRequires: automake
+%{?with_gui:BuildRequires:     fltk-devel}
 BuildRequires: libjpeg-devel
-BuildRequires: openssl-devel
+BuildRequires: libpng-devel
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 HTML processing program that generates HTML, PostScript, and PDF files
 with a table of contents.
 
-%description -l pl
-Program przetwarzaj±cy HTML, który generuje pliki HTML, PostScript i
-PDF ze spisem treci.
+%description -l pl.UTF-8
+Program przetwarzający HTML, który generuje pliki HTML, PostScript i
+PDF ze spisem treści.
 
 %prep
 %setup -q
 
 %build
-autoconf
-%configure
+%configure \
+       %{!?with_gui:--without-gui}
 %{__make}
 
 %install
@@ -36,14 +45,13 @@ rm -rf $RPM_BUILD_ROOT
        mandir=$RPM_BUILD_ROOT%{_mandir} \
        bindir=$RPM_BUILD_ROOT%{_bindir}
 
-gzip -9nf CHANGES.txt README.txt
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz doc/htmldoc.html doc/htmldoc.png doc/htmldoc-fig*.png
+%doc COPYING.txt CHANGES.txt README.txt
+%doc doc/htmldoc.html doc/htmldoc-fig*.png doc/htmldoc.p* doc/help.html
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/htmldoc
This page took 0.530636 seconds and 4 git commands to generate.