potrace/potrace.spec

Name: potrace
Summary: Transforms bitmaps into vector graphics
Version: 1.8
Release: 1
License: GPL
Group: Applications/File
URL: http://potrace.sourceforge.net/
Description: potrace is a utility for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. The input is a portable bitmap (PBM), and the default output is an encapsulated PostScript file (EPS). A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc. The resulting image is not "jaggy" like a bitmap, but smooth, and it can be scaled to any resolution.

CentOS 7 x86_64

The build could not start because the following file is missing: potrace-1.8.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: potrace-1.8.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Peter Selinger <selinger$users,sourceforge,net>

Summary: Transforms bitmaps into vector graphics
Name: potrace
Version: 1.8
Release: 1%{?dist}
License: GPL
Group: Applications/File
URL: http://potrace.sourceforge.net/

Source: http://potrace.sourceforge.net/download/potrace-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
potrace is a utility for tracing a bitmap, which means, transforming a
bitmap into a smooth, scalable image.  The input is a portable bitmap
(PBM), and the default output is an encapsulated PostScript file
(EPS). A typical use is to create EPS files from scanned data, such as
company or university logos, handwritten notes, etc.  The resulting
image is not "jaggy" like a bitmap, but smooth, and it can be scaled
to any resolution. 

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README*
%doc %{_mandir}/man1/mkbitmap.1*
%doc %{_mandir}/man1/potrace.1*
%{_bindir}/mkbitmap
%{_bindir}/potrace

%changelog
* Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 1.8-1
- Updated to release 1.8.

* Sun Jan 21 2007 Dag Wieers <dag@wieers.com> - 1.7-2
- Fix group tag.

* Mon Oct 23 2006 Dag Wieers <dag@wieers.com> - 1.7-1
- Initial package. (using DAR)