2007-01-16 00:16:52 +01:00
|
|
|
#
|
|
|
|
# spec file for package htmldoc (Version 1.8.27)
|
|
|
|
#
|
2010-01-21 13:02:01 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
|
2007-01-16 00:16:52 +01:00
|
|
|
Name: htmldoc
|
|
|
|
BuildRequires: fltk-devel freeglut-devel gcc-c++ libdrm-devel libjpeg-devel libpng-devel openssl-devel
|
2011-12-06 18:18:29 +01:00
|
|
|
License: LGPL-2.1+
|
2007-01-16 00:16:52 +01:00
|
|
|
Group: Productivity/Publishing/HTML/Tools
|
2009-06-17 19:38:26 +02:00
|
|
|
Url: http://htmldoc.org/
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:16:52 +01:00
|
|
|
Version: 1.8.27
|
2010-02-18 15:11:48 +01:00
|
|
|
Release: 173
|
2007-01-16 00:16:52 +01:00
|
|
|
Summary: HTML Processor that Generates HTML, PostScript, and PDF Files
|
|
|
|
Source: %{name}-%{version}-source.tar.bz2
|
|
|
|
Patch: %{name}-docpath.diff
|
2010-01-21 13:02:01 +01:00
|
|
|
Patch1: htmldoc_CVE-2009-3050_535943.diff
|
2010-02-18 15:11:48 +01:00
|
|
|
Patch2: htmldoc-fortify.diff
|
2007-01-16 00:16:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%define DOCDIR %{_datadir}/doc/packages/%{name}
|
|
|
|
|
|
|
|
%description
|
|
|
|
HTMLDOC converts HTML source files into indexed HTML, PostScript, or
|
|
|
|
Portable Document Format (PDF) files that can be viewed online or
|
|
|
|
printed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Sweet <mike at easysw dot com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
2010-01-21 13:02:01 +01:00
|
|
|
%patch1 -p1
|
2010-02-18 15:11:48 +01:00
|
|
|
%patch2
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing"
|
|
|
|
autoconf
|
|
|
|
./configure \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--prefix=%{_usr} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--with-fltk-libs=/usr/X11R6/lib \
|
|
|
|
--with-fltk-includes=/usr/X11R6/include \
|
|
|
|
--with-gui
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ x"${RPM_BUILD_ROOT}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "${RPM_BUILD_ROOT}"
|
|
|
|
mkdir -p \
|
|
|
|
${RPM_BUILD_ROOT}/%{_bindir} \
|
|
|
|
${RPM_BUILD_ROOT}/%{_mandir}
|
|
|
|
make \
|
|
|
|
bindir=${RPM_BUILD_ROOT}/%{_bindir} \
|
|
|
|
prefix=${RPM_BUILD_ROOT}/%{_usr} \
|
|
|
|
mandir=${RPM_BUILD_ROOT}/%{_mandir} \
|
|
|
|
install
|
2010-01-21 13:02:01 +01:00
|
|
|
rm -v doc/Makefile
|
2007-01-16 00:16:52 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/htmldoc
|
|
|
|
%{_datadir}/htmldoc
|
|
|
|
%doc %{_mandir}/man1/htmldoc.1.gz
|
|
|
|
%doc doc/ cgi-bin/ CHANGES.txt COMPILE.txt COPYING.txt README.txt
|
|
|
|
|
2009-06-17 19:38:26 +02:00
|
|
|
%changelog
|