File img2eps.spec of Package img2eps

# spec file for package img2eps (Version 0.2)
# Copyright (c) 2009 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

# norootforbuild

Name:           img2eps
BuildRequires:  libpng-devel libtiff-devel
Version:        0.2
Release:        136
License:        BSD 3-Clause
Group:          Productivity/Publishing/TeX/Utilities
Summary:        Bitmap Image to Encapsulated PostScript Converter
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         img2eps-%{version}.tar.bz2
Patch0:         compress-params.diff
Patch1:         man.diff

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.

    Dieter Baron <>

%setup -q

export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -D_GNU_SOURCE"
./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir}

make install DESTDIR="$RPM_BUILD_ROOT"

rm -rf %{buildroot}

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

* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Fri Jul 15 2005
- updated to version 0.2
* Tue Jul 05 2005
- removed some compile warnings
* Tue Jan 18 2005
- initial package with version 0.1
openSUSE Build Service is sponsored by