2007-01-16 00:09:12 +01:00
|
|
|
#
|
2008-04-10 21:19:30 +02:00
|
|
|
# spec file for package dialog (Version 1.1)
|
2007-01-16 00:09:12 +01:00
|
|
|
#
|
2008-04-10 21:19:30 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:09:12 +01:00
|
|
|
#
|
2008-08-15 22:55:40 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:09:12 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 21:19:30 +02:00
|
|
|
|
2007-01-16 00:09:12 +01:00
|
|
|
Name: dialog
|
2007-04-01 12:07:20 +02:00
|
|
|
BuildRequires: gpm ncurses-devel
|
2008-04-10 21:19:30 +02:00
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Url: http://invisible-island.net/dialog/
|
|
|
|
Version: 1.1
|
2008-08-21 17:51:35 +02:00
|
|
|
Release: 27
|
2007-01-16 00:09:12 +01:00
|
|
|
Summary: Menus and Input Boxes for Shell Scripts
|
2008-04-10 21:19:30 +02:00
|
|
|
Group: Development/Libraries/Other
|
2008-08-15 22:55:40 +02:00
|
|
|
Source: dialog-1.1-20080727.tar.bz2
|
|
|
|
Patch: dialog-1.1-20080727.dif
|
2008-04-10 21:19:30 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:09:12 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This program lets you use menus and dialog boxes in shell scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Savio Lam <lam836@cs.cuhk.hk>
|
|
|
|
Alessandro Rubini <rubini@ipvvis.unipv.it>
|
|
|
|
Florian La Roche <florian@suse.de>
|
|
|
|
Marc Ewing <marc@redhat.com>
|
|
|
|
T.Dickey <dickey@clark.net>
|
|
|
|
|
|
|
|
%prep
|
2008-08-15 22:55:40 +02:00
|
|
|
%setup -n dialog-1.1-20080727
|
2007-01-16 00:09:12 +01:00
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
CC=gcc
|
2008-08-15 22:55:40 +02:00
|
|
|
LIBS=""
|
2007-01-16 00:09:12 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -pipe -Wall"
|
2008-08-21 17:51:35 +02:00
|
|
|
for ncurses_conf in ncursesw6-config ncurstesw5-config ; do
|
2008-08-15 22:55:40 +02:00
|
|
|
ncurses_conf=$(type -p $ncurses_conf 2> /dev/null) || continue
|
|
|
|
LIBS="${LIBS:+$LIBS }$($ncurses_conf --libs)"
|
|
|
|
CFLAGS="${CFLAGS:+$CFLAGS }$($ncurses_conf --cflags)"
|
|
|
|
NCURSES_CONFIG=$ncurses_conf
|
|
|
|
export NCURSES_CONFIG
|
|
|
|
break
|
|
|
|
done
|
|
|
|
export CC LIBS CFLAGS
|
2008-04-10 21:19:30 +02:00
|
|
|
./configure --prefix=%{_prefix} \
|
2007-01-16 00:09:12 +01:00
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--enable-nls \
|
|
|
|
--enable-included-msgs \
|
|
|
|
--enable-widec \
|
|
|
|
--with-ncursesw
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2008-04-10 21:19:30 +02:00
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/mg/ # Malagasy (Malayalam??)
|
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/rm/ # Rhaeto-Romance
|
2007-01-16 00:09:12 +01:00
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
%clean
|
2008-04-10 21:19:30 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:09:12 +01:00
|
|
|
|
|
|
|
%files -f %name.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES README VERSION COPYING
|
2008-04-10 21:19:30 +02:00
|
|
|
%{_bindir}/dialog
|
2007-01-16 00:09:12 +01:00
|
|
|
%_mandir/man1/dialog.1.gz
|
|
|
|
|
2007-04-01 12:07:20 +02:00
|
|
|
%changelog
|
2008-08-21 17:51:35 +02:00
|
|
|
* Mon Aug 18 2008 werner@suse.de
|
|
|
|
- Reflect last changes in ncurses
|
2008-08-15 22:55:40 +02:00
|
|
|
* Thu Aug 14 2008 werner@suse.de
|
|
|
|
- Update to version 1.1 patchlevel 20080727
|
|
|
|
- Use new ncurses ABI 6 which has extend mouse and color support
|
2008-04-10 21:19:30 +02:00
|
|
|
* Thu Apr 10 2008 werner@suse.de
|
|
|
|
- Update to version 1.1 patchlevel 20080316 which includes our
|
|
|
|
shadow patch and is fully compatible with newer ncurses.
|
|
|
|
* Sat Mar 31 2007 rguenther@suse.de
|
2007-04-01 12:07:20 +02:00
|
|
|
- Add gpm BuildRequires
|
2008-04-10 21:19:30 +02:00
|
|
|
* Mon Jul 10 2006 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- Update to new version 1.0 (20060221 TD)
|
2008-04-10 21:19:30 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 21:19:30 +02:00
|
|
|
* Tue Apr 06 2004 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- More about shadows: Make them resizable.
|
2008-04-10 21:19:30 +02:00
|
|
|
* Thu Apr 01 2004 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- Update to UTF-8 workable version, use wide char version (#37850)
|
2008-04-10 21:19:30 +02:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- add %%defattr
|
2008-04-10 21:19:30 +02:00
|
|
|
* Thu Jun 12 2003 coolo@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- use BuildRoot
|
|
|
|
- package translations too
|
2008-04-10 21:19:30 +02:00
|
|
|
* Wed Jan 08 2003 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- Fix bug#22787: Update to new version 0.92b (20020814 TD)
|
|
|
|
- Correct shadow support
|
2008-04-10 21:19:30 +02:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- removed bogus self-provides
|
2008-04-10 21:19:30 +02:00
|
|
|
* Sat Feb 26 2000 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- Do not highlight shadows
|
2008-04-10 21:19:30 +02:00
|
|
|
* Fri Feb 25 2000 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- ioctl: if stdout is not a tty try stdin
|
|
|
|
- Make PageUp and PageDown work as Up and Down in menubox,
|
|
|
|
checkbox, and radiobox.
|
2008-04-10 21:19:30 +02:00
|
|
|
* Thu Feb 24 2000 werner@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- Security fix in gauge menu
|
|
|
|
- /usr/man -> /usr/share/man
|
|
|
|
- Small optimations for several ncurses versions
|
|
|
|
- Use RPM_OPT_FLAGS
|
|
|
|
- Make DEL/BS work on any terminal even if terminfo is broken
|
|
|
|
- Make dialogrc dump work again
|
|
|
|
- Make shadow work and enable shadow support
|
2008-04-10 21:19:30 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-04-10 21:19:30 +02:00
|
|
|
* Thu Jan 02 1997 florian@suse.de
|
2007-01-16 00:09:12 +01:00
|
|
|
just recompiled for newer ncurses
|