LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File img2eps.spec of Package img2eps (Project openSUSE:Factory)

# spec file for package img2eps
# Copyright (c) 2011 SUSE LINUX Products 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
License:        BSD-4-Clause
Summary:        Bitmap Image to Encapsulated PostScript Converter
Url:            http://www.nih.at/img2eps/
Group:          Productivity/Publishing/TeX/Utilities
Source:         img2eps-%{version}.tar.bz2
Patch0:         compress-params.diff
Patch1:         man.diff
Patch2:         libpng14.diff
Patch3:         img2eps-fix-linking.patch
BuildRequires:  automake
BuildRequires:  giflib-devel
BuildRequires:  libexif-devel
BuildRequires:  libjasper-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libpng-devel
BuildRequires:  libtiff-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

%setup -q
%patch2 -p1

autoreconf -ifv
%{__make} %{?_smp_flags}


rm -rf %{buildroot}

%defattr (-, root, root)
%doc %{_mandir}/man1/*