File libspiro.spec of Package libspiro

Name:        libspiro
Version:     20071029
Release:     1
Summary:     A clothoid to bezier spline converter
License:     BSD
Group:       Libraries/Graphics/C and C++
Source0:     libspiro_src-%{version}.tar.bz2
Url:         http://libspiro.sourceforge.net/
BuildRoot:   /var/tmp/%{name}-%{version}
%define debug_package_requires libspiro0 = %{version}-%{release}


%description
libspiro contains routines which will convert an array of clothoid
spline control points into an equivalent set of bezier control points.

%package -n libspiro0
Group:       Libraries/Graphics/C and C++
Summary:     A clothoid to bezier spline converter
License:     BSD

%description -n libspiro0
libspiro contains routines which will convert an array of clothoid
spline control points into an equivalent set of bezier control points.

%package devel
Group:       Libraries/Graphics/C and C++
Summary:     A clothoid to bezier spline converter
License:     BSD
Requires:    libspiro0 = %{version}

%description devel
libspiro contains routines which will convert an array of clothoid
spline control points into an equivalent set of bezier control points.

%prep
%setup -T -b 0 -n libspiro

%build
%configure --disable-static
make

%install
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la

%post -n libspiro0 -p /sbin/ldconfig

%postun -n libspiro0 -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n libspiro0
%defattr(-,root,root)
%{_libdir}/libspiro.so.*
%doc gpl.txt

%files devel
%defattr(-,root,root)
%{_libdir}/libspiro.so
%{_includedir}/spiroentrypoints.h
%{_includedir}/spiro.h
%{_includedir}/bezctx.h
%{_includedir}/bezctx_intf.h

%changelog
* Mon Oct 29 2007 George Williams <gww@silcom.com>
- Initial release
openSUSE Build Service is sponsored by