Accepting request 79441 from home:mrdocs:branches:graphics

update to 1.10, run spec-cleaner on the spec file, adjust configure to disable static packages

OBS-URL: https://build.opensuse.org/request/show/79441
OBS-URL: https://build.opensuse.org/package/show/graphics/potrace?expand=0&rev=7
This commit is contained in:
OBS User mrdocs 2011-08-21 06:02:46 +00:00 committed by Git OBS Bridge
parent fe05e3dd90
commit 4fe085b563
4 changed files with 36 additions and 21 deletions

3
potrace-1.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ace5b470866ba914def16a1cbc09d10b37bf93f22ff704769d25f573d32f8ed
size 617866

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbf66910151700ad1dfefcb3fbb415fe8e03cb1759831b7f1dc73346289ab5db
size 497025

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Aug 20 16:38:22 UTC 2011 - mrdocs@opensuse.org
- update to 1.10
+ added --tight option
+ backends: simplified dimension calculations
+ eps backend: prevent integer overflow in bounding box.
+ disallow resolution of 0 dpi.
+ man page: added BACKEND TYPES section
+ fixed default scaling at 72dpi for variable-sized backends
+ new gimppath backend produces SVG output
+ suitable for current versions of Gimp.
+ added a --flat option for the SVG backend.
+ test suite: renamed *.out files to prevent make's
+ built-in implicit rules from accidentally overwriting them.
+ added DXF backend. Thanks to Jonas Benedett Dorr for testing.
+ use high resolution bounding box in EPS, PDF, and SVG backends
+ autoconf: CADD can now be given at compile time
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 21 16:48:05 UTC 2011 - coolo@novell.com Mon Mar 21 16:48:05 UTC 2011 - coolo@novell.com

View File

@ -15,19 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: potrace Name: potrace
Summary: Utility for Tracing a Bitmap to Scalable Outline Image Version: 1.10
Version: 1.9 Release: 0
Release: 6
License: GPLv2+ License: GPLv2+
Summary: Utility for Tracing a Bitmap to Scalable Outline Image
Url: http://potrace.sourceforge.net/
Group: Productivity/Graphics/Convertors Group: Productivity/Graphics/Convertors
Source: %{name}-%{version}.tar.gz
BuildRequires: zlib-devel BuildRequires: zlib-devel
Provides: bitmap_tracing Provides: bitmap_tracing
Url: http://potrace.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -39,30 +38,28 @@ as company or university logos, handwritten notes, etc. The resulting
image is not "jaggy" like a bitmap, but smooth. It can then be rendered image is not "jaggy" like a bitmap, but smooth. It can then be rendered
at any resolution. at any resolution.
Authors:
--------
Peter Selinger <selinger@users.sourceforge.net>
%prep %prep
%setup %setup -q
%build %build
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="$CXXFLAGS"
autoreconf -f -i autoreconf -f -i
%configure ./configure --enable-static=no --prefix=%{_prefix}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
%clean %clean
rm -fr $RPM_BUILD_ROOT rm -fr %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README %doc AUTHORS ChangeLog COPYING NEWS README
%{_prefix}/bin/* %dir %_datadir//doc/potrace
%_datadir/doc/potrace/placement.pdf
%{_bindir}/*
%doc %{_mandir}/man?/*.* %doc %{_mandir}/man?/*.*
%changelog %changelog