forked from pool/htmldoc
df9cf61fa0
* Fixed monospace font size issue * Added support for reproducible builds * Added limited support for the HTML 4.0 SPAN element * Added (extremely limited) UTF-8 support for input files * Fixed buffer underflow for (invalid) short HTML comments * Now indent PRE text, by popular request. * EPUB output now makes sure that <element property> is written as <element property="property">. * Now support both NAME and ID for table-of-contents targets. * Added support for repeating a single header row for tables that span multiple pages * Added support for embedding the current filename/URL in the header or footer * Added EPUB support * Added Markdown support * Fixed a regression in header/footer image scaling * Documentation updates * Compiler fixes * Fixed a bug when running HTMLDOC as a macOS application. * Updated the bundled libpng to v1.6.29. * And many more - Drop upstreamed htmldoc-cups_rand.patch and no longer needed htmldoc-docpath.diff OBS-URL: https://build.opensuse.org/package/show/Publishing/htmldoc?expand=0&rev=19
58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package htmldoc
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: htmldoc
|
|
Version: 1.9.1
|
|
Release: 0
|
|
Summary: HTML Processor that Generates HTML, PostScript, and PDF Files
|
|
License: LGPL-2.1+
|
|
Group: Productivity/Publishing/HTML/Tools
|
|
Url: https://michaelrsweet.github.io/htmldoc/index.html
|
|
Source: https://github.com/michaelrsweet/htmldoc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: fltk-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
%description
|
|
HTMLDOC converts HTML source files into indexed HTML, PostScript, or
|
|
Portable Document Format (PDF) files that can be viewed online or printed.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--with-gui
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc CHANGES.md COPYING README.md
|
|
%{_bindir}/htmldoc
|
|
%{_datadir}/htmldoc
|
|
%{_mandir}/man1/htmldoc.1%{ext_man}
|
|
|
|
%changelog
|