Blame SPECS/dialog.spec

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