]> git.pld-linux.org Git - packages/dialog.git/blob - dialog.spec
1a13f4b97b7928a8ebd8a0f7d4098da4a1b0ce03
[packages/dialog.git] / dialog.spec
1 Summary:        A program to build tty dialog boxes
2 Summary(de):    Ein Programm zum Erstellen von tty-Dialogfeldern  
3 Summary(fr):    Programme pour construire des boîtes de dialogue en mode texte
4 Summary(pl):    Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym.
5 Summary(tr):    tty diyalog kutularý oluþturan bir program
6 Name:           dialog
7 Version:        0.69
8 Release:        1
9 Copyright:      GPL
10 Group:          Utilities/Terminal
11 Group(pl):      Narzêdzia/Terminal
12 Source:         ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
13 #Patch2:        dialog-loop.patch
14 Patch0:         dialog-shared.patch
15 BuildPrereq:    ncurses-devel
16 BuildPrereq:    gpm-devel
17 Requires:       %{name}-libs = %{version}
18 Buildroot:      /tmp/%{name}-%{version}-root
19
20 %description
21 Dialog is a utility that allows you to build user interfaces in
22 a TTY (text mode only).  You can call dialog from within a shell
23 script to ask the user questions or present with choices in a more
24 user friendly manner.  See /usr/doc/dialog-*/samples for some
25 examples.
26
27 %description -l de
28 Dialog ist ein Dienstprogramm, das das Erstellen einer Benutzeroberfläche
29 in einem TTY ermöglicht (nur Textmodus). Sie können dialog mit einem
30 Shell-Script aufrufen, um dem Benutzer auf benutzerfreundliche Weise
31 Fragen zu stellen oder eine Auswahl anzubieten. Unter
32 /usr/src/examples/dialog-%{version} finden Sie einige Beispiele.
33
34 %description -l fr
35 dialog est un utilitaire permettant de construire des interfaces
36 utilisateur en mode texte. On peut appeler dialog à partir d'un
37 script shell pour poser des questions à l'utilisateur ou lui
38 proposer des choix de façon conviviale. 
39 Voir /usr/src/examples/dialog-%{version} pour quelques exemples.
40
41 %description -l pl
42 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego interfejsu
43 u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do programu
44 do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie pracy.
45
46 %description -l tr
47 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
48 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için, dialog
49 programýný bir kabuk programcýðý içinden çaðýrabilirsiniz. Örnekler için
50 /usr/src/examples/dialog-%{version} dizinine bakýnýz.
51
52 %package libs
53 Summary:        Dialog library
54 Summary(pl):    Biblioteka dialog
55 Group:          Libraries
56 Group(pl):      Biblioteki
57
58 %description libs
59 Dialog library
60
61 %description libs -l pl
62 Biblioteka dialog pozwala na stworzenie przyjaznego interfejsu
63 u¿ytkownika na terminalu pracuj±cym w trybie tekstowym.
64
65 %package devel
66 Summary:        Libraries and headers files for dialog
67 Summary(pl):    Biblioteki i pliki nagó³wkowe dla dialog
68 Group:          Development/Libraries
69 Group(pl):      Programowanie/Biblioteki
70 Requires:       %{name}-libs = %{version}
71
72 %description devel
73 Libraries and headers files for dialog.
74
75 %description devel -l pl
76 Biblioteki i pliki nagó³wkowe dla dialog.
77
78 %package static
79 Summary:        Static dialog library
80 Summary(pl):    Statyczna biblioteka dialog
81 Group:          Development/Libraries
82 Group(pl):      Programowanie/Biblioteki
83 Requires:       %{name}-devel = %{version}
84
85 %description static
86 Static dialog library
87
88 %description static -l pl
89 Statyczna biblioteka dialog
90
91
92 %prep
93 %setup  -q
94 %patch0 -p1 
95 #%patch1 -p1 
96 #%patch2 -p1 
97
98 %build
99 autoconf
100
101 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
102 ./configure \
103         --prefix=/usr
104
105 make depend shared all
106
107 %install
108 rm -rf $RPM_BUILD_ROOT 
109 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1,src/examples/%{name}-%{version}}
110
111 make prefix=$RPM_BUILD_ROOT/usr install
112
113 cp -a samples/* dialog.pl $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
114
115 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
116         dialog.lsm README CMDLINE
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
122 %defattr(644,root,root,755)
123 %doc {dialog.lsm,README,CMDLINE}.gz
124 %attr(755,root,root) /usr/bin/dialog
125 /usr/man/man1/*
126
127 %files libs
128 %defattr(644,root,root,755)
129 %attr(755,root,root) /usr/lib/lib*.so.*.*
130
131 %files devel
132 %defattr(644,root,root,755)
133 %doc /usr/src/examples/%{name}-%{version}/checklist
134 %doc /usr/src/examples/%{name}-%{version}/gauge-sh
135 %doc /usr/src/examples/%{name}-%{version}/gauge.c
136 %doc /usr/src/examples/%{name}-%{version}/infobox
137 %doc /usr/src/examples/%{name}-%{version}/inputbox
138 %doc /usr/src/examples/%{name}-%{version}/menubox
139 %doc /usr/src/examples/%{name}-%{version}/msgbox
140 %doc /usr/src/examples/%{name}-%{version}/radiolist
141 %doc /usr/src/examples/%{name}-%{version}/textbox
142 %doc /usr/src/examples/%{name}-%{version}/yesno
143 %doc /usr/src/examples/%{name}-%{version}/README
144 %doc /usr/src/examples/%{name}-%{version}/Makefile
145 %doc %attr(755,root,root) /usr/src/examples/%{name}-%{version}/gauge
146
147 %attr(755,root,root) /usr/lib/lib*.so
148 /usr/include/*
149 /usr/man/man3/*
150
151 %files static
152 /usr/lib/lib*.a
153
154 %changelog
155 * Wed Apr 28 1999 Artur Frysiak <wiget@pld.org.pl>
156   [0.69-1]
157 - upgrade to 0.69
158 - changed source URL
159 - added libs, devel and static subpackage
160 - fixed coping samples
161
162 * Thu Apr 22 1999 Artur Frysiak <wiget@pld.org.pl>
163   [0.6-15]
164 - compiled on rpm 3
165 - gzipped docs
166 - samples moved to /usr/src/examples
167
168 * Sun Oct 18 1998 Marcin Korzonek <mkorz@shadow.eu.org>
169   [0.6-13]
170 - added pl translation,
171 - allow building from non root account,
172 - defined files permission,
173 - removed INSTALL and COPYING from docs,
174 - rewritten %install section.
175
176 * Thu May 7 1998 Michael Maher <mike@redhat.com> 
177 - Added Sean Reifschneider <jafo@tummy.com> patches for 
178   infinite loop problems.
179
180 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
181 - translations modified for de, fr, tr
182
183 * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
184 - built against new ncurses
185
186 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
187 - built against glibc
This page took 0.116028 seconds and 2 git commands to generate.