2007-01-15 23:33:10 +00:00
|
|
|
#
|
2007-07-27 00:07:53 +00:00
|
|
|
# spec file for package potrace (Version 1.8)
|
2007-01-15 23:33:10 +00:00
|
|
|
#
|
2009-06-18 15:19:02 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:33:10 +00:00
|
|
|
#
|
2009-06-18 15:19:02 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:33:10 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:19:02 +00:00
|
|
|
|
2007-01-15 23:33:10 +00:00
|
|
|
Name: potrace
|
|
|
|
Summary: Utility for Tracing a Bitmap to Scalable Outline Image
|
2007-07-27 00:07:53 +00:00
|
|
|
Version: 1.8
|
2009-06-18 15:19:02 +00:00
|
|
|
Release: 82
|
2007-07-27 00:07:53 +00:00
|
|
|
License: GPL v2 or later
|
2007-01-15 23:33:10 +00:00
|
|
|
Group: Productivity/Graphics/Convertors
|
2007-07-27 00:07:53 +00:00
|
|
|
BuildRequires: licenses zlib-devel
|
|
|
|
Requires: licenses
|
2007-01-15 23:33:10 +00:00
|
|
|
Provides: bitmap_tracing
|
2009-06-18 15:19:02 +00:00
|
|
|
Url: http://potrace.sourceforge.net/
|
2007-01-15 23:33:10 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-07-27 00:07:53 +00:00
|
|
|
Patch: %{name}-%{version}-xfig.patch
|
2007-01-15 23:33:10 +00:00
|
|
|
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
|
2007-07-27 00:07:53 +00:00
|
|
|
%patch
|
2007-01-15 23:33:10 +00:00
|
|
|
|
|
|
|
%build
|
2007-07-27 00:07:53 +00:00
|
|
|
autoreconf -f -i
|
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-15 23:33:10 +00:00
|
|
|
|
|
|
|
%install
|
2007-07-27 00:07:53 +00:00
|
|
|
%makeinstall
|
|
|
|
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
|
2007-01-15 23:33:10 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%{_prefix}/bin/*
|
2007-07-27 00:07:53 +00:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2007-01-15 23:33:10 +00:00
|
|
|
|
2007-03-29 16:25:41 +00:00
|
|
|
%changelog
|
2009-06-18 15:19:02 +00:00
|
|
|
* Thu Jul 26 2007 sbrabec@suse.cz
|
2007-07-27 00:07:53 +00:00
|
|
|
- Updated to version 1.8:
|
|
|
|
* minor bugfixes and portability improvements
|
|
|
|
* rotation is now implemented in the PDF backend
|
2009-06-18 15:19:02 +00:00
|
|
|
* Thu Mar 29 2007 rguenther@suse.de
|
2007-03-29 16:25:41 +00:00
|
|
|
- add zlib-devel BuildRequires.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Wed Nov 15 2006 jw@suse.de
|
2007-01-15 23:33:10 +00:00
|
|
|
- replaced wrong_allocation.patch by official
|
|
|
|
io.patch -- more bugs fixed.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Wed Jul 19 2006 pnemec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- fixed wrong memory allocation in potracelib.c
|
|
|
|
(added potrace-wrong_allocation.patch)
|
2009-06-18 15:19:02 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:33:10 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:19:02 +00:00
|
|
|
* Wed Mar 09 2005 nadvornik@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Updated to version 1.7:
|
|
|
|
* A bug in the progress bar code, which caused arithmetic
|
|
|
|
exceptions on some 64-bit architectures, has been fixed.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Mon Feb 28 2005 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Updated to version 1.6.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Thu Jan 06 2005 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Provide bitmap_tracing virtual.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Fri Aug 27 2004 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Updated to version 1.5 (with LZW support).
|
2009-06-18 15:19:02 +00:00
|
|
|
* Mon Mar 08 2004 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Updated to version 1.4.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Thu Feb 05 2004 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Added speed optimization patch from author.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Thu Jan 15 2004 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Updated to version 1.3.
|
2009-06-18 15:19:02 +00:00
|
|
|
* Wed Aug 13 2003 sbrabec@suse.cz
|
2007-01-15 23:33:10 +00:00
|
|
|
- Initial version 1.0.
|