|
@@ -1,5 +1,5 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
-%define snap 20140620
|
|
+%define snap 20160903
|
|
|
|
|
|
Summary: The NetBSD Editline library
|
|
Summary: The NetBSD Editline library
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
@@ -8,11 +8,9 @@ Version: 3.1
|
|
Release: 2.%{snap}%{?_dist_release}
|
|
Release: 2.%{snap}%{?_dist_release}
|
|
License: BSD
|
|
License: BSD
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-URL: http://www.thrysoee.dk/editline/
|
|
+URL: http://thrysoee.dk/editline/
|
|
|
|
|
|
-Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
|
+Source0: http://thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
|
-# bz #575383
|
|
|
|
-Patch1: libedit-3.0-sigwinch.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: gawk
|
|
BuildRequires: gawk
|
|
@@ -61,7 +59,6 @@ This package contains development files for %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-%{snap}-%{version}
|
|
%setup -q -n %{name}-%{snap}-%{version}
|
|
-%patch1 -p1
|
|
|
|
|
|
|
|
# Suppress rpmlint error.
|
|
# Suppress rpmlint error.
|
|
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
@@ -81,6 +78,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
+%__mv $RPM_BUILD_ROOT%{_mandir}/man3/history.3 $RPM_BUILD_ROOT%{_mandir}/man3/history_libedit.3
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -96,6 +95,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog COPYING THANKS
|
|
%doc ChangeLog COPYING THANKS
|
|
%{_libdir}/%{name}.so.*
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
+%{_mandir}/man5/editrc.5*
|
|
|
|
+%{_mandir}/man7/editline.7*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -105,8 +106,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_includedir}/editline/readline.h
|
|
%{_includedir}/editline/readline.h
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/%{name}.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
-%doc %{_mandir}/man3/*
|
|
+%{_mandir}/man3/*
|
|
-%doc %{_mandir}/man5/editrc.5*
|
|
|
|
|
|
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
@@ -121,6 +121,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Mar 29 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 3.1-2.20160903
|
|
|
|
+- update to 20160903 snap
|
|
|
|
+- drop SIGWINCH patch (Patch1); upstream fixed
|
|
|
|
+- move editrc.5 to main package
|
|
|
|
+- add editline.7
|
|
|
|
+
|
|
* Tue Mar 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1-2.20140620
|
|
* Tue Mar 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1-2.20140620
|
|
- added compat32 subpackage
|
|
- added compat32 subpackage
|
|
|
|
|