2015-01-12 06:25:12 +00:00
|
|
|
%global snap 20141030
|
|
|
|
%global dir_snap 20141029
|
2006-04-23 02:18:21 +00:00
|
|
|
|
2007-11-03 12:34:01 +00:00
|
|
|
Summary: The NetBSD Editline library
|
|
|
|
Name: libedit
|
2013-06-03 13:02:08 +00:00
|
|
|
Version: 3.1
|
2015-03-18 15:38:25 +00:00
|
|
|
Release: 10.%{snap}cvs%{?dist}
|
2007-11-03 12:34:01 +00:00
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.thrysoee.dk/editline/
|
|
|
|
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
2015-03-18 15:38:25 +00:00
|
|
|
Patch0: libedit-wchar.patch
|
2010-03-30 11:36:44 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2006-04-23 02:18:21 +00:00
|
|
|
|
|
|
|
%description
|
2007-09-04 03:42:48 +00:00
|
|
|
Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
|
|
|
|
It provides generic line editing, history, and tokenization functions, similar
|
|
|
|
to those found in GNU Readline.
|
2006-04-23 02:18:21 +00:00
|
|
|
|
2007-09-04 03:42:48 +00:00
|
|
|
%package devel
|
2007-11-03 12:34:01 +00:00
|
|
|
Summary: Development files for %{name}
|
2008-01-02 19:41:14 +00:00
|
|
|
Group: Development/Libraries
|
2007-09-04 03:42:48 +00:00
|
|
|
|
2007-11-03 12:34:01 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2009-01-23 05:28:05 +00:00
|
|
|
Requires: ncurses-devel
|
2007-09-04 03:42:48 +00:00
|
|
|
|
|
|
|
%description devel
|
2006-04-23 02:18:21 +00:00
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2015-01-12 06:25:12 +00:00
|
|
|
%setup -q -n %{name}-%{dir_snap}-%{version}
|
2015-03-18 15:38:25 +00:00
|
|
|
%patch0 -p1
|
2006-04-23 02:18:21 +00:00
|
|
|
|
2007-11-03 12:34:01 +00:00
|
|
|
# Suppress rpmlint error.
|
2011-03-24 22:19:15 +00:00
|
|
|
iconv -f ISO8859-1 -t UTF-8 -o ChangeLog.utf-8 ChangeLog
|
|
|
|
touch -r ChangeLog ChangeLog.utf-8
|
|
|
|
mv -f ChangeLog.utf-8 ChangeLog
|
2007-11-03 12:34:01 +00:00
|
|
|
|
2006-04-23 02:18:21 +00:00
|
|
|
%build
|
2011-02-08 05:04:21 +00:00
|
|
|
%configure --disable-static --enable-widec
|
2008-07-27 18:54:30 +00:00
|
|
|
|
2011-03-24 22:19:15 +00:00
|
|
|
# Fix unused direct shared library dependencies.
|
|
|
|
sed -i "s/lcurses/ltinfo/" src/Makefile
|
2008-07-27 18:54:30 +00:00
|
|
|
|
2006-04-23 02:18:21 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2008-01-21 19:20:10 +00:00
|
|
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
2007-09-04 03:42:48 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
2006-04-23 02:18:21 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
2007-09-04 03:42:48 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-04-23 02:18:21 +00:00
|
|
|
|
|
|
|
%files
|
2014-07-17 18:32:50 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog THANKS
|
2015-01-12 06:25:12 +00:00
|
|
|
%{_mandir}/man5/editrc.5*
|
2007-09-04 03:42:48 +00:00
|
|
|
%{_libdir}/%{name}.so.*
|
2006-04-23 02:18:21 +00:00
|
|
|
|
|
|
|
%files devel
|
2011-02-08 05:04:21 +00:00
|
|
|
%doc examples/fileman.c examples/tc1.c examples/wtc1.c
|
2014-01-02 10:14:04 +00:00
|
|
|
%{_mandir}/man3/*
|
2007-09-04 03:42:48 +00:00
|
|
|
%{_includedir}/histedit.h
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2006-06-29 05:44:59 +00:00
|
|
|
|
2007-09-04 03:42:48 +00:00
|
|
|
%dir %{_includedir}/editline
|
|
|
|
%{_includedir}/editline/readline.h
|
2006-04-23 02:18:21 +00:00
|
|
|
|
2007-09-04 03:42:48 +00:00
|
|
|
%changelog
|
2015-03-18 15:38:25 +00:00
|
|
|
* Wed Mar 18 2015 Boris Ranto <branto@redhat.com> - 3.1-10.20141030cvs
|
|
|
|
- ignore external characters in input only if not utf8
|
|
|
|
|
2015-01-12 06:25:12 +00:00
|
|
|
* Mon Jan 12 2015 Boris Ranto <branto@redhat.com> - 3.1-9.20141030cvs
|
|
|
|
- Rebase to latest upstream release
|
|
|
|
- Fix rhbz#1180529
|
|
|
|
|
2014-08-17 03:03:55 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-8.20140213cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-17 18:32:50 +00:00
|
|
|
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 3.1-7.20140213cvs
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 03:11:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-6.20140213cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-19 11:22:56 +00:00
|
|
|
* Wed Mar 19 2014 Kamil Dudka <kdudka@redhat.com> - 3.1-1.20140213cvs
|
|
|
|
- Update to 20140213-3.1
|
|
|
|
|
2014-01-21 12:25:09 +00:00
|
|
|
* Tue Jan 21 2014 Kamil Dudka <kdudka@redhat.com> - 3.1-4.20130712cvs
|
2014-03-19 11:22:56 +00:00
|
|
|
- Avoid SIGSEGV in clear_history() if called prior to using_history() (#1055409)
|
2014-01-21 12:25:09 +00:00
|
|
|
|
2014-01-02 10:13:17 +00:00
|
|
|
* Thu Jan 02 2014 Kamil Dudka <kdudka@redhat.com> - 3.1-3.20130712cvs
|
|
|
|
- Update to 20130712-3.1 (#1045675)
|
2014-01-02 10:14:04 +00:00
|
|
|
- Do not mark man pages as %%doc (#1045675)
|
2014-01-02 10:13:17 +00:00
|
|
|
|
2013-08-03 05:17:23 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2.20130601cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-03 13:02:08 +00:00
|
|
|
* Mon Jun 03 2013 Kamil Dudka <kdudka@redhat.com> - 3.1-1.20130601cvs
|
|
|
|
- Update to 20121213-3.1 (#970084)
|
|
|
|
|
2013-02-20 12:39:38 +00:00
|
|
|
* Wed Feb 20 2013 Kamil Dudka <kdudka@redhat.com> - 3.0-10.20121213cvs
|
|
|
|
- Update to 20121213-3.0 (#912957)
|
|
|
|
|
2013-02-14 04:16:11 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-9.20120601cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-28 14:41:35 +00:00
|
|
|
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 3.0-8.20110802cvs
|
|
|
|
- fix specfile issues reported by the fedora-review script
|
|
|
|
|
2012-07-18 11:54:01 +00:00
|
|
|
* Wed Jul 18 2012 Kamil Dudka <kdudka@redhat.com> 3.0-7.20120601cvs
|
|
|
|
- Update to 3.0 (20120601 snap)
|
2012-07-18 12:07:48 +00:00
|
|
|
- fix crash of el_insertstr() on incomplete multi-byte sequence (#840598)
|
2012-07-18 11:54:01 +00:00
|
|
|
|
2012-01-13 07:36:36 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-6.20110802cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-18 11:56:51 +00:00
|
|
|
* Fri Nov 18 2011 Kamil Dudka <kdudka@redhat.com> - 3.0-5.20110802cvs
|
|
|
|
- fix code defects found by Coverity
|
|
|
|
|
2011-11-10 02:23:56 +00:00
|
|
|
* Wed Nov 9 2011 Adam Williamson <awilliam@redhat.com> 3.0-4.20110802cvs
|
|
|
|
- rebuild to keep it 'newer' than the f15 and f16 builds
|
|
|
|
|
2011-08-26 10:40:41 +00:00
|
|
|
* Fri Aug 26 2011 Kamil Dudka <kdudka@redhat.com> 3.0-3.20110802cvs
|
|
|
|
- Update to 3.0 (20110802 snap), fixes #732989
|
|
|
|
|
2011-03-24 22:19:15 +00:00
|
|
|
* Thu Mar 24 2011 Jerry James <loganjerry@gmail.com> - 3.0-3.20110227cvs
|
|
|
|
- Update to 3.0 (20110227 snap)
|
|
|
|
- Drop upstreamed -sigwinch patch
|
|
|
|
- Preserve ChangeLog timestamp when converting to UTF-8
|
|
|
|
- Fix "unused direct shared library dependency" warning from rpmlint
|
|
|
|
- Don't BR gawk; it is on the exceptions list
|
|
|
|
|
2011-02-08 05:30:17 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3.20100424cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-08 05:04:21 +00:00
|
|
|
* Mon Feb 7 2011 Jerry James <loganjerry@gmail.com> - 3.0-2.20100424cvs
|
|
|
|
- Update to 3.0 (20100424 snap)
|
|
|
|
- Enable wide-character (Unicode) support
|
|
|
|
|
2010-03-30 11:36:44 +00:00
|
|
|
* Tue Mar 30 2010 Kamil Dudka <kdudka@redhat.com> 3.0-2.20090923cvs
|
|
|
|
- eliminated compile-time warnings
|
|
|
|
- fix to not break the read loop on SIGWINCH, patch contributed
|
|
|
|
by Edward Sheldrake (#575383)
|
|
|
|
|
2014-01-02 10:18:55 +00:00
|
|
|
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> 3.0-1.20090923cvs
|
2009-11-17 21:29:27 +00:00
|
|
|
- Update to 3.0 (20090923 snap)
|
|
|
|
|
2009-07-25 05:33:38 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-4.20080712cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 14:30:31 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-3.20080712cvs
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-23 05:28:05 +00:00
|
|
|
* Thu Jan 22 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.11-2.20080712cvs
|
|
|
|
- Add ncurses-devel requires to -devel subpackage (BZ#481252)
|
|
|
|
|
2014-01-02 10:18:55 +00:00
|
|
|
* Sun Jul 27 2008 Debarshi Ray <rishi@fedoraproject.org> - 2.11-1.20080712cvs
|
2008-07-27 18:54:30 +00:00
|
|
|
- Version bump to 20080712-2.11.
|
|
|
|
|
2008-02-16 16:23:25 +00:00
|
|
|
* Sat Feb 16 2008 Debarshi Ray <rishi@fedoraproject.org> - 2.10-4.20070831cvs
|
|
|
|
- Rebuilding with gcc-4.3 in Rawhide.
|
|
|
|
|
2007-11-04 12:21:56 +00:00
|
|
|
* Sun Nov 04 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-3.20070831cvs
|
|
|
|
- Removed 'Requires: ncurses-devel'.
|
|
|
|
|
2007-11-03 12:34:01 +00:00
|
|
|
* Sat Nov 03 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-2.20070831cvs
|
|
|
|
- Changed character encoding of ChangeLog from ISO8859-1 to UTF-8.
|
|
|
|
|
2014-01-02 10:18:55 +00:00
|
|
|
* Sun Sep 02 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-1.20070831cvs
|
2007-09-04 03:42:48 +00:00
|
|
|
- Initial build. Imported SPEC from Rawhide.
|