From: Jakub Bogusz Date: Sat, 24 May 2014 08:48:48 +0000 (+0200) Subject: - updated to 0.41 X-Git-Tag: auto/th/rlwrap-0.41-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=731bb45b5d574898fd46b1588fdf2acba9919752;p=packages%2Frlwrap.git - updated to 0.41 - removed obsolete tinfo patch --- diff --git a/rlwrap-tinfo.patch b/rlwrap-tinfo.patch deleted file mode 100644 index d845cf8..0000000 --- a/rlwrap-tinfo.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- rlwrap-0.37/configure.ac.orig 2010-04-30 12:50:30.000000000 +0200 -+++ rlwrap-0.37/configure.ac 2011-05-28 20:28:24.625327106 +0200 -@@ -273,6 +273,8 @@ - - AC_CHECK_FUNC(tgetent, - [READLINE_SUPPLIB=], -+ [AC_CHECK_LIB(tinfo, tgetent, -+ [READLINE_SUPPLIB=-ltinfo], - [AC_CHECK_LIB(curses, tgetent, - [READLINE_SUPPLIB=-lcurses], - [AC_CHECK_LIB(ncurses, tgetent, -@@ -283,6 +285,7 @@ - ]) - ]) - ]) -+ ]) - - - AC_CHECK_LIB(readline,readline,[READLINELIB=-lreadline], diff --git a/rlwrap.spec b/rlwrap.spec index 3e5ddda..90393e8 100644 --- a/rlwrap.spec +++ b/rlwrap.spec @@ -1,17 +1,17 @@ Summary: readline wrapper Summary(pl.UTF-8): Nakładka na readline Name: rlwrap -Version: 0.37 -Release: 2 +Version: 0.41 +Release: 1 License: GPL v2 Group: Applications/System Source0: http://utopia.knoware.nl/~hlub/rlwrap/%{name}-%{version}.tar.gz -# Source0-md5: 04cd6e2c257eb5a86b297f2ebf91dbbf -Patch0: %{name}-tinfo.patch +# Source0-md5: 8d1f3f8e634d55725645e6750c54e5f2 URL: http://utopia.knoware.nl/~hlub/rlwrap/ BuildRequires: autoconf >= 2.61 BuildRequires: automake BuildRequires: readline-devel >= 4.2 +BuildRequires: sed >= 4.0 Requires: readline >= 4.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -31,8 +31,10 @@ uzupełniania. %prep %setup -q -%patch0 -p1 +%{__sed} -i -e '1s,#!/usr/bin/env perl,#!/usr/bin/perl,' \ + test/testclient \ + filters/* %build %{__aclocal} %{__autoconf} @@ -53,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS BUGS NEWS README +%doc AUTHORS BUGS NEWS PLEA README TODO %attr(755,root,root) %{_bindir}/%{name} %dir %{_datadir}/rlwrap %dir %{_datadir}/rlwrap/completions