6e669cb
Summary: A utility for creating TTY dialog boxes
cvsdist 396a8c7
Name: dialog
a994c12
%define dialogsubversion 20071028
6e669cb
Version: 1.1
960cae4
Release: 4.%{dialogsubversion}%{?dist}
c526889
License: LGPLv2
cvsdist 396a8c7
Group: Applications/System
cvsdist 3c2bc87
URL: http://invisible-island.net/dialog/dialog.html
c526889
Source: ftp://invisible-island.net/dialog/dialog-%{version}-%{dialogsubversion}.tgz
6e669cb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a994c12
BuildRequires: ncurses-devel gettext findutils libtool
a994c12
Patch1: dialog-1.1-20070227-incdir.patch
a994c12
Patch2: dialog-1.1-20071028-multilib.patch
a994c12
Patch3: dialog-1.1-20071028-libs.patch
cvsdist 396a8c7
cvsdist 396a8c7
%description
cvsdist 396a8c7
Dialog is a utility that allows you to show dialog boxes (containing
cvsdist 396a8c7
questions or messages) in TTY (text mode) interfaces.  Dialog is called
cvsdist 396a8c7
from within a shell script.  The following dialog boxes are implemented:
cvsdist 396a8c7
yes/no, menu, input, message, text, info, checklist, radiolist, and
cvsdist 396a8c7
gauge.  
cvsdist 396a8c7
cvsdist 396a8c7
Install dialog if you would like to create TTY dialog boxes.
cvsdist 396a8c7
6e669cb
%package devel 
6e669cb
Summary: Development files for building applications with the dialog library
6e669cb
Group: Development/Libraries
a994c12
Requires: %{name} = %{version}-%{release} ncurses-devel
6e669cb
6e669cb
%description devel
6e669cb
Dialog is a utility that allows you to show dialog boxes (containing
6e669cb
questions or messages) in TTY (text mode) interfaces. This package 
6e669cb
contains the files needed for developing applications, which use the 
6e669cb
dialog library.
6e669cb
cvsdist 396a8c7
%prep
c526889
%setup -q -n dialog-%{version}-%{dialogsubversion}
a994c12
%patch1 -p1 -b .incdir
a994c12
%patch2 -p1 -b .multilib
a994c12
%patch3 -p1 -b .libs
cvsdist 396a8c7
cvsdist 396a8c7
%build
a994c12
%configure \
a994c12
	--enable-nls \
a994c12
	--with-libtool \
a994c12
	--with-ncursesw \
a994c12
	--includedir=%{_includedir}/dialog
