60ce94
Summary: A utility for creating TTY dialog boxes
60ce94
Name: dialog
60ce94
%global dialogsubversion 20130523
60ce94
Version: 1.2
60ce94
Release: 5.%{dialogsubversion}%{?dist}
60ce94
License: LGPLv2
60ce94
Group: Applications/System
60ce94
URL: http://invisible-island.net/dialog/dialog.html
60ce94
Source: ftp://invisible-island.net/dialog/dialog-%{version}-%{dialogsubversion}.tgz
60ce94
BuildRequires: ncurses-devel gettext findutils libtool
60ce94
Patch1: dialog-incdir.patch
60ce94
Patch2: dialog-multilib.patch
60ce94
Patch3: dialog-libs.patch
60ce94
Patch4: dialog-formkeys.patch
60ce94
60ce94
%description
60ce94
Dialog is a utility that allows you to show dialog boxes (containing
60ce94
questions or messages) in TTY (text mode) interfaces.  Dialog is called
60ce94
from within a shell script.  The following dialog boxes are implemented:
60ce94
yes/no, menu, input, message, text, info, checklist, radiolist, and
60ce94
gauge.  
60ce94
60ce94
Install dialog if you would like to create TTY dialog boxes.
60ce94
60ce94
%package devel 
60ce94
Summary: Development files for building applications with the dialog library
60ce94
Group: Development/Libraries
60ce94
Requires: %{name}%{?_isa} = %{version}-%{release} ncurses-devel
60ce94
60ce94
%description devel
60ce94
Dialog is a utility that allows you to show dialog boxes (containing
60ce94
questions or messages) in TTY (text mode) interfaces. This package 
60ce94
contains the files needed for developing applications, which use the 
60ce94
dialog library.
60ce94
60ce94
%prep
60ce94
%setup -q -n dialog-%{version}-%{dialogsubversion}
60ce94
%patch1 -p1 -b .incdir
60ce94
%patch2 -p1 -b .multilib
60ce94
%patch3 -p1 -b .libs
60ce94
%patch4 -p1 -b .formkeys
60ce94
60ce94
%build
60ce94
%configure \
60ce94
	--enable-nls \
60ce94
	--with-libtool \
60ce94
	--with-ncursesw \
60ce94
	--includedir=%{_includedir}/dialog
