htmldoc/htmldoc.spec
Martin Pluskal 6913ff178d Accepting request 1114779 from home:pgajdos
- version update to 1.9.17
  * Added new `--pre-indent` option to control indentation of pre-formatted text
    (Issue #505)
  * Now link to CUPS library instead of embedding its HTTP code.
  * Updated PostScript and PDF date/time information to use UTC (Issue #490)
  * Fixed multiple conversions of UTF-8 HTML files from the GUI (Issue #496)
  * Fixed a compile bug on Solaris (Issue #498)
  * Fixed a markdown parsing bug (Issue #503)
  * Fixed a relative URL handling bug (Issue #507)
  * Fixed a crash bug with bad title images (Issue #510)
  * Fixed some minor CodeQL warnings.

OBS-URL: https://build.opensuse.org/request/show/1114779
OBS-URL: https://build.opensuse.org/package/show/Publishing/htmldoc?expand=0&rev=38
2023-10-03 08:17:53 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package htmldoc
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: htmldoc
Version: 1.9.17
Release: 0
Summary: HTML Processor that Generates HTML, PostScript, and PDF Files
License: LGPL-2.1-or-later
Group: Productivity/Publishing/HTML/Tools
URL: https://michaelrsweet.github.io/htmldoc/index.html
Source: https://github.com/michaelrsweet/htmldoc/releases/download/v%{version}/htmldoc-%{version}-source.tar.gz
BuildRequires: cups-devel
BuildRequires: fltk-devel
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libXpm-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: update-desktop-files
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
%autosetup -p1
%build
%configure \
--with-gui
%make_build
%install
%make_install
# Workaround faulty installation
mv -f %{buildroot}%{buildroot}/* \
%{buildroot}
# Get rid of unvanted files
rm -rf %{buildroot}/home %{buildroot}%{_datadir}/doc/%{name}
# Update desktop file
%suse_update_desktop_file -r %{name} Development Documentation
%suse_update_desktop_file %{name} -G%{name}
%files
%license COPYING
%doc CHANGES.md README.md
%{_bindir}/htmldoc
%{_datadir}/htmldoc
%{_datadir}/icons/hicolor/*x*/apps/htmldoc.png
%{_datadir}/mime/packages/htmldoc.xml
%{_datadir}/applications/htmldoc.desktop
%{_mandir}/man1/htmldoc.1%{?ext_man}
%changelog