6e669cb
make %{?_smp_mflags}
cvsdist 396a8c7
cvsdist 396a8c7
%install
cvsdist 396a8c7
rm -rf $RPM_BUILD_ROOT
a994c12
a994c12
# prepare packaged samples
a994c12
rm -rf _samples
a994c12
mkdir _samples
a994c12
cp -a samples _samples
a994c12
rm -rf _samples/samples/install
a994c12
find _samples -type f -print0 | xargs -0 chmod a-x
cvsdist 396a8c7
6e669cb
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 396a8c7
a994c12
chmod 755 $RPM_BUILD_ROOT%{_libdir}/libdialog.so.*.*.*
a994c12
rm -f $RPM_BUILD_ROOT%{_libdir}/libdialog.{,l}a
a994c12
a994c12
%find_lang %{name}
cvsdist 3c2bc87
cvsdist 396a8c7
%clean
cvsdist 396a8c7
rm -rf $RPM_BUILD_ROOT
cvsdist 396a8c7
a994c12
%post -p /sbin/ldconfig
a994c12
a994c12
%postun -p /sbin/ldconfig
a994c12
cvsdist 3c2bc87
%files -f %{name}.lang
a994c12
%defattr(-,root,root,-)
a994c12
%doc COPYING dialog.lsm README _samples/samples
a994c12
%{_bindir}/dialog
a994c12
%{_libdir}/libdialog.so.*
cvsdist 396a8c7
%{_mandir}/man1/dialog.*
cvsdist 396a8c7
6e669cb
%files devel
a994c12
%defattr(-,root,root,-)
a994c12
%{_bindir}/dialog-config
6e669cb
%{_includedir}/dialog
a994c12
%{_libdir}/libdialog.so
a994c12
%{_mandir}/man3/dialog.*
6e669cb
cvsdist 396a8c7
%changelog
960cae4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-4.20071028
960cae4
- Autorebuild for GCC 4.3
960cae4
a994c12
* Mon Nov 05 2007 Miroslav Lichvar <mlichvar@redhat.com> - 1.1-3.20071028
a994c12
- update to 1.1-20071028
a994c12
- fix multilib conflicts (#341001)
a994c12
- use shared library, drop static
a994c12
- merge review fixes (#225693)
a994c12
a994c12
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.1-2.20070704
c526889
- changed license to LGPLv2
c526889
d5005b7
* Thu Jul  5 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070704
d5005b7
- version 1.1-20070704
d5005b7
d5005b7
* Wed Jun 27 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070604
61380f6
- dialog-1.1-20070604
61380f6
d5005b7
* Wed Feb 28 2007 Harald Hoyer <harald@redhat.com> - 1.1-1.20070227svn
6e669cb
- version 1.1-20070227
6e669cb
- added devel subpackage
6e669cb
- specfile fixes (bug#225693)
6e669cb
- Resolves: rhbz#225693
6e669cb
7e08db5
* Wed Jan 17 2007 Harald Hoyer <harald@redhat.com> - 1.0.20060221-1
7e08db5
- version 1.0-20060221
7e08db5
a80a7d8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2.2
a80a7d8
- rebuild
a80a7d8
91eac17
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2.1
91eac17
- bump again for double-long bug on ppc(64)
91eac17
1d11da8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.20051107-1.2
1d11da8
- rebuilt for new gcc4.1 snapshot and glibc changes
1d11da8
0467802
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0467802
- rebuilt
0467802
66a88b6
* Wed Nov 16 2005 Harald Hoyer <harald@redhat.com> 1.0-20051107-1
66a88b6
- version 1.0-20051107
66a88b6
0c0cba6
* Mon Apr 18 2005 Harald Hoyer <harald@redhat.com> 1.0-20050306-1
0c0cba6
- version 1.0-20050306
0c0cba6
461637a
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> 1.0-20050206-1
461637a
- new version 1.0-20050206
461637a
8e8a149
* Tue Dec 21 2004 Harald Hoyer <harald@redhat.com> 1.0-20041219-1
8e8a149
- new version 1.0-20041219
8e8a149
ad799fb
* Wed Oct 20 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-3
ad799fb
- rlandry@redhat.com refined his patch (bug 136374)
ad799fb
fa8cc03
* Tue Oct 19 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-2
fa8cc03
- added patch from rlandry@redhat.com which removes extra trailing
fa8cc03
  spaces (bug 136374)
fa8cc03
cvsdist 2b7e71c
* Fri Aug 27 2004 Harald Hoyer <harald@redhat.com> 1.0-20040731-1
cvsdist 2b7e71c
- new version 1.0-20040731
cvsdist 2b7e71c
cvsdist 6f4a580
* Wed Jul 29 2004 Harald Hoyer <harald@redhat.com> 1.0-20040728-1
cvsdist 6f4a580
- new version 1.0-20040728
cvsdist 6f4a580
cvsdist d40989d
* Wed Jul 28 2004 Harald Hoyer <harald@redhat.de> 1.0-20040721-1
cvsdist d40989d
- new version 1.0-20040721
cvsdist d40989d
cvsdist 9337ec0
* Wed Jun 23 2004 Harald Hoyer <harald@redhat.de> 0.9b.20040606-1
cvsdist 9337ec0
- new version 0.9b-20040606
cvsdist 9337ec0
- new Version scheme
cvsdist 9337ec0
cvsdist 9337ec0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 9337ec0
- rebuilt
cvsdist 9337ec0
cvsdist f5061e6
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f5061e6
- rebuilt
cvsdist f5061e6
cvsdist eb3a86e
* Mon Dec 08 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031207.1
cvsdist eb3a86e
- version 20031207
cvsdist eb3a86e
cvsdist 1c9f926
* Thu Nov 27 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031126.1
cvsdist 1c9f926
- version 20031126
cvsdist 1c9f926
cvsdist 1c9f926
* Mon Nov 24 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.2
cvsdist 1c9f926
- added gettext BuildReq (#109192)
cvsdist 1c9f926
cvsdist 21e0549
* Wed Oct  8 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.1
cvsdist 21e0549
- version 20031002
cvsdist 21e0549
cvsdist 21e0549
* Thu Sep 11 2003 Harald Hoyer <harald@redhat.de> 0.9b-20030910.1
cvsdist 21e0549
- new version 20030910 which also fixes #104236
cvsdist 21e0549
cvsdist 21e0549
* Tue Aug 12 2003 Harald Hoyer <harald@redhat.de> 0.9b-20020814.5
cvsdist 21e0549
- --with-ncursesw
cvsdist 21e0549
cvsdist 21e0549
* Fri Aug  8 2003 Elliot Lee <sopwith@redhat.com> 0.9b-20020814.4
cvsdist 21e0549
- Rebuilt
cvsdist 21e0549
cvsdist 21e0549
* Tue Jun 17 2003 Harald Hoyer <harald@redhat.de> 0.9b-20020814.3
cvsdist 21e0549
- rebuilt
cvsdist 21e0549
cvsdist 21e0549
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 21e0549
- rebuilt
cvsdist 21e0549
cvsdist cd9ab66
* Thu Jan 23 2003 Tim Powers <timp@redhat.com> 0.9b-20020814.2
cvsdist cd9ab66
- rebuild
cvsdist cd9ab66
cvsdist cd9ab66
* Tue Nov 05 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020814.1
cvsdist 3c2bc87
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3c2bc87
- automated rebuild
cvsdist 3c2bc87
cvsdist 3c2bc87
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 3c2bc87
- automated rebuild
cvsdist 3c2bc87
cvsdist 3c2bc87
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020519.1
cvsdist 3c2bc87
- update to dialog-0.9b-20020519
cvsdist 3c2bc87
cvsdist 3c2bc87
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 3c2bc87
- automated rebuild
cvsdist 3c2bc87
cvsdist 038b243
* Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
cvsdist 038b243
- update to 20010527
cvsdist 038b243
- added ncurses-devel dependency (#44733)
cvsdist 038b243
- removed perl dependency
cvsdist 038b243
cvsdist ecbd226
* Tue Jan 09 2001 Harald Hoyer <harald@redhat.com>
cvsdist ecbd226
- update to 20001217
cvsdist ecbd226
cvsdist 396a8c7
* Mon Aug  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 396a8c7
- fix one of the examples (#14073)
cvsdist 396a8c7
cvsdist 396a8c7
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 396a8c7
- automatic rebuild
cvsdist 396a8c7
cvsdist 396a8c7
* Wed Apr  5 2000 Bill Nottingham <notting@redhat.com>
cvsdist 396a8c7
- rebuild against current ncurses/readline
cvsdist 396a8c7
cvsdist 396a8c7
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
cvsdist 396a8c7
- handle compressed man pages
cvsdist 396a8c7
cvsdist 396a8c7
* Thu Jan 20 2000 Bill Nottingham <notting@redhat.com>
cvsdist 396a8c7
- fix loop patch for reading from pipe
cvsdist 396a8c7
cvsdist 396a8c7
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 396a8c7
- auto rebuild in the new build environment (release 14)
cvsdist 396a8c7
cvsdist 396a8c7
* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
cvsdist 396a8c7
- build for 6.0
cvsdist 396a8c7
cvsdist 396a8c7
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 396a8c7
- build root
cvsdist 396a8c7
cvsdist 396a8c7
* Thu May 7 1998 Michael Maher <mike@redhat.com> 
cvsdist 396a8c7
- Added Sean Reifschneider <jafo@tummy.com> patches for 
cvsdist 396a8c7
  infinite loop problems.
cvsdist 396a8c7
cvsdist 396a8c7
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
cvsdist 396a8c7
- translations modified for de, fr, tr
cvsdist 396a8c7
cvsdist 396a8c7
* Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
cvsdist 396a8c7
- built against new ncurses
cvsdist 396a8c7
cvsdist 396a8c7
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
cvsdist 396a8c7
- built against glibc