[packages/malaga] - link with libm (missing symbols) - fix building info with texinfo 5.x - rel 4
baggins
baggins at pld-linux.org
Fri Oct 21 07:30:34 CEST 2016
commit 13da051de92454055c2e3b58c2508085073f6a1d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 21 07:29:56 2016 +0200
- link with libm (missing symbols)
- fix building info with texinfo 5.x
- rel 4
link.patch | 20 ++++++++++++++++++++
malaga-info.patch | 43 +++++++++++++++++++++++++++++++++++++++++++
malaga.spec | 5 +++--
3 files changed, 66 insertions(+), 2 deletions(-)
---
diff --git a/malaga.spec b/malaga.spec
index 90a07fe..08abde0 100644
--- a/malaga.spec
+++ b/malaga.spec
@@ -2,13 +2,14 @@ Summary: Malaga - a Natural Language Analysis System
Summary(pl.UTF-8): Malaga - system analizy języków naturalnych
Name: malaga
Version: 7.12
-Release: 3
+Release: 4
License: GPL v2+
Group: Libraries
Source0: http://home.arcor.de/bjoern-beutel/malaga/%{name}-%{version}.tgz
# Source0-md5: 873b292d923e2d1c0643769aa58c1882
Patch0: %{name}-info.patch
Patch1: %{name}-verbose.patch
+Patch2: link.patch
URL: http://home.arcor.de/bjoern-beutel/malaga/
BuildRequires: glib2-devel >= 2.0
BuildRequires: gtk+2-devel >= 2:2.8
@@ -82,6 +83,7 @@ Graficzny interfejs wyświetlający wyniki i stany diagnostyczne Malagi.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%configure
@@ -112,7 +114,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/mallex
%attr(755,root,root) %{_bindir}/malmake
%attr(755,root,root) %{_bindir}/malrul
-%attr(755,root,root) %{_bindir}/malshow
%attr(755,root,root) %{_bindir}/malsym
%attr(755,root,root) %{_libdir}/libmalaga.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libmalaga.so.7
diff --git a/link.patch b/link.patch
new file mode 100644
index 0000000..e1b0b11
--- /dev/null
+++ b/link.patch
@@ -0,0 +1,20 @@
+--- malaga-7.12/Makefile.in.orig 2016-10-21 07:18:31.171572529 +0200
++++ malaga-7.12/Makefile.in 2016-10-21 07:19:40.339120302 +0200
+@@ -233,7 +233,7 @@
+
+ malshow: $(MALSHOW_OBJS) libmalaga.la
+ $(LIBTOOL) --mode=link $(LINK) $(MALSHOW_OBJS) $(GTK_LIBS) \
+- libmalaga.la -o malshow
++ -lm libmalaga.la -o malshow
+
+ # malsym ----------------------------------------------------------------------
+
+@@ -241,7 +241,7 @@
+
+ malsym: $(MALSYM_OBJS) libmalaga.la
+ $(LIBTOOL) --mode=link $(LINK) $(MALSYM_OBJS) $(GLIB_LIBS) \
+- libmalaga.la -o malsym
++ -lm libmalaga.la -o malsym
+
+ #==============================================================================
+ # The dependencies are created by "gcc -MM *.c `pkg-config gtk+-2.0 --cflags`.
diff --git a/malaga-info.patch b/malaga-info.patch
index 0814108..5446073 100644
--- a/malaga-info.patch
+++ b/malaga-info.patch
@@ -22,3 +22,46 @@
@end direntry
@c ----------------------------------------------------------------------------
+@@ -49,8 +49,7 @@
+ @titlepage
+ @title Malaga 7.12
+ @subtitle User's and Programmer's Manual
+- at author
+-Bj@"orn Beutel
++ at author Bj@"orn Beutel
+ @page
+ @vskip 0pt plus 1 filll
+ Copyright @copyright{} 1995 Bj@"orn Beutel.
+@@ -86,7 +85,7 @@
+ development and application of grammars that are used for the analysis
+ of words and sentences of natural languages.
+
+-Copyright @copyright{} 1995 Bj at ouml{}rn Beutel.
++Copyright @copyright{} 1995 Bj@"orn Beutel.
+
+ Permission is granted to make and distribute verbatim copies of this
+ manual provided the copyright notice and this permission notice are
+@@ -142,10 +141,10 @@
+ @b{A}pplication''.
+
+ @ifnottex
+-The program package ``Malaga'' has been developed by Bj at ouml{}rn Beutel.
+- at cindex Beutel, Bj at ouml{}rn
+-Gerald Sch at uuml{}ller
+- at cindex Sch at uuml{}ller, Gerald
++The program package ``Malaga'' has been developed by Bj@"orn Beutel.
++ at cindex Beutel, Bj@"orn
++Gerald Sch@"uller
++ at cindex Sch@"uller, Gerald
+ @end ifnottex
+ @iftex
+ The program package ``Malaga'' has been developed by Bj@"orn Beutel.
+@@ -1663,7 +1662,7 @@
+ @code{ga-line} (in @code{mallex}), you can display the results with
+ @code{result}.
+
+- at itemize @asis
++ at itemize
+ @item @code{use-display} is off:
+ The results will be sent to standard output.
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/malaga.git/commitdiff/13da051de92454055c2e3b58c2508085073f6a1d
More information about the pld-cvs-commit
mailing list