92 lines
2.6 KiB
RPMSpec
92 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package potrace (Version 1.7)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: potrace
|
|
Summary: Utility for Tracing a Bitmap to Scalable Outline Image
|
|
Version: 1.7
|
|
Release: 32
|
|
License: GNU General Public License (GPL)
|
|
Group: Productivity/Graphics/Convertors
|
|
Autoreqprov: on
|
|
Provides: bitmap_tracing
|
|
URL: http://potrace.sourceforge.net/
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch: %{name}-%{version}-io.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Potrace is a utility for tracing a bitmap, which means, transforming a
|
|
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM,
|
|
PPM, or BMP), and the default output is one of several vector file
|
|
formats. 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. It can then be rendered
|
|
at any resolution.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Peter Selinger <selinger@users.sourceforge.net>
|
|
|
|
%prep
|
|
%setup
|
|
%patch -p1
|
|
|
|
%build
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure --prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir}
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
%{_prefix}/bin/*
|
|
%{_mandir}/man?/*.*
|
|
|
|
%changelog -n potrace
|
|
* Wed Nov 15 2006 - jw@suse.de
|
|
- replaced wrong_allocation.patch by official
|
|
io.patch -- more bugs fixed.
|
|
* Wed Jul 19 2006 - pnemec@suse.cz
|
|
- fixed wrong memory allocation in potracelib.c
|
|
(added potrace-wrong_allocation.patch)
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Mar 09 2005 - nadvornik@suse.cz
|
|
- Updated to version 1.7:
|
|
* A bug in the progress bar code, which caused arithmetic
|
|
exceptions on some 64-bit architectures, has been fixed.
|
|
* Mon Feb 28 2005 - sbrabec@suse.cz
|
|
- Updated to version 1.6.
|
|
* Thu Jan 06 2005 - sbrabec@suse.cz
|
|
- Provide bitmap_tracing virtual.
|
|
* Fri Aug 27 2004 - sbrabec@suse.cz
|
|
- Updated to version 1.5 (with LZW support).
|
|
* Mon Mar 08 2004 - sbrabec@suse.cz
|
|
- Updated to version 1.4.
|
|
* Thu Feb 05 2004 - sbrabec@suse.cz
|
|
- Added speed optimization patch from author.
|
|
* Thu Jan 15 2004 - sbrabec@suse.cz
|
|
- Updated to version 1.3.
|
|
* Wed Aug 13 2003 - sbrabec@suse.cz
|
|
- Initial version 1.0.
|