Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
libspiro0
libspiro0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libspiro0.spec of Package libspiro0
# # spec file for package libspiro # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define tarversion 20071029 %define libname libspiro Name: libspiro0 Version: 0.0.1 Release: 1 Summary: A clothoid to bezier spline converter License: BSD Group: System/Libraries Source0: http://libspiro.sourceforge.net/libspiro_src-%{tarversion}.tar.bz2 Url: http://libspiro.sourceforge.net/ Vendor: Raph Levien, George Williams BuildRoot: /var/tmp/%{name}-%{version} BuildRequires: gcc-c++ BuildRequires: pkg-config # bug437293 %ifarch ppc64 Obsoletes: %{name}-64bit %endif %description libspiro contains routines which will convert an array of clothoid spline control points into an equivalent set of bezier control points. Authors ------- Raph Levien <raph.levien@gmail.com> George Williams <gww@silcom.com> %package -n %{libname}-devel License: BSD Summary: Development Files for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glibc-devel # bug437293 %ifarch ppc64 Obsoletes: %{name}-devel-64bit %endif %description -n %{libname}-devel This package contains all necessary include files and libraries needed to compile and develop applications that use %{name}. Authors ------- Raph Levien <raph.levien@gmail.com> George Williams <gww@silcom.com> %prep %setup -q -n %{libname}-%{tarversion} %build # autoreconf -fi %configure --with-pic\ --disable-static make %{?jobs:-j %jobs} cat > %{libname}.pc << EOF prefix=%{_prefix} exec_prefix=%{_exec_prefix} libdir=%{_libdir} includedir=%{_includedir} Name: %{name} Description: %{summary} Requires: Version: %{name} Libs: -L\${libdir} -lspiro -lm Cflags: -I\${includedir} EOF %install %makeinstall rm -f $RPM_BUILD_ROOT%{_libdir}/*.la mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ mv *.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc gpl.txt README* %{_libdir}/lib*.so.* %files -n %{libname}-devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor