File epstool.spec of Package epstool
#
# spec file for package epsloot
#
# Copyright (c) 2014 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: epstool
Version: 3.08
Release: 0
Summary: A utility to create or extract preview images in EPS files
License: GPL-2.0+
Group: Productivity/Publishing/PS
Url: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm
Source0: %{name}-%{version}.tar.gz
Patch0: epstool-3.08-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Epstool is a utility to create or extract preview images in EPS files,
fix bounding boxes and convert to bitmaps.
Features:
* Add EPSI, DOS EPS or Mac PICT previews.
* Extract PostScript from DOS EPS files.
* Uses Ghostscript to create preview bitmaps.
* Create a TIFF, WMF, PICT or Interchange preview from part of a
bitmap created by Ghostscript.
* works on little-endian machines (Intel) or big endian (Sun Sparc,
Motorola) machines.
%prep
%setup -q
%patch0 -p1
%build
make -j1
%install
install -D -p -m 755 bin/epstool %{buildroot}%{_bindir}/epstool
install -D -p -m 644 doc/epstool.1 %{buildroot}%{_mandir}/man1/epstool.1
%files
%defattr(-,root,root,-)
%doc LICENCE doc/epstool.htm doc/gsview.css
%{_bindir}/epstool
%{_mandir}/man1/epstool.1.*
%changelog