diff --git a/README.md b/README.md index db717a8..e9fa85e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # libspiro +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. + diff --git a/libspiro.spec b/libspiro.spec new file mode 100644 index 0000000..cdc95cf --- /dev/null +++ b/libspiro.spec @@ -0,0 +1,76 @@ +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 +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 20071029-2mamba +- automatic rebuild by autodist + +* Tue Nov 20 2007 Stefano Cotta Ramusino 20071029-1mamba +- package created by autospec