60ce94
make %{?_smp_mflags}
60ce94
60ce94
%install
60ce94
# prepare packaged samples
60ce94
rm -rf _samples
60ce94
mkdir _samples
60ce94
cp -a samples _samples
60ce94
rm -rf _samples/samples/install
60ce94
find _samples -type f -print0 | xargs -0 chmod a-x
60ce94
60ce94
make install DESTDIR=$RPM_BUILD_ROOT
60ce94
60ce94
chmod 755 $RPM_BUILD_ROOT%{_libdir}/libdialog.so.*.*.*
60ce94
rm -f $RPM_BUILD_ROOT%{_libdir}/libdialog.{,l}a
60ce94
60ce94
%find_lang %{name}
60ce94
60ce94
%post -p /sbin/ldconfig
60ce94
60ce94
%postun -p /sbin/ldconfig
60ce94
60ce94
%files -f %{name}.lang
60ce94
%doc COPYING dialog.lsm README _samples/samples
60ce94
%{_bindir}/dialog
60ce94
%{_libdir}/libdialog.so.*
60ce94
%{_mandir}/man1/dialog.*
60ce94
60ce94
%files devel
60ce94
%{_bindir}/dialog-config
60ce94
%{_includedir}/dialog
60ce94
%{_libdir}/libdialog.so
60ce94
%{_mandir}/man3/dialog.*
60ce94
60ce94
%changelog
60ce94
* Fri Apr 06 2018 Miroslav Lichvar <mlichvar@redhat.com> - 1.2-5.20130523
60ce94
- add left/right arrow keys to navigation bindings of form window (#1368333)
60ce94
60ce94
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2-4.20130523
60ce94
- Mass rebuild 2014-01-24
60ce94
60ce94
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-3.20130523
60ce94
- Mass rebuild 2013-12-27
60ce94
60ce94
* Fri May 24 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.2-2.20130523
60ce94
- update to 1.2-20130523
60ce94
60ce94
* Mon Mar 18 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.2-1.20121230
60ce94
- update to 1.2-20121230
60ce94
60ce94
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18.20120706
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
60ce94
60ce94
* Tue Nov 13 2012 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-17.20120706
60ce94
- update to 1.1-20120706
60ce94
- remove unnecessary macros
60ce94
60ce94
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-16.20110707
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
60ce94
60ce94
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-15.20110707
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
60ce94
60ce94
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14.20110707
60ce94
- Rebuilt for glibc bug#747377
60ce94
60ce94
* Tue Jul 26 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-13.20110707
60ce94
- update to 1.1-20110707
60ce94
60ce94
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-12.20100428
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
60ce94
60ce94
* Wed May 12 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-11.20100428
60ce94
- update to 1.1-20100428
60ce94
60ce94
* Thu Feb 04 2010 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-10.20100119
60ce94
- update to 1.1-20100119
60ce94
60ce94
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9.20080819
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
60ce94
60ce94
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8.20080819
60ce94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
60ce94
60ce94
* Mon Aug 25 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-7.20080819
60ce94
- update to 1.1-20080819
60ce94
60ce94
* Wed Jul 30 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-6.20080727
60ce94
- update to 1.1-20080727
60ce94
60ce94
* Fri Apr 11 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-5.20080316
60ce94
- update to 1.1-20080316
60ce94
60ce94
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-4.20071028
60ce94
- Autorebuild for GCC 4.3
60ce94
60ce94
* Mon Nov 05 2007 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-3.20071028
60ce94
- update to 1.1-20071028
60ce94
- fix multilib conflicts (#341001)
60ce94
- use shared library, drop static
60ce94
- merge review fixes (#225693)
60ce94
60ce94
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.1-2.20070704
60ce94
- changed license to LGPLv2
60ce94
60ce94
* Thu Jul  5 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070704
60ce94
- version 1.1-20070704
60ce94
60ce94
* Wed Jun 27 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070604
60ce94
- dialog-1.1-20070604
60ce94
60ce94
* Wed Feb 28 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070227svn
60ce94
- version 1.1-20070227
60ce94
- added devel subpackage
60ce94
- specfile fixes (bug#225693)
60ce94
- Resolves: rhbz#225693
60ce94
60ce94
* Wed Jan 17 2007 Harald Hoyer <harald@redhat.com> - 1.0.20060221-1
60ce94
- version 1.0-20060221
60ce94
60ce94
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2.2
60ce94
- rebuild
60ce94
60ce94
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2.1
60ce94
- bump again for double-long bug on ppc(64)
60ce94
60ce94
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2
60ce94
- rebuilt for new gcc4.1 snapshot and glibc changes
60ce94
60ce94
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
60ce94
- rebuilt
60ce94
60ce94
* Wed Nov 16 2005 Harald Hoyer <harald@redhat.com> 1.0-20051107-1
60ce94
- version 1.0-20051107
60ce94
60ce94
* Mon Apr 18 2005 Harald Hoyer <harald@redhat.com> 1.0-20050306-1
60ce94
- version 1.0-20050306
60ce94
60ce94
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> 1.0-20050206-1
60ce94
- new version 1.0-20050206
60ce94
60ce94
* Tue Dec 21 2004 Harald Hoyer <harald@redhat.com> 1.0-20041219-1
60ce94
- new version 1.0-20041219
60ce94
60ce94
* Wed Oct 20 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-3
60ce94
- rlandry@redhat.com refined his patch (bug 136374)
60ce94
60ce94
* Tue Oct 19 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-2
60ce94
- added patch from rlandry@redhat.com which removes extra trailing
60ce94
  spaces (bug 136374)
60ce94
60ce94
* Fri Aug 27 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-1
60ce94
- new version 1.0-20040731
60ce94
60ce94
* Thu Jul 29 2004 Harald Hoyer <harald@redhat.com> 1.0-20040728-1
60ce94
- new version 1.0-20040728
60ce94
60ce94
* Wed Jul 28 2004 Harald Hoyer <harald@redhat.de> 1.0-20040721-1
60ce94
- new version 1.0-20040721
60ce94
60ce94
* Wed Jun 23 2004 Harald Hoyer <harald@redhat.de> 0.9b.20040606-1
60ce94
- new version 0.9b-20040606
60ce94
- new Version scheme
60ce94
60ce94
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
60ce94
- rebuilt
60ce94
60ce94
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
60ce94
- rebuilt
60ce94
60ce94
* Mon Dec 08 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031207.1
60ce94
- version 20031207
60ce94
60ce94
* Thu Nov 27 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031126.1
60ce94
- version 20031126
60ce94
60ce94
* Mon Nov 24 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.2
60ce94
- added gettext BuildReq (#109192)
60ce94
60ce94
* Wed Oct  8 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.1
60ce94
- version 20031002
60ce94
60ce94
* Thu Sep 11 2003 Harald Hoyer <harald@redhat.de> 0.9b-20030910.1
60ce94
- new version 20030910 which also fixes #104236
60ce94
60ce94
* Tue Aug 12 2003 Harald Hoyer <harald@redhat.de> 0.9b-20020814.5
60ce94
- --with-ncursesw
60ce94
60ce94
* Fri Aug  8 2003 Elliot Lee <sopwith@redhat.com> 0.9b-20020814.4
60ce94
- Rebuilt
60ce94
60ce94
* Tue Jun 17 2003 Harald Hoyer <harald@redhat.de> 0.9b-20020814.3
60ce94
- rebuilt
60ce94
60ce94
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
60ce94
- rebuilt
60ce94
60ce94
* Thu Jan 23 2003 Tim Powers <timp@redhat.com> 0.9b-20020814.2
60ce94
- rebuild
60ce94
60ce94
* Tue Nov 05 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020814.1
60ce94
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
60ce94
- automated rebuild
60ce94
60ce94
* Sun May 26 2002 Tim Powers <timp@redhat.com>
60ce94
- automated rebuild
60ce94
60ce94
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020519.1
60ce94
- update to dialog-0.9b-20020519
60ce94
60ce94
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
60ce94
- automated rebuild
60ce94
60ce94
* Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
60ce94
- update to 20010527
60ce94
- added ncurses-devel dependency (#44733)
60ce94
- removed perl dependency
60ce94
60ce94
* Tue Jan 09 2001 Harald Hoyer <harald@redhat.com>
60ce94
- update to 20001217
60ce94
60ce94
* Mon Aug  7 2000 Bill Nottingham <notting@redhat.com>
60ce94
- fix one of the examples (#14073)
60ce94
60ce94
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
60ce94
- automatic rebuild
60ce94
60ce94
* Wed Apr  5 2000 Bill Nottingham <notting@redhat.com>
60ce94
- rebuild against current ncurses/readline
60ce94
60ce94
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
60ce94
- handle compressed man pages
60ce94
60ce94
* Thu Jan 20 2000 Bill Nottingham <notting@redhat.com>
60ce94
- fix loop patch for reading from pipe
60ce94
60ce94
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
60ce94
- auto rebuild in the new build environment (release 14)
60ce94
60ce94
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
60ce94
- build for 6.0
60ce94
60ce94
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
60ce94
- build root
60ce94
60ce94
* Thu May 7 1998 Michael Maher <mike@redhat.com> 
60ce94
- Added Sean Reifschneider <jafo@tummy.com> patches for 
60ce94
  infinite loop problems.
60ce94
60ce94
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
60ce94
- translations modified for de, fr, tr
60ce94
60ce94
* Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
60ce94
- built against new ncurses
60ce94
60ce94
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
60ce94
- built against glibc