From f4f71c4adee16671fd7441896d0c4ec08a3c27d7a5110844716a87fb1c41052c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 7 Sep 2008 23:43:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 --- .gitattributes | 23 +++++ .gitignore | 1 + README.SuSE | 19 ++++ libedit-20080712-2.11.tar.bz2 | 3 + libedit.changes | 84 ++++++++++++++++ libedit.spec | 176 ++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 306 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.SuSE create mode 100644 libedit-20080712-2.11.tar.bz2 create mode 100644 libedit.changes create mode 100644 libedit.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.SuSE b/README.SuSE new file mode 100644 index 0000000..eb2bef1 --- /dev/null +++ b/README.SuSE @@ -0,0 +1,19 @@ + Examples +---------- + +An Editline port of the fileman.c example from the GNU Readline documentation is +distributed with this package. + +Note libcurses, as well as libedit, should be linked to Editline enabled +programs, e.g. +gcc -o fileman fileman.c -ledit -lcurses + +A pkg-config libedit.pc file is provided, so you can write +PKG_CHECK_MODULES(LIBEDIT, libedit) + +in configure.ac of your client program to detect the existence of libedit.so and +to set CFLAGS and LIBS for using libedit. + +Using the pkg-config helper tool, the above fileman example looks like, +gcc -o fileman fileman.c `pkg-config --libs --cflags libedit` + diff --git a/libedit-20080712-2.11.tar.bz2 b/libedit-20080712-2.11.tar.bz2 new file mode 100644 index 0000000..db6f67f --- /dev/null +++ b/libedit-20080712-2.11.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b7b74062ba91457bc9838fcb8c15493134b4737c660affb519dedab038d2a2c +size 350527 diff --git a/libedit.changes b/libedit.changes new file mode 100644 index 0000000..1313960 --- /dev/null +++ b/libedit.changes @@ -0,0 +1,84 @@ +------------------------------------------------------------------- +Sat Sep 6 18:21:16 CEST 2008 - mrueckert@suse.de + +- update to 20080712-2.11 + * version-info: 0:27:0 + * configure.ac: Added '--enable-debug' configure flag, to produce + debugging information. + * examples/fileman.c: cast stat struct members, st_nlink and + st_size, appropriately (see also 'man 2 stat'). + Patch by Alex Elder. + * all: sync with upstream source. MINOR version is now 11. +- rename main package to libedit and split out a subpackage libedit0 + +------------------------------------------------------------------- +Fri Aug 31 22:29:07 CEST 2007 - mrueckert@suse.de + +- update to 20070831-2.10 + * version-info: 0:26:0 + * libedit.pc.in,Makefile.am,configure.ac,patches/extra_dist_list.sh: + Added pkg-config support for libedit. Patch by Masatake YAMATO. + +------------------------------------------------------------------- +Wed Aug 15 01:14:38 CEST 2007 - mrueckert@suse.de + +- update to 20070813-2.10 + * version-info: 0:25:0 + * all: sync with upstream source. + +------------------------------------------------------------------- +Mon Jul 16 16:37:10 CEST 2007 - mrueckert@suse.de + +- fixed a few -n lines that wont work in abuild otherwise + +------------------------------------------------------------------- +Mon Jun 11 18:40:55 CEST 2007 - mrueckert@suse.de + +- rename package to follow the library packaging policy. +- dont build the static lib + +------------------------------------------------------------------- +Sat Mar 3 17:50:11 CET 2007 - mrueckert@suse.de + +- update to 20070302-2.10: + * version-info: 0:24:0 + * all: sync with upstream source. + * A bug with el_push() has been fixed. + +------------------------------------------------------------------- +Tue Jan 9 17:50:24 CET 2007 - mrueckert@suse.de + +- update to 20061228-2.10: + * version-info: 0:23:0 + * src/shlib_version: Upstream bumped minor version from 9 to 10. + * all: sync with upstream source. More readline functions. + +------------------------------------------------------------------- +Sun Oct 22 21:15:46 CEST 2006 - mrueckert@suse.de + +- update to 20061022-2.9: + synced with upstream source. + +------------------------------------------------------------------- +Thu Aug 31 16:53:57 CEST 2006 - mrueckert@suse.de + +- removed changelog from README.SuSE + +------------------------------------------------------------------- +Wed Aug 30 00:20:04 CEST 2006 - mrueckert@suse.de + +- update to 20060829-2.9: + Finally all files are bsd 3 clause. + This package should be GPL compatible now. + +------------------------------------------------------------------- +Thu Aug 17 12:17:48 CEST 2006 - mrueckert@suse.de + +- run ldconfig + +------------------------------------------------------------------- +Thu Aug 17 11:37:20 CEST 2006 - mrueckert@suse.de + +- updated to 20060816-2.9: + * sync with upstream sources + diff --git a/libedit.spec b/libedit.spec new file mode 100644 index 0000000..7462521 --- /dev/null +++ b/libedit.spec @@ -0,0 +1,176 @@ +# +# spec file for package libedit (Version 2.11.snap20080712) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: libedit +Version: 2.11.snap20080712 +Release: 1 +%define pkg_name libedit +%define pkg_version 20080712-2.11 +# +License: BSD 3-Clause +Group: Development/Libraries/C and C++ +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ ncurses-devel +# +Url: http://www.thrysoee.dk/editline/ +# http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz +Source: http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.bz2 +Source1: README.SuSE +# +Summary: A command line editing and history library + +%description +libedit is a command line editing and history library. It is designed +to be used by interactive programs that allow the user to type commands +at a terminal prompt. + + + +Authors: +-------- + Jess Thrysoee + +%define library_name libedit0 +%define debug_package_requires %{library_name} = %{version}-%{release} + +%package -n libedit0 +License: BSD 3-Clause +Group: Development/Libraries/C and C++ +Provides: %{pkg_name} = %{version}-%{release} +Obsoletes: %{pkg_name} <= %{version} +# +Summary: A command line editing and history library + +%description -n libedit0 +libedit is a command line editing and history library. It is designed +to be used by interactive programs that allow the user to type commands +at a terminal prompt. + + + +Authors: +-------- + Jess Thrysoee + +%package -n libedit-devel +License: BSD 3-Clause +Group: Development/Libraries/C and C++ +Requires: %{library_name} = %{version} +Provides: %{library_name}-devel = %{version}-%{release} +Requires: ncurses-devel +# +Summary: Development files for libedit + +%description -n libedit-devel +libedit is a command line editing and history library. It is designed +to be used by interactive programs that allow the user to type commands +at a terminal prompt. + +This package holds the development files for libedit. + + + +Authors: +-------- + Jess Thrysoee + +%prep +%setup -n %{pkg_name}-%{pkg_version} +%{__cp} %{S:1} . + +%build +%configure --disable-static --with-pic +%{__make} + +%install +%makeinstall +rm %{buildroot}%{_libdir}/libedit.la + +%clean +%{__rm} -rf %{buildroot} + +%post -n %{library_name} -p /sbin/ldconfig + +%postun -n %{library_name} -p /sbin/ldconfig + +%files -n %{library_name} +%defattr(-,root,root,-) +%{_libdir}/libedit.so.* +%{_mandir}/man5/editrc.5* +%doc README.SuSE THANKS ChangeLog COPYING examples/*c + +%files -n libedit-devel +%defattr(-,root,root,-) +%{_libdir}/libedit.so +%{_includedir}/histedit.h +%{_includedir}/editline/ +%{_mandir}/man3/*.3* +%{_libdir}/pkgconfig/libedit.pc + +%changelog +* Sat Sep 06 2008 mrueckert@suse.de +- update to 20080712-2.11 + * version-info: 0:27:0 + * configure.ac: Added '--enable-debug' configure flag, to produce + debugging information. + * examples/fileman.c: cast stat struct members, st_nlink and + st_size, appropriately (see also 'man 2 stat'). + Patch by Alex Elder. + * all: sync with upstream source. MINOR version is now 11. +- rename main package to libedit and split out a subpackage libedit0 +* Sat Sep 01 2007 mrueckert@suse.de +- update to 20070831-2.10 + * version-info: 0:26:0 + * libedit.pc.in,Makefile.am,configure.ac,patches/extra_dist_list.sh: + Added pkg-config support for libedit. Patch by Masatake YAMATO. +* Wed Aug 15 2007 mrueckert@suse.de +- update to 20070813-2.10 + * version-info: 0:25:0 + * all: sync with upstream source. +* Mon Jul 16 2007 mrueckert@suse.de +- fixed a few -n lines that wont work in abuild otherwise +* Mon Jun 11 2007 mrueckert@suse.de +- rename package to follow the library packaging policy. +- dont build the static lib +* Sat Mar 03 2007 mrueckert@suse.de +- update to 20070302-2.10: + * version-info: 0:24:0 + * all: sync with upstream source. + * A bug with el_push() has been fixed. +* Tue Jan 09 2007 mrueckert@suse.de +- update to 20061228-2.10: + * version-info: 0:23:0 + * src/shlib_version: Upstream bumped minor version from 9 to 10. + * all: sync with upstream source. More readline functions. +* Sun Oct 22 2006 mrueckert@suse.de +- update to 20061022-2.9: + synced with upstream source. +* Thu Aug 31 2006 mrueckert@suse.de +- removed changelog from README.SuSE +* Wed Aug 30 2006 mrueckert@suse.de +- update to 20060829-2.9: + Finally all files are bsd 3 clause. + This package should be GPL compatible now. +* Thu Aug 17 2006 mrueckert@suse.de +- run ldconfig +* Thu Aug 17 2006 mrueckert@suse.de +- updated to 20060816-2.9: + * sync with upstream sources diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4