update to 3.1_20130712
configure with --enable-widec [release 3.1_20130712-1mamba;Fri Aug 16 2013]
This commit is contained in:
parent
e94788b54d
commit
d7a7f764dd
@ -1,2 +1,5 @@
|
||||
# libedit
|
||||
|
||||
libedit is an autotool- and libtoolized port of the NetBSD Editline library (libedit).
|
||||
libedit provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline.
|
||||
|
||||
|
104
libedit.spec
Normal file
104
libedit.spec
Normal file
@ -0,0 +1,104 @@
|
||||
%define majver %(echo %version | cut -d_ -f1)
|
||||
%define minver %(echo %version | cut -d_ -f2)
|
||||
Name: libedit
|
||||
Version: 3.1_20130712
|
||||
Release: 1mamba
|
||||
Summary: The NetBSD Editline library.
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.thrysoee.dk/editline/
|
||||
Source: http://www.thrysoee.dk/editline/libedit-%{minver}-%{majver}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libtermcap-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gawk
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit).
|
||||
%{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Libraries and headers for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit)
|
||||
%{name} provides generic line editing,history, and tokenization functions,similar
|
||||
to those found in GNU Readline.
|
||||
|
||||
This package contains libraries and header files need for development.
|
||||
|
||||
%package static
|
||||
Group: Development/Libraries
|
||||
Summary: Static libraries for %{name}
|
||||
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description static
|
||||
%{name} is an autotool- and libtoolized port of the NetBSD Editline library (libedit).
|
||||
%{name} provides generic line editing,history, and tokenization functions,similar to those found in GNU Readline.
|
||||
|
||||
This package contains static libraries need for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{minver}-%{majver}
|
||||
iconv --from-code ISO8859-1 --to-code UTF-8 ./ChangeLog \
|
||||
--output ChangeLog.utf-8 && mv ChangeLog.utf-8 ./ChangeLog
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-widec
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libedit.so.*
|
||||
%doc COPYING THANKS
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%dir %{_includedir}/editline
|
||||
%{_includedir}/editline/readline.h
|
||||
%{_libdir}/libedit.so
|
||||
%{_mandir}/man3/editline.3.gz
|
||||
%{_mandir}/man3/el_*.3.gz
|
||||
%{_mandir}/man5/editrc.5.gz
|
||||
%{_libdir}/pkgconfig/libedit.pc
|
||||
%doc examples/fileman.c
|
||||
%doc ChangeLog
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libedit.a
|
||||
%{_libdir}/libedit.la
|
||||
|
||||
%changelog
|
||||
* Fri Aug 16 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1_20130712-1mamba
|
||||
- update to 3.1_20130712
|
||||
- configure with --enable-widec
|
||||
|
||||
* Mon Mar 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0_20121213-1mamba
|
||||
- update to 3.0_20121213
|
||||
|
||||
* Thu Jul 02 2009 gil <puntogil@libero.it> 3.0-2mamba
|
||||
- rebuilt
|
||||
|
||||
* Fri Feb 13 2009 gil <puntogil@libero.it> 3.0-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user