Sisyphus repository
Last update: 27 october 2021 | SRPMs: 17376 | Visits: 22168637
en ru br
ALT Linux repos

Group :: Office
RPM: hp2xx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# spec file for package hp2xx
# Copyright (c) 2015 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.

Name: hp2xx
Version: 3.4.2
Release: alt2

Summary: Converts HP-GL Plotter Language into a Variety of Formats
License: GPLv2+
Group: Office

Source: hp2xx-%version.tar.bz2
Patch0: hp2xx-%version-fix.patch
Patch1: hp2xx-3.4.2-implicit-decls.patch
Patch2: hp2xx-3.4.2-png-deprecated.patch
# PATCH-FIX-UPSTREAM hp2xx-texinfo-5.0.patch dimstar at -- Escape ' at ' in .texi file
Patch3: hp2xx-texinfo-5.0.patch
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libX11-devel
BuildRequires: makeinfo

The hp2xx program is a versatile tool for converting vector graphics
data given in Hewlett-Packard's HP-GL plotter language into a variety
of popular graphics formats, both vector and raster.

%patch0 -p1 -b .fix
%patch3 -p1

make CC="gcc" OPTFLAGS="%optflags -fcommon" #LFLAGS="-L/usr/X11R6/%_lib"

mkdir -p %buildroot{%_bindir,%_infodir,%_man1dir}
make bindir=%buildroot%_bindir \
    infodir=%buildroot%_infodir \
    mandir=%buildroot%_mandir install STRIP=true

%doc AUTHORS CHANGES README TODO copying doc/readme doc/changes doc/hp_cmds.lst


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin