Dirk Mueller
bd4dcee61a
* Bugfix for CVE-2019-19847 affecting {call-test14 to call-test19}. * Fix a memory access bug/error created earlier by patch 2017oct28 Users using tagpoint libspiro20150702 are unaffected by this bug. Users using tagpoint libspiro20190731 are recommended to upgrade. Thanks to Frederic Cambus for calling attention to these faults. * Add optional 'end knot' for open curves (useful for displaying). * CRA Version also higher than so-bump 1.0.5 used on some distros; this maybe of interest to distros that bumped an earlier version. * Some garbage-in/garbage-out checks to verify we have 'ah' pairs, and we don't start with ']', or end with '['. Add libspiro.3 man. * Corrected set_di_to_x1y1() to use a constant bandwidth of 0.0005 * Code improvements and bug fixes for better tagged/spiro results. * Several improvements added to further increase libspiro's speed. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=14
87 lines
2.4 KiB
RPMSpec
87 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package libspiro
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define sonum 1
|
|
Name: libspiro
|
|
Version: 20200505
|
|
Release: 0
|
|
Summary: A clothoid to bezier spline converter
|
|
License: GPL-2.0-or-later
|
|
Group: System/Libraries
|
|
Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz
|
|
URL: https://github.com/fontforge/libspiro
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
|
|
%description
|
|
libspiro contains routines which will convert an array of clothoid
|
|
spline control points into an equivalent set of bezier control points.
|
|
|
|
%package -n %{name}%{sonum}
|
|
Summary: A clothoid to bezier spline converter
|
|
Group: System/Libraries
|
|
|
|
%description -n %{name}%{sonum}
|
|
libspiro contains routines which will convert an array of clothoid
|
|
spline control points into an equivalent set of bezier control points.
|
|
|
|
%package devel
|
|
Summary: Development Files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name}1 = %{version} glibc-devel
|
|
|
|
%description devel
|
|
This package contains all necessary include files and libraries needed
|
|
to compile and develop applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -i
|
|
automake --foreign -Wall
|
|
%configure --with-pic\
|
|
--disable-static
|
|
make %{?smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%post -n %{name}%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}%{sonum} -p /sbin/ldconfig
|
|
|
|
%files -n %{name}%{sonum}
|
|
%license COPYING
|
|
%doc ChangeLog README*
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_mandir}/man3/libspiro.3*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|