From: Jan Rękorajski Date: Thu, 28 Mar 2019 22:36:13 +0000 (+0100) Subject: - fix linking with libm X-Git-Tag: auto/th/libtiger-0.3.4-13 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b0e415f323be9536a5691510e7316c1510108017;p=packages%2Flibtiger.git - fix linking with libm - rel 13 --- diff --git a/libm.patch b/libm.patch new file mode 100644 index 0000000..d79cc56 --- /dev/null +++ b/libm.patch @@ -0,0 +1,38 @@ +--- libtiger-0.3.4/Makefile.am~ ++++ libtiger-0.3.4/Makefile.am +@@ -11,7 +11,7 @@ + tigerpc_DATA=misc/pkgconfig/tiger.pc + noinst_DATA=misc/pkgconfig/tiger-uninstalled.pc + +-LIBTOOLFLAGS=--silent ++AM_LIBTOOLFLAGS=--silent + + AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include + +@@ -34,7 +34,7 @@ noinst_HEADERS=\ + + lib_libtiger_la_CFLAGS=@CWARNFLAGS_FULL@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @CFLAGS_PROFILE@ \ + @PANGOCAIRO_CFLAGS@ @KATE_CFLAGS@ @PTHREAD_CFLAGS@ +-lib_libtiger_la_LIBADD=@PANGOCAIRO_LIBS@ @KATE_LIBS@ @PTHREAD_LIBS@ ++lib_libtiger_la_LIBADD=@PANGOCAIRO_LIBS@ @KATE_LIBS@ @PTHREAD_LIBS@ -lm + lib_libtiger_la_LDFLAGS=-version-info @LIBTIGER_SHARED_VERSION@ -no-undefined + + am__tar = ${AMTAR} chof - --owner=0 --group=0 --exclude=CVS --exclude=.cvsignore "$$tardir" +--- libtiger-0.3.4/configure.ac~ 2010-12-25 20:02:56.000000000 +0100 ++++ libtiger-0.3.4/configure.ac 2019-03-28 23:33:54.284279440 +0100 +@@ -31,6 +31,7 @@ + AC_PROG_GREP + AC_PROG_NM + AC_PROG_SED ++AM_PROG_AR + + AC_C_CONST + AC_C_INLINE +--- libtiger-0.3.4/doc/Makefile.am~ 2010-12-25 20:09:06.000000000 +0100 ++++ libtiger-0.3.4/doc/Makefile.am 2019-03-28 23:35:29.950030445 +0100 +@@ -1,4 +1,4 @@ +-LIBTOOLFLAGS=--silent ++AM_LIBTOOLFLAGS=--silent + + # dependency to get doc to be built + noinst_DATA = .doc-dummy-target diff --git a/libtiger.spec b/libtiger.spec index 99bf80b..92f1bb5 100644 --- a/libtiger.spec +++ b/libtiger.spec @@ -6,12 +6,13 @@ Summary: Rendering library for Kate text streams using Pango and Cairo Summary(pl.UTF-8): Biblioteka renderująca strumienie tekstowe Kate przy użyciu Pango i Cairo Name: libtiger Version: 0.3.4 -Release: 12 +Release: 13 License: LGPL v2.1+ Group: Libraries #Source0Download: http://code.google.com/p/libtiger/downloads/list Source0: http://libtiger.googlecode.com/files/%{name}-%{version}.tar.gz # Source0-md5: dc1dbeb658c95485ba10b9b2897b4ae2 +Patch0: libm.patch URL: http://code.google.com/p/libtiger/ BuildRequires: doxygen BuildRequires: libkate-devel >= 0.2.0 @@ -59,8 +60,14 @@ Statyczna biblioteka libtiger. %prep %setup -q +%patch0 -p1 %build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} %configure %{__make}