|
@@ -1,15 +1,15 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
-%define snap 20191231
|
|
+%define snap 20210216
|
|
|
|
|
|
Summary: The NetBSD Editline library
|
|
Summary: The NetBSD Editline library
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
Name: libedit
|
|
Name: libedit
|
|
Version: 3.1
|
|
Version: 3.1
|
|
-Release: 4.%{snap}%{?_dist_release}
|
|
+Release: 5.%{snap}%{?_dist_release}
|
|
|
|
+Group: system
|
|
|
|
+
|
|
License: BSD
|
|
License: BSD
|
|
-Group: System Environment/Libraries
|
|
|
|
URL: http://thrysoee.dk/editline/
|
|
URL: http://thrysoee.dk/editline/
|
|
-
|
|
|
|
Source0: http://thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
|
Source0: http://thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
@@ -21,10 +21,11 @@ Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
|
|
It provides generic line editing, history, and tokenization functions, similar
|
|
It provides generic line editing, history, and tokenization functions, similar
|
|
to those found in GNU Readline.
|
|
to those found in GNU Readline.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Summary(ja): %{name} の開発ファイル
|
|
Summary(ja): %{name} の開発ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig
|
|
@@ -37,7 +38,7 @@ This package contains development files for %{name}.
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: The NetBSD Editline library
|
|
Summary: The NetBSD Editline library
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
Summary(ja): NetBSD Editline ライブラリ
|
|
-Group: System Environment/Libraries
|
|
+Group: system,legacy
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
@@ -45,10 +46,11 @@ Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
|
|
It provides generic line editing, history, and tokenization functions, similar
|
|
It provides generic line editing, history, and tokenization functions, similar
|
|
to those found in GNU Readline.
|
|
to those found in GNU Readline.
|
|
|
|
|
|
|
|
+
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Summary(ja): %{name} の開発ファイル
|
|
Summary(ja): %{name} の開発ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming,legacy
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-pkgconfig
|
|
Requires: compat32-pkgconfig
|
|
@@ -57,6 +59,10 @@ Requires: compat32-ncurses-devel
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
This package contains development files for %{name}.
|
|
This package contains development files for %{name}.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-%{snap}-%{version}
|
|
%setup -q -n %{name}-%{snap}-%{version}
|
|
|
|
|
|
@@ -64,6 +70,7 @@ This package contains development files for %{name}.
|
|
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
--output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
|
|
--output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%configure --disable-static --enable-widec
|
|
%configure --disable-static --enable-widec
|
|
|
|
|
|
@@ -72,6 +79,7 @@ iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -80,9 +88,11 @@ 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
|
|
%__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
|
|
|
|
|
|
|
|
+
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
@@ -91,6 +101,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%license COPYING
|
|
%license COPYING
|
|
@@ -122,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1-5.20210216
|
|
|
|
+- updated to 3.1-20210216.
|
|
|
|
+
|
|
* Fri Mar 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1-4.20191231
|
|
* Fri Mar 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1-4.20191231
|
|
- updated to 3.1-20191231.
|
|
- updated to 3.1-20191231.
|
|
|
|
|