File img2eps.spec of Package img2eps
#
# spec file for package img2eps
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: img2eps
Version: 0.2
Release: 0
Summary: Bitmap Image to Encapsulated PostScript Converter
License: BSD-4-Clause
Group: Productivity/Publishing/TeX/Utilities
Url: http://www.nih.at/img2eps/
Source0: http://www.nih.at/img2eps/img2eps-%{version}.tar.gz
Patch0: compress-params.diff
Patch1: man.diff
Patch2: libpng14.diff
Patch3: img2eps-fix-linking.patch
Patch4: img2eps-giflib.patch
Patch5: img2eps-libpng16.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: giflib-devel
BuildRequires: libexif-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Converts bitmap images in the formats PNG, JPEG, and TIFF to
Encapsulated PostScript Level 1, 2, or 3. It supports the native
PostScript filters ASCIIHex, ASCII85, DCT, LZW, Flate, and RunLength.
%prep
%setup -q
%patch0
%patch1
%patch2 -p1
%patch3
%patch4
%patch5 -p1
%build
autoreconf -fiv
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%defattr (-, root, root)
%doc AUTHORS README TODO
%{_bindir}/img2eps
%{_mandir}/man1/*
%changelog