Update to 20150131

This commit is contained in:
Kevin Fenzi 2015-02-01 14:43:12 -07:00
parent d602948a53
commit 1958db0d00
4 changed files with 10 additions and 37 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
libspiro_src-20071029.tar.bz2
/v0.2.tar.gz
/0.3.20150131.tar.gz

View File

@ -1,29 +0,0 @@
From 3b6723f326704e3e3b2d99b75f4fcf3d02d02bf5 Mon Sep 17 00:00:00 2001
From: Joe Da Silva <digital@joescat.com>
Date: Sat, 2 Nov 2013 21:02:42 -0700
Subject: [PATCH] Same Check used in FontForge needed here too for '-lm' for
math libraries
Some distros like Ubuntu, and operating systems such as BeOS require -lm
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 5c5cc70..aa5bf06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,10 @@ dnl AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],[AC_SUBST([AM_DEFAULT_VERBOSITY],[1])])
#-------------------------------------------
+# Check for libraries
+AC_SEARCH_LIBS([cos],[m])
+
+#-------------------------------------------
# Check for finite or isfinite. Use one.
AC_CHECK_FUNCS(finite, ,[
AC_MSG_CHECKING(for finite in <math.h>)
--
2.1.0

View File

@ -1,14 +1,12 @@
Name: libspiro
Version: 20130930
Release: 4%{?dist}
Version: 20150131
Release: 1%{?dist}
Summary: Library to simplify the drawing of beautiful curves
Group: System Environment/Libraries
License: GPLv2+
URL: http://libspiro.sourceforge.net/
Source0: https://github.com/fontforge/libspiro/archive/v0.2.tar.gz
# Upstream commit 3b6723f326704e3e3b2d99b75f4fcf3d02d02bf5
Patch0: libspiro-0.2-libm.patch
Source0: https://github.com/fontforge/libspiro/archive/0.3.20150131.tar.gz
BuildRequires: automake autoconf libtool
%description
@ -26,8 +24,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n libspiro-0.2
%patch0 -p1 -b .libm
%setup -q -n libspiro-0.3.20150131
%build
autoreconf -i
@ -51,8 +48,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libspiro.pc
%changelog
* Sun Feb 01 2015 Kevin Fenzi <kevin@scrye.com> 20150131-1
- Update to 20150131
* Mon Dec 08 2014 Nils Philippsen <nils@redhat.com> - 20130930-4
- explicitly link against libm

View File

@ -1 +1 @@
937ac006a4ee1b966fb8935072cfb150 v0.2.tar.gz
fdb5068aeff7b45b6d9319f643b506b2 0.3.20150131.tar.gz