Accepting request 102700 from home:MargueriteSu:branches:devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/102700
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=4
This commit is contained in:
Marguerite Su 2012-02-04 13:57:21 +00:00 committed by Git OBS Bridge
parent d7285cfbb5
commit 5813022813
2 changed files with 21 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 4 08:27:28 UTC 2012 - i@marguerite.su
- rename spec file and changelog to meet Factory requirements.
-------------------------------------------------------------------
Sat Feb 4 01:24:47 UTC 2012 - jengelh@medozas.de

View File

@ -17,15 +17,14 @@
%define tarversion 20071029
%define libname libspiro
Name: libspiro0
Name: libspiro
Version: 0.0.1
Release: 1.1
Summary: A clothoid to bezier spline converter
License: BSD-3-Clause
Group: System/Libraries
Source0: %{libname}_src-%{tarversion}.tar.bz2
Source0: %{name}_src-%{tarversion}.tar.bz2
Url: http://libspiro.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
@ -40,13 +39,20 @@ Authors
Raph Levien <raph.levien@gmail.com>
George Williams <gww@silcom.com>
%package -n %{name}0
Summary: A clothoid to bezier spline converter
Group: System/Libraries
%package -n %{libname}-devel
%description -n %{name}0
libspiro contains routines which will convert an array of clothoid
spline control points into an equivalent set of bezier control points.
%package devel
Summary: Development Files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glibc-devel
Requires: %{name}0 = %{version} glibc-devel
%description -n %{libname}-devel
%description devel
This package contains all necessary include files and libraries needed
to compile and develop applications that use %{name}.
@ -57,7 +63,7 @@ Authors
%prep
%setup -q -n %{libname}-%{tarversion}
%setup -q -n %{name}-%{tarversion}
%build
# autoreconf -fi
@ -65,7 +71,7 @@ Authors
--disable-static
make %{?smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
cat > %{libname}.pc << EOF
cat > %{name}.pc << EOF
prefix=%{_prefix}
exec_prefix=%{_exec_prefix}
libdir=%{_libdir}
@ -90,12 +96,12 @@ mv *.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
%postun -p /sbin/ldconfig
%files
%files -n %{name}0
%defattr(-,root,root)
%doc gpl.txt README*
%{_libdir}/lib*.so.*
%files -n %{libname}-devel
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so