Accepting request 286145 from home:posophe:branches:devel:libraries:c_c++

Update

OBS-URL: https://build.opensuse.org/request/show/286145
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=8
This commit is contained in:
Marguerite Su 2015-02-15 09:53:48 +00:00 committed by Git OBS Bridge
parent fd612131ac
commit 4a28e22c00
4 changed files with 30 additions and 41 deletions

3
0.3.20150131.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e39db410e89710bce19542ddfba4efa4b03663fdbd6405c7073fc9d29d04240b
size 78587

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Feb 14 18:36:51 UTC 2015 - p.drouand@gmail.com
- Update to version 0.3.20150131
* fixes for LibSpiro package definitions (bfo#196780)
* allowing other programs to seek LibSpiro using PKG_CHECK_MODULES().
(bao#43373)
- Update home page and download source Urls
- Add autoconf, automake and libtool requirements; needed to generate
the configure script
- Remove depreciated AUTHORS section
- Package AUTHORS, ChangeLog and COPYING into the doc directory
- gpl.txt is not provided anymore by upstream
-------------------------------------------------------------------
Mon Feb 6 13:46:11 UTC 2012 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libspiro0
# spec file for package libspiro
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,17 +16,18 @@
#
%define tarversion 20071029
Name: libspiro
Version: 0.0.1
Release: 1.1
Version: 0.3.20150131
Release: 0
Summary: A clothoid to bezier spline converter
License: GPL-2.0+
Group: System/Libraries
Source0: %{name}_src-%{tarversion}.tar.bz2
Url: http://libspiro.sourceforge.net
Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz
Url: https://github.com/fontforge/libspiro
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc-c++
BuildRequires: pkg-config
@ -34,11 +35,6 @@ BuildRequires: pkg-config
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 %{name}0
Summary: A clothoid to bezier spline converter
Group: System/Libraries
@ -56,41 +52,20 @@ Requires: %{name}0 = %{version} glibc-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 %{name}-%{tarversion}
%setup -q
%build
# autoreconf -fi
autoreconf -i
automake --foreign -Wall
%configure --with-pic\
--disable-static
make %{?smp_mflags}
cat > %{name}.pc << EOF
prefix=%{_prefix}
exec_prefix=%{_exec_prefix}
libdir=%{_libdir}
includedir=%{_includedir}
Name: %{name}
Description: %{summary}
Requires:
Version: %{name}
Libs: -L\${libdir} -lspiro
Libs.private: -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 -n %{name}0 -p /sbin/ldconfig
@ -98,7 +73,7 @@ mv *.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
%files -n %{name}0
%defattr(-,root,root)
%doc gpl.txt README*
%doc AUTHORS ChangeLog COPYING README*
%{_libdir}/lib*.so.*
%files devel

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1efeb1527bd48f8787281e8be1d0e8ff2e584d4c1994a0bc2f6859be2ffad4cf
size 172484