3 Summary: A program to build tty dialog boxes
4 Summary(de): Ein Programm zum Erstellen von tty-Dialogfeldern
5 Summary(fr): Programme pour construire des boîtes de dialogue en mode texte
6 Summary(pl): Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym
7 Summary(tr): tty diyalog kutularý oluþturan bir program
9 Version: %{ver}.%{sdate}
13 Group: Applications/Terminal
14 Source0: ftp://invisible-island.net/dialog/%{name}-%{ver}-%{sdate}.tgz
15 # Source0-md5: acfd843163394e8bb17c841fdbe9c4a4
16 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 # Source1-md5: 932081790cd8aa857822bd2b0eafa5bb
18 Patch0: %{name}-link.patch
19 Patch1: %{name}-pl.po-update.patch
20 URL: http://invisible-island.net/dialog/dialog.html
21 BuildRequires: gettext-devel
22 BuildRequires: ncurses-devel >= 5.4
23 BuildRequires: libtool
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Dialog is a utility that allows you to build user interfaces in a TTY
28 (text mode only). You can call dialog from within a shell script to
29 ask the user questions or present with choices in a more user friendly
33 Dialog ist ein Dienstprogramm, das das Erstellen einer
34 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
35 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
36 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
37 anzubieten. Unter %{_examplesdir}/%{name}-%{version} finden Sie
41 dialog est un utilitaire permettant de construire des interfaces
42 utilisateur en mode texte. On peut appeler dialog à partir d'un script
43 shell pour poser des questions à l'utilisateur ou lui proposer des
44 choix de façon conviviale. Voir %{_examplesdir}/%{name}-%{version}
45 pour quelques exemples.
48 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
49 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
50 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
54 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
55 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
56 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
57 Örnekler için %{_examplesdir}/%{name}-%{version} dizinine bakýnýz.
60 Summary: Libraries and headers files for dialog
61 Summary(pl): Biblioteki i pliki nagó³wkowe dla dialog
62 Group: Development/Libraries
63 Requires: %{name} = %{epoch}:%{version}-%{release}
64 Requires: ncurses-devel >= 5.4
67 Libraries and header files for dialog.
69 %description devel -l pl
70 Biblioteki i pliki nag³ówkowe dla dialog.
73 Summary: Static dialog library
74 Summary(pl): Statyczna biblioteka dialog
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
79 Static dialog library.
81 %description static -l pl
82 Statyczna biblioteka dialog.
85 %setup -q -n %{name}-%{ver}-%{sdate}
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
103 DESTDIR=$RPM_BUILD_ROOT
105 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
107 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/dialog
121 %attr(755,root,root) %{_libdir}/libdialog.so.*.*.*
123 %lang(hu) %{_mandir}/hu/man1/*
124 %lang(pl) %{_mandir}/pl/man1/*
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/libdialog.so
129 %{_libdir}/libdialog.la
131 %{_mandir}/man3/dialog.3*
132 %attr(-,root,root) %{_examplesdir}/%{name}-%{version}
135 %defattr(644,root,root,755)
136 %{_libdir}/libdialog.a