libspiro/libspiro.spec

94 lines
3.0 KiB
RPMSpec

Name: libspiro
Version: 20200505
Release: 1mamba
Summary: A library to simplify the drawing of beautiful curves
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://libspiro.sourceforge.net/
Source: https://github.com/fontforge/libspiro.git/%{version}/libspiro-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Spiro simplifies the drawing of beautiful curves.
Using bézier splines an artist can easily draw curves with the same slope on either side of an on-curve point.
Spiros, on the other hand, are based on clothoid splines which make it easy to maintain constant curvature as well as constant slope.
Such curves will simply look nicer.
Spiro splines only use on-curve points and so are easier to use and more intuitive to the artist.
This library will take an array of spiro control points and convert them into a series of bézier splines which can then be used in the myriad of ways the world has come to use béziers.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Spiro simplifies the drawing of beautiful curves.
Using bézier splines an artist can easily draw curves with the same slope on either side of an on-curve point.
Spiros, on the other hand, are based on clothoid splines which make it easy to maintain constant curvature as well as constant slope.
Such curves will simply look nicer.
Spiro splines only use on-curve points and so are easier to use and more intuitive to the artist.
This library will take an array of spiro control points and convert them into a series of bézier splines which can then be used in the myriad of ways the world has come to use béziers.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
autoreconf -f -i
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libspiro.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libspiro.a
%{_libdir}/libspiro.la
%{_libdir}/libspiro.so
%{_libdir}/pkgconfig/libspiro.pc
%{_mandir}/man3/libspiro.3*
%doc README
%changelog
* Mon May 11 2020 Automatic Build System <autodist@mambasoft.it> 20200505-1mamba
- automatic version update by autodist
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20190731-1mamba
- update to 20190731
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 20071029-2mamba
- automatic rebuild by autodist
* Tue Nov 20 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 20071029-1mamba
- package created by autospec