Initial import into devel.

Modified Files: devel/.cvsignore devel/libedit.spec devel/sources
This commit is contained in:
Debarshi Ray 2007-09-04 03:42:48 +00:00
parent bfd69e3234
commit b4584a209d
3 changed files with 42 additions and 65 deletions

View File

@ -1 +1 @@
libedit-20070302-2.10.tar.gz libedit-20070831-2.10.tar.gz

View File

@ -1,95 +1,72 @@
%define snap 20070302 %define snap 20070831
Name: libedit Summary: The NetBSD Editline library
Version: 2.10 Name: libedit
Release: 1.%{snap}cvs%{?dist} Version: 2.10
Summary: The NetBSD Editline library (libedit) 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 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
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)
BuildRequires: ncurses-devel BuildRequires: gawk
BuildRequires: ncurses-devel
%description %description
This is an autotool- and libtoolized port of the NetBSD Editline Libedit is an autotool- and libtoolized port of the NetBSD Editline library.
library (libedit). This Berkeley-style licensed command line It provides generic line editing, history, and tokenization functions, similar
editor library provides generic line editing, history, and to those found in GNU Readline.
tokenization functions, similar to those found in GNU Readline.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ncurses-devel
%description devel Requires: %{name} = %{version}-%{release}
This is an autotool- and libtoolized port of the NetBSD Editline Requires: ncurses-devel
library (libedit). This Berkeley-style licensed command line Requires: pkgconfig
editor library provides generic line editing, history, and
tokenization functions, similar to those found in GNU Readline.
%description devel
This package contains development files for %{name}. This package contains development files for %{name}.
%prep %prep
%setup -q -n %{name}-%{snap}-%{version} %setup -q -n %{name}-%{snap}-%{version}
%build %build
%configure %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
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 %clean
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig %postun -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog INSTALL THANKS COPYING %doc ChangeLog COPYING THANKS
%{_libdir}/*.so.* %{_libdir}/%{name}.so.*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc examples/*.c %doc examples/fileman.c examples/test.c
%{_includedir}/* %{_includedir}/histedit.h
%{_libdir}/*.so %{_libdir}/%{name}.so
%{_libdir}/*.a %{_libdir}/pkgconfig/%{name}.pc
%{_mandir}/man3/* %{_mandir}/man3/*
%{_mandir}/man5/* %{_mandir}/man5/editrc.5.gz
%dir %{_includedir}/editline
%{_includedir}/editline/readline.h
%changelog %changelog
* Fri Mar 23 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.10-1.20070302cvs * Sun Sep 03 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.10-1.20070831cvs
- Take ownership of libedit package. - Initial build. Imported SPEC from Rawhide.
- 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.

View File

@ -1 +1 @@
c67689f79ceb0e538ecdb0f893c64393 libedit-20070302-2.10.tar.gz e8abd1169825efecfccb0f7b4c338bb5 libedit-20070831-2.10.tar.gz