2012-02-04 02:20:53 +01:00
|
|
|
#
|
2015-02-15 10:53:48 +01:00
|
|
|
# spec file for package libspiro
|
2012-02-04 02:20:53 +01:00
|
|
|
#
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-02-04 02:20:53 +01: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.
|
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-04 02:20:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
%define sonum 1
|
2012-02-04 14:57:21 +01:00
|
|
|
Name: libspiro
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
Version: 20221101
|
2015-02-15 10:53:48 +01:00
|
|
|
Release: 0
|
2012-02-04 02:20:53 +01:00
|
|
|
Summary: A clothoid to bezier spline converter
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
License: GPL-3.0-or-later
|
2012-02-04 02:20:53 +01:00
|
|
|
Group: System/Libraries
|
2019-12-19 13:47:38 +01:00
|
|
|
URL: https://github.com/fontforge/libspiro
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz
|
2015-02-15 10:53:48 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2012-02-04 02:20:53 +01:00
|
|
|
BuildRequires: gcc-c++
|
2015-12-16 16:20:47 +01:00
|
|
|
BuildRequires: libtool
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-02-04 02:20:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libspiro contains routines which will convert an array of clothoid
|
|
|
|
spline control points into an equivalent set of bezier control points.
|
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
%package -n %{name}%{sonum}
|
2015-12-16 16:20:47 +01:00
|
|
|
Summary: A clothoid to bezier spline converter
|
|
|
|
Group: System/Libraries
|
2012-02-04 02:20:53 +01:00
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
%description -n %{name}%{sonum}
|
2012-02-04 14:57:21 +01:00
|
|
|
libspiro contains routines which will convert an array of clothoid
|
|
|
|
spline control points into an equivalent set of bezier control points.
|
|
|
|
|
|
|
|
%package devel
|
2012-02-04 02:20:53 +01:00
|
|
|
Summary: Development Files for %{name}
|
|
|
|
Group: Development/Libraries/C and C++
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
Requires: %{name}1 = %{version}
|
|
|
|
Requires: glibc-devel
|
2012-02-04 02:20:53 +01:00
|
|
|
|
2012-02-04 14:57:21 +01:00
|
|
|
%description devel
|
2012-02-04 02:20:53 +01:00
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to compile and develop applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2015-02-15 10:53:48 +01:00
|
|
|
%setup -q
|
2012-02-04 02:20:53 +01:00
|
|
|
|
|
|
|
%build
|
2015-02-15 10:53:48 +01:00
|
|
|
autoreconf -i
|
|
|
|
automake --foreign -Wall
|
2012-02-04 02:20:53 +01:00
|
|
|
%configure --with-pic\
|
|
|
|
--disable-static
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
%make_build
|
2012-02-04 02:20:53 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-02-04 02:20:53 +01:00
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
%post -n %{name}%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}%{sonum} -p /sbin/ldconfig
|
2012-02-04 02:20:53 +01:00
|
|
|
|
2019-12-19 13:47:38 +01:00
|
|
|
%files -n %{name}%{sonum}
|
2020-08-15 23:58:47 +02:00
|
|
|
%license COPYING
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
%doc ChangeLog README*
|
2012-02-04 02:20:53 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
2012-02-04 14:57:21 +01:00
|
|
|
%files devel
|
2012-02-04 02:20:53 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
Accepting request 1060006 from home:dirkmueller:Factory
- update to 20221101:
* Bugfix - removed forgotten if-then code used with scaling tests.
Majority of users won't notice a difference since most FontForge
fonts are created in the +x,+y quadrant. Users that might see a
change/difference are users drawing only in the -x, -y quadrant.
* Enhanced libspiro to allow closed-loop spiros starting with '['
or 'a' by seeking the first available 'v', 'c', or 'o' as start,
which may be found later in the spiro curve. This was the least
modification needed to allow call-test10 or call-test11 to pass.
* Due to confusion created when ppedit was also re-licensed as MIT
APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+.
In summary, GPL can include MIT code, MIT code cannot accept GPL.
Please note code not in ppedit like libspiro's java is GNU GPL2+.
Please note that libspiro's improvements or patches are also GPL.
* Thanks to orbea for bugfixes concerning linking and linker flags,
and removing .libs from linker path (some linkers don't like it).
* Added more commenting in spiroentrypoints.h to clarify functions.
* Reconfigured code to avoid exporting bezctx_intf.h since this is
supposed to be internal to libspiro and not for external calling.
* Also added https://gcc.gnu.org/wiki/Visibility to reduce exports.
* SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method
of accessing libspiro for programs that only need the end result.
* Test added for 'a','h' to ensure points don't overlap, else exit.
OBS-URL: https://build.opensuse.org/request/show/1060006
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=16
2023-01-23 09:07:14 +01:00
|
|
|
%{_mandir}/man3/libspiro.3%{?ext_man}
|
2012-02-04 02:20:53 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|