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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           img2eps
BuildRequires:  libpng-devel libtiff-devel
Url:            http://www.nih.at/img2eps/
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

%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.



Authors:
--------
    Dieter Baron <dillo@giga.or.at>

%prep
%setup -q
%patch0
%patch1

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

%install
make install DESTDIR="$RPM_BUILD_ROOT"

%clean
rm -rf %{buildroot}

%files
%defattr (-, root, root)
%doc AUTHORS README TODO
%{_bindir}/img2eps
%doc %{_mandir}/man1/*

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