2007-01-16 00:16:52 +01:00
|
|
|
#
|
2011-12-21 08:20:05 +01:00
|
|
|
# spec file for package htmldoc
|
2007-01-16 00:16:52 +01:00
|
|
|
#
|
2022-01-12 13:44:55 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-16 00:16:52 +01:00
|
|
|
#
|
2009-06-17 19:38:26 +02:00
|
|
|
# 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.
|
|
|
|
|
2020-08-19 08:02:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:16:52 +01:00
|
|
|
#
|
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
|
2007-01-16 00:16:52 +01:00
|
|
|
Name: htmldoc
|
2022-02-10 14:32:23 +01:00
|
|
|
Version: 1.9.15
|
2011-12-21 08:20:05 +01:00
|
|
|
Release: 0
|
2007-01-16 00:16:52 +01:00
|
|
|
Summary: HTML Processor that Generates HTML, PostScript, and PDF Files
|
2020-08-19 08:02:09 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2011-12-21 08:20:05 +01:00
|
|
|
Group: Productivity/Publishing/HTML/Tools
|
2020-08-19 08:02:09 +02:00
|
|
|
URL: https://michaelrsweet.github.io/htmldoc/index.html
|
2021-06-01 08:51:28 +02:00
|
|
|
Source: https://github.com/michaelrsweet/htmldoc/releases/download/v%{version}/htmldoc-%{version}-source.tar.gz
|
2022-04-29 15:46:08 +02:00
|
|
|
# CVE-2022-28085 [bsc#1198933], Heap buffer overflow in function pdf_write_names in ps-pdf.cxx
|
|
|
|
Patch0: htmldoc-CVE-2022-28085.patch
|
2016-05-02 19:50:34 +02:00
|
|
|
BuildRequires: fltk-devel
|
|
|
|
BuildRequires: gcc-c++
|
2021-02-01 16:15:42 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2016-05-02 19:50:34 +02:00
|
|
|
BuildRequires: libXpm-devel
|
2017-12-04 09:43:37 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
2016-05-02 19:50:34 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
2017-12-04 10:29:09 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2017-12-04 09:43:37 +01:00
|
|
|
BuildRequires: zlib-devel
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
HTMLDOC converts HTML source files into indexed HTML, PostScript, or
|
2017-12-04 09:43:37 +01:00
|
|
|
Portable Document Format (PDF) files that can be viewed online or printed.
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%prep
|
2022-04-29 15:46:08 +02:00
|
|
|
%autosetup -p1
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%build
|
2016-05-02 19:50:34 +02:00
|
|
|
%configure \
|
2017-12-04 09:43:37 +01:00
|
|
|
--with-gui
|
2020-08-19 08:02:09 +02:00
|
|
|
%make_build
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%install
|
2017-12-04 09:43:37 +01:00
|
|
|
%make_install
|
2017-12-04 10:29:09 +01:00
|
|
|
# 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}
|
2007-01-16 00:16:52 +01:00
|
|
|
|
2016-05-02 19:50:34 +02:00
|
|
|
%files
|
2020-08-19 08:02:09 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc CHANGES.md README.md
|
2007-01-16 00:16:52 +01:00
|
|
|
%{_bindir}/htmldoc
|
|
|
|
%{_datadir}/htmldoc
|
2021-02-01 16:15:42 +01:00
|
|
|
%{_datadir}/icons/hicolor/*x*/apps/htmldoc.png
|
2017-12-04 10:29:09 +01:00
|
|
|
%{_datadir}/mime/packages/htmldoc.xml
|
|
|
|
%{_datadir}/applications/htmldoc.desktop
|
2020-08-19 08:02:09 +02:00
|
|
|
%{_mandir}/man1/htmldoc.1%{?ext_man}
|
2007-01-16 00:16:52 +01:00
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
%changelog
|