From 92313b76b203cb497bb8514eff41bdbfdc42275f Mon Sep 17 00:00:00 2001 From: kloczek Date: Thu, 12 Nov 1998 21:53:57 +0000 Subject: [PATCH] By Marcin Korzonek : - added pl translation, - allow building from non root account, - defined files permission, - removed INSTALL and COPYING from docs, - rewritten %install section. Changed files: dialog.spec -> 1.1 --- dialog.spec | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 dialog.spec diff --git a/dialog.spec b/dialog.spec new file mode 100644 index 0000000..c4d6847 --- /dev/null +++ b/dialog.spec @@ -0,0 +1,97 @@ +Summary: A program to build tty dialog boxes +Summary(de): Ein Programm zum Erstellen von tty-Dialogfeldern +Summary(fr): Programme pour construire des boîtes de dialogue en mode texte +Summary(pl): Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym. +Summary(tr): tty diyalog kutularý oluþturan bir program +Name: dialog +Version: 0.6 +Release: 13 +Copyright: GPL +Group: Utilities/Terminal +Source: ftp://ftp.redhat.com/pub/misc/%{name}-%{version}.tar.gz +Patch: %{name}-%{version}-ncurses.patch +Patch1: %{name}-%{version}-opt.patch +Patch2: %{name}-%{version}-loop.patch +Buildroot: /tmp/%{name}-%{version}-root + +%description +Dialog is a utility that allows you to build user interfaces in +a TTY (text mode only). You can call dialog from within a shell +script to ask the user questions or present with choices in a more +user friendly manner. See /usr/doc/dialog-*/samples for some +examples. + +%description -l de +Dialog ist ein Dienstprogramm, das das Erstellen einer Benutzeroberfläche +in einem TTY ermöglicht (nur Textmodus). Sie können dialog mit einem +Shell-Script aufrufen, um dem Benutzer auf benutzerfreundliche Weise +Fragen zu stellen oder eine Auswahl anzubieten. Unter +/usr/doc/dialog-*/samples finden Sie einige Beispiele. + +%description -l fr +dialog est un utilitaire permettant de construire des interfaces +utilisateur en mode texte. On peut appeler dialog à partir d'un +script shell pour poser des questions à l'utilisateur ou lui +proposer des choix de façon conviviale. Voir /usr/doc/dialog-*/samples +pour quelques exemples. + +%description -l pl +Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego interfejsu +u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do programu +do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie pracy. + +%description -l tr +Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir +araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için, dialog +programýný bir kabuk programcýðý içinden çaðýrabilirsiniz. Örnekler için +/usr/doc/dialog-*/samples dizinine bakýnýz. + +%prep +%setup -q +%patch -p1 +%patch1 -p1 +%patch2 -p1 +cd src +make depend + +%build +make + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/{bin,man/man1} + +install -s src/dialog $RPM_BUILD_ROOT/usr/bin +install man/dialog.man $RPM_BUILD_ROOT/usr/man/man1/dialog.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644, root, root, 755) +%doc dialog.lsm README samples +%attr(755, root, root) /usr/bin/dialog +%attr(644, root, man) /usr/man/man1/dialog.1 + + +%changelog +* Sun Oct 18 1998 Marcin Korzonek + [0.6-13] +- added pl translation, +- allow building from non root account, +- defined files permission, +- removed INSTALL and COPYING from docs, +- rewritten %install section. + +* Thu May 7 1998 Michael Maher +- Added Sean Reifschneider patches for + infinite loop problems. + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Wed Apr 15 1998 Erik Troan +- built against new ncurses + +* Thu Jul 10 1997 Erik Troan +- built against glibc -- 2.43.0