Initial import into devel.
Modified Files: devel/.cvsignore devel/libedit.spec devel/sources
This commit is contained in:
parent
bfd69e3234
commit
b4584a209d
@ -1 +1 @@
|
||||
libedit-20070302-2.10.tar.gz
|
||||
libedit-20070831-2.10.tar.gz
|
||||
|
103
libedit.spec
103
libedit.spec
@ -1,95 +1,72 @@
|
||||
%define snap 20070302
|
||||
%define snap 20070831
|
||||
|
||||
Name: libedit
|
||||
Version: 2.10
|
||||
Release: 1.%{snap}cvs%{?dist}
|
||||
Summary: The NetBSD Editline library (libedit)
|
||||
Summary: The NetBSD Editline library
|
||||
Name: libedit
|
||||
Version: 2.10
|
||||
Release: 1.%{snap}cvs%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.thrysoee.dk/editline/
|
||||
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://www.thrysoee.dk/editline/
|
||||
Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gawk
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
%description
|
||||
This is an autotool- and libtoolized port of the NetBSD Editline
|
||||
library (libedit). This Berkeley-style licensed command line
|
||||
editor library provides generic line editing, history, and
|
||||
tokenization functions, similar to those found in GNU Readline.
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ncurses-devel
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description devel
|
||||
This is an autotool- and libtoolized port of the NetBSD Editline
|
||||
library (libedit). This Berkeley-style licensed command line
|
||||
editor library provides generic line editing, history, and
|
||||
tokenization functions, similar to those found in GNU Readline.
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ncurses-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
This package contains development files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{snap}-%{version}
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel -p /sbin/ldconfig
|
||||
%postun devel -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog INSTALL THANKS COPYING
|
||||
%{_libdir}/*.so.*
|
||||
%doc ChangeLog COPYING THANKS
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc examples/*.c
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%doc examples/fileman.c examples/test.c
|
||||
%{_includedir}/histedit.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_mandir}/man3/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man5/editrc.5.gz
|
||||
|
||||
%dir %{_includedir}/editline
|
||||
%{_includedir}/editline/readline.h
|
||||
|
||||
%changelog
|
||||
* Fri Mar 23 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.10-1.20070302cvs
|
||||
- Take ownership of libedit package.
|
||||
- Import libedit 2.10 20070302 snapshot.
|
||||
|
||||
* Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 2.9-3.20060603cvs
|
||||
- Rebuild for FC6
|
||||
|
||||
* Thu Jun 29 2006 Michael J. Knox <michael@knox.net.nz> - 2.9-3.20060603cvs
|
||||
- updated to current snapshot
|
||||
- fixed incoherent-version-in-changelog rpmlint messages
|
||||
|
||||
* Thu Mar 23 2006 Michael J Knox <michael@knox.net.nz> - 2.9-2.20060213cvs
|
||||
- removed licence file I supplied, have requested upstream to provide one
|
||||
- removed unrequire build dep
|
||||
|
||||
* Tue Mar 14 2006 Michael J Knox <michael@knox.net.nz> - 2.9-1.20060213cvs
|
||||
- removed .la
|
||||
- added post and postun calls.
|
||||
- fixed package groups and release.
|
||||
- added %{name}.COPYING to include NetBSD BSD license.
|
||||
|
||||
* Tue Feb 14 2006 Michael J Knox <michael@knox.net.nz> - 2.9-20060103cvs
|
||||
- initial package for NetBSD's editline.
|
||||
* Sun Sep 03 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-1.20070831cvs
|
||||
- Initial build. Imported SPEC from Rawhide.
|
||||
|
Loading…
Reference in New Issue
Block a user