Browse Source

readline-8.0-1

Tomohiro "Tomo-p" KATO 4 years ago
parent
commit
2a5b5c43fc
1 changed files with 18 additions and 29 deletions
  1. 18 29
      r/readline/readline-vl.spec

+ 18 - 29
r/readline/readline-vl.spec

@@ -2,29 +2,18 @@ Summary: A library for editing typed in command lines.
 Summary(ja): Readline ライブラリ
 
 Name: readline
-Version: 6.3
+Version: 8.0
 Release: 1%{?_dist_release}
 License: GPLv3+
 Group: System Environment/Libraries
 URL: http://tiswww.tis.case.edu/~chet/readline/rltop.html
-Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
+Source: https://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
 
 # upstream patches
-Patch1: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-001
-Patch2: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-002
-Patch3: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-003
-Patch4: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-004
-Patch5: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-005
-Patch6: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-006
-Patch7: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-007
-Patch8: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline63-008
-
-# add workaround for problem in gdb
-# in new version of readline needs to be deleted
-# bz701131
-Patch9: readline-6.2-gdb.patch
+Patch1: https://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-001
+
 # fix file permissions, remove RPATH, use CFLAGS
-Patch10: readline-6.2-shlib.patch
+Patch10: readline-8.0-shlib.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: sed
@@ -103,20 +92,11 @@ installed. You also need to have the readline package installed.
 
 # upstream patches
 %patch1 -p0 -b .001
-%patch2 -p0 -b .002
-%patch3 -p0 -b .003
-%patch4 -p0 -b .004
-%patch5 -p0 -b .005
-%patch6 -p0 -b .006
-%patch7 -p0 -b .007
-%patch8 -p0 -b .008
-
-%patch9 -p1 -b .gdb
+
 %patch10 -p1 -b .shlib
 
 %build
-export CPPFLAGS="-I%{_includedir}/ncurses"
-%configure
+%configure --with-curses --disable-install-examples
 make %{?_smp_mflags}
 
 
@@ -171,8 +151,8 @@ fi
 
 %files
 %defattr(-,root,root)
-%doc CHANGES COPYING NEWS README USAGE
-%doc doc/*.{html,pdf}
+%license COPYING
+%doc CHANGES NEWS README USAGE
 /%{_lib}/libreadline*.so.*
 %{_libdir}/libhistory*.so.*
 %{_infodir}/history.info*
@@ -184,6 +164,7 @@ fi
 %{_includedir}/readline
 %{_libdir}/lib*.a
 %{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
 %{_infodir}/readline.info*
 %{_mandir}/man*/*
 
@@ -197,9 +178,17 @@ fi
 %defattr(-,root,root)
 %{_libdir}/lib*.a
 %{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
 %endif
 
 %changelog
+* Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0-1
+- new upstream release.
+- dropped all of official patches.
+- added Patch1.
+- dropped Patch9.
+- updated Patch10.
+
 * Sat Mar 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 6.3-1
 - new upstream release
 - update upstream patches (patch1-8)