# $Id: rpm.spec.in,v 1.7 2003/03/31 06:14:27 selinger Exp $ ###################################################################### # This file is used by "rpm" to create the source and binary # distributions for Redhat Package Manager. The file rpm.spec is # created from rpm.spec.in by a local Makefile. Summary: Transforms bitmaps into vector graphics Name: potrace Version: 1.7 Release: 1 Copyright: GNU Public License Group: Applications/Graphics Source: http://potrace.sourceforge.net/download/potrace-%{version}.tar.gz Patch0: potrace-1.7.patch URL: http://potrace.sourceforge.net/ Packager: Peter Selinger BuildRoot: %{_tmppath}/%{name}-%{version}-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 rm -rf $RPM_BUILD_ROOT %setup %patch0 -p1 %build export CFLAGS="-O2" export CXXFLAGS="-O2" ./configure --prefix=%{_prefix} --bindir=%{_bindir} --mandir=%{_mandir} make %install make install-strip \ prefix=$RPM_BUILD_ROOT/%{_prefix} \ bindir=$RPM_BUILD_ROOT/%{_bindir} \ mandir=$RPM_BUILD_ROOT/%{_mandir} %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc AUTHORS COPYING ChangeLog NEWS README README.win %{_bindir}/* %{_mandir}/man1/* %changelog * Wed Dec 28 2005 Michael Perzl - first version for AIX V5.1 and higher * Mon Aug 18 2003 Peter Selinger - corrected Summary and Group information