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
|
|
|
#
|
2017-03-11 08:57:01 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:16:52 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
|
2007-01-16 00:16:52 +01:00
|
|
|
Name: htmldoc
|
2015-03-02 15:34:58 +01:00
|
|
|
Version: 1.8.28
|
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
|
2011-12-21 08:20:05 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Productivity/Publishing/HTML/Tools
|
2016-05-02 19:50:34 +02:00
|
|
|
Url: http://htmldoc.org/
|
2015-03-02 15:34:58 +01:00
|
|
|
Source: http://www.msweet.org/files/project1/%{name}-%{version}-source.tar.bz2
|
2016-05-02 19:50:34 +02:00
|
|
|
Patch0: %{name}-docpath.diff
|
2015-03-02 15:34:58 +01:00
|
|
|
# PATCH-FIX-UPSTREAM htmldoc-cups_rand.patch upstream bug #510
|
|
|
|
Patch1: htmldoc-cups_rand.patch
|
2016-05-02 19:50:34 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: fltk-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libXpm-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: openssl-devel
|
2007-01-16 00:16:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
HTMLDOC converts HTML source files into indexed HTML, PostScript, or
|
|
|
|
Portable Document Format (PDF) files that can be viewed online or
|
|
|
|
printed.
|
|
|
|
|
|
|
|
%prep
|
2015-03-02 15:34:58 +01:00
|
|
|
%setup -q
|
2016-05-02 19:50:34 +02:00
|
|
|
%patch0
|
2010-01-21 13:02:01 +01:00
|
|
|
%patch1 -p1
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoconf
|
2016-05-02 19:50:34 +02:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
%configure \
|
2007-01-16 00:16:52 +01:00
|
|
|
--with-gui
|
2016-05-02 19:50:34 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make \
|
2016-05-02 19:50:34 +02:00
|
|
|
%{?_smp_mflags} \
|
|
|
|
bindir=%{buildroot}/%{_bindir} \
|
|
|
|
prefix=%{buildroot}/%{_usr} \
|
|
|
|
mandir=%{buildroot}/%{_mandir} \
|
|
|
|
datadir=%{buildroot}/%{_datadir} \
|
2015-03-02 15:34:58 +01:00
|
|
|
install
|
2007-01-16 00:16:52 +01:00
|
|
|
|
2016-05-02 19:50:34 +02:00
|
|
|
%files
|
2007-01-16 00:16:52 +01:00
|
|
|
%defattr(-,root,root)
|
2016-05-02 19:50:34 +02:00
|
|
|
%doc cgi-bin/ CHANGES.txt COPYING.txt README.txt
|
2007-01-16 00:16:52 +01:00
|
|
|
%{_bindir}/htmldoc
|
|
|
|
%{_datadir}/htmldoc
|
2016-05-02 19:50:34 +02:00
|
|
|
%{_mandir}/man1/htmldoc.1%{ext_man}
|
2017-03-11 08:57:01 +01:00
|
|
|
%{_docdir}/%{name}
|
2007-01-16 00:16:52 +01:00
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
%changelog
|