77 lines
2.6 KiB
RPMSpec
77 lines
2.6 KiB
RPMSpec
|
Name: libspiro
|
||
|
Version: 20071029
|
||
|
Release: 2mamba
|
||
|
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: http://downloads.sourceforge.net/libspiro/libspiro_src-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
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.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%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}/*.so.*
|
||
|
%doc README README-RaphLevien gpl.txt
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/*.h
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
|
||
|
%changelog
|
||
|
* 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
|