%define snap 20140620 %define major 0 %define libname %mklibname edit %{major} %define libnamedevel %mklibname edit -d Summary: Provides generic line editing functions similar to those found in GNU Readline Name: libedit Version: 3.1 Release: %mkrel -c %{snap} 3 Epoch: 0 License: BSD-style Group: System/Libraries URL: http://www.thrysoee.dk/editline/ Source0: http://www.thrysoee.dk/editline/%{name}-%{snap}-%{version}.tar.gz 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. %package -n %{libname} Summary: Provides generic line editing functions similar to those found in GNU Readline Group: System/Libraries %description -n %{libname} 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. %package -n %{libnamedevel} Summary: Development files for %{name} Group: Development/C Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{libname} = %{epoch}:%{version}-%{release} Provides: edit-devel = %{epoch}:%{version}-%{release} Provides: libedit-devel = %{epoch}:%{version}-%{release} Provides: editline = %{epoch}:%{version}-%{release} Obsoletes: edit-devel < %{epoch}:%{version}-%{release} Obsoletes: editline < %{epoch}:%{version}-%{release} #Added 09/2012 (wally) Obsoletes: %{_lib}edit-static-devel < 0:3.0-0.20120601.2 %description -n %{libnamedevel} 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. This package contains development files for %{name}. %prep %setup -q -n %{name}-%{snap}-%{version} %build %configure2_5x \ --disable-static %make %install %makeinstall_std # Allows us to include the examples in separate %%doc directory find examples -type f ! -name "*.c" -delete rm -r examples/.{deps,libs} #we don't want these find %{buildroot} -name "*.la" -delete %files -n %{libname} %doc ChangeLog INSTALL THANKS %{_libdir}/*.so.%{major}* %files -n %{libnamedevel} %doc examples %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libedit.pc %files %doc ChangeLog INSTALL THANKS %{_mandir}/man3/* %{_mandir}/man5/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0:3.1-0.20140620.3.mga5 + Revision: 743220 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0:3.1-0.20140620.2.mga5 + Revision: 681438 - Mageia 5 Mass Rebuild * Fri Aug 01 2014 luigiwalser <luigiwalser> 0:3.1-0.20140620.1.mga5 + Revision: 658818 - 20140620-3.1 * Sat Oct 19 2013 umeabot <umeabot> 0:3.1-0.20130601.2.mga4 + Revision: 528532 - Mageia 4 Mass Rebuild * Sun Jun 23 2013 luigiwalser <luigiwalser> 0:3.1-0.20130601.1.mga4 + Revision: 445858 - 20130601-3.1 * Sat Jan 12 2013 umeabot <umeabot> 0:3.0-0.20120601.3.mga3 + Revision: 357048 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Sep 23 2012 wally <wally> 0:3.0-0.20120601.2.mga3 + Revision: 296883 - drop static build and get rid of .la files - drop old obsoletes - require man pages on devel pkg - clean .spec a bit more * Sun Sep 23 2012 wally <wally> 0:3.0-0.20120601.1.mga3 + Revision: 296879 - new snapshot - clean .spec a bit * Wed Jan 12 2011 ahmad <ahmad> 0:3.0-0.20090923.3.mga1 + Revision: 7714 - drop old/unneeded scriptlets - imported package libedit * Thu Nov 25 2010 Oden Eriksson <oeriksson@mandriva.com> 0:3.0-0.20090923.2mdv2011.0 + Revision: 601043 - rebuild * Sat Mar 20 2010 Emmanuel Andry <eandry@mandriva.org> 0:3.0-0.20090923.1mdv2010.1 + Revision: 525477 - New version 3.0-0.20090923 * Mon Mar 15 2010 Oden Eriksson <oeriksson@mandriva.com> 0:3.0-0.20090722.2mdv2010.1 + Revision: 520140 - rebuilt for 2010.1 * Thu Jul 30 2009 Emmanuel Andry <eandry@mandriva.org> 0:3.0-0.20090722.1mdv2010.0 + Revision: 404793 - New version 3.0 - check major * Thu Dec 18 2008 Oden Eriksson <oeriksson@mandriva.com> 0:2.11-0.20080712.2mdv2009.1 + Revision: 315552 - rebuild * Sat Jul 12 2008 Oden Eriksson <oeriksson@mandriva.com> 0:2.11-0.20080712.1mdv2009.0 + Revision: 234156 - 20080712-2.11 + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Tue May 20 2008 Oden Eriksson <oeriksson@mandriva.com> 0:2.10-0.20070831.3mdv2009.0 + Revision: 209486 - rebuilt with gcc43 * Thu Apr 17 2008 Oden Eriksson <oeriksson@mandriva.com> 0:2.10-0.20070831.2mdv2009.0 + Revision: 195086 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tv@mandriva.org> 0:2.10-0.20070831.1mdv2008.1 + Revision: 128553 - kill re-definition of %%buildroot on Pixel's request * Fri Aug 31 2007 David Walluck <walluck@mandriva.org> 0:2.10-0.20070831.1mdv2008.0 + Revision: 76614 - Editline 20070831-2.10 * Tue Aug 21 2007 Olivier Thauvin <nanardon@mandriva.org> 0:2.10-0.20070813.3mdv2008.0 + Revision: 68535 - split man into separated pkg to allow biarch - obsoletes editline, which is same things * Thu Aug 16 2007 Funda Wang <fwang@mandriva.org> 0:2.10-0.20070813.2mdv2008.0 + Revision: 64116 - Obsoletes old devel * Tue Aug 14 2007 David Walluck <walluck@mandriva.org> 0:2.10-0.20070813.1mdv2008.0 + Revision: 62856 - 20070813-2.10 - update to new lib policy - add static-devel package - no more need for manpage fix - remove executable permissions on scripts in %%doc * Mon Mar 12 2007 David Walluck <walluck@mandriva.org> 0:2.10-0.20070302.1mdv2007.1 + Revision: 141588 - 20070302-2.10 * Fri Dec 08 2006 Oden Eriksson <oeriksson@mandriva.com> 0:2.9-0.20060603.2mdv2007.1 + Revision: 93749 - Import libedit * Mon Jun 05 2006 David Walluck <walluck@mandriva.org> 0:2.9-0.20060213.2mdv2007.0 - 20060603 * Tue Feb 21 2006 David Walluck <walluck@mandriva.org> 0:2.9-0.20060213.1mdk - 20060213 * Fri Feb 10 2006 David Walluck <walluck@mandriva.org> 0:2.9-0.20060103.1mdk - 20060103 - add Requires(post{,un}): /sbin/ldconfig - add Provides: %%{_lib}edit-devel * Sun Oct 23 2005 David Walluck <walluck@mandriva.org> 0:2.9-0.20051022.1mdk - 20051022 - update summary - change license from BSD to BSD-style - remove unnecessary BuildRequires - %%version=%%release -> %%{version}-%%{release} - use %%make and %%makeinstall - no need to test %%{buildroot} = "/" - add patches to devel docs * Fri Jun 03 2005 David Walluck <walluck@mandriva.org> 2.9-0.20050601.1mdk - 20050601 * Sun May 08 2005 Olivier Thauvin <nanardon@mandriva.org> 2.9-0.20041127.4mdk - fix specfile * Sun Jan 09 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20041127.3mdk - drop the readline-devel conflict as it brought circular dependencies hell * Mon Jan 03 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20041127.2mdk - add a conflict on readline-devel, as this one seems to be picked up first if installed, when for example building postgresql, honeyd, etc. * Tue Nov 30 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20041127.1mdk - 20041127 * Mon Nov 01 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20041014.1mdk - 20041014 - drop P0, it's implemented upstream * Sat Sep 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20040908.2mdk - fix funny naming * Sat Sep 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20040908.1mdk - hack the soname * Sat Sep 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20040908.3mdk - fix one conflicting manpage with readline-devel * Sat Sep 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20040908.2mdk - make it compile on 10.0 too * Sat Sep 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 2.9-0.20040908.1mdk - initial mandrake package