1 | Summary: A utility for creating TTY dialog boxes. |
---|
2 | Summary(ja): TTY ダイアログボックスのユーティリティ |
---|
3 | Name: dialog |
---|
4 | %define SubVersion 20110707 |
---|
5 | Version: 1.1 |
---|
6 | Release: 1.svn%{SubVersion}%{?_dist_release} |
---|
7 | License: LGPLv2 |
---|
8 | Group: Applications/System |
---|
9 | URL: http://invisible-island.net/dialog/dialog.html |
---|
10 | Source: ftp://invisible-island.net/dialog/dialog-1.1-%{SubVersion}.tgz |
---|
11 | Patch1: dialog-incdir.patch |
---|
12 | Patch2: dialog-multilib.patch |
---|
13 | Patch3: dialog-libs.patch |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: ncurses-devel, gettext findutils libtool |
---|
16 | Requires: ncurses |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | Dialog is a utility that allows you to show dialog boxes (containing |
---|
24 | questions or messages) in TTY (text mode) interfaces. Dialog is called |
---|
25 | from within a shell script. The following dialog boxes are implemented: |
---|
26 | yes/no, menu, input, message, text, info, checklist, radiolist, and |
---|
27 | gauge. |
---|
28 | |
---|
29 | Install dialog if you would like to create TTY dialog boxes. |
---|
30 | |
---|
31 | |
---|
32 | %description -l ja |
---|
33 | Dialog は TTY (テキストモード) インタフェース上に、質問やメッセージを |
---|
34 | 含むダイアログボックスを表示するユーティリティです。 |
---|
35 | Dialog はシェルスクリプトから (あるいはその中から) 呼び出すことが出来ます。 |
---|
36 | 実装されているダイアログボックスには yes/no、メニュー、入力エリア、 |
---|
37 | メッセージ、テキスト、情報、チェックリスト、ラジオボタン、ゲージ等が |
---|
38 | あります。 |
---|
39 | |
---|
40 | TTY ダイアログボックスを作成したければ dialog をインストールして下さい。 |
---|
41 | |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development files for building applications with the dialog library |
---|
45 | Summary(ja): Dialog ライブラリ用開発ファイル |
---|
46 | Group: Development/Libraries |
---|
47 | Requires: %{name} = %{version}-%{release} ncurses-devel |
---|
48 | |
---|
49 | %description devel |
---|
50 | Dialog is a utility that allows you to show dialog boxes (containing |
---|
51 | questions or messages) in TTY (text mode) interfaces. This package |
---|
52 | contains the files needed for developing applications, which use the |
---|
53 | dialog library. |
---|
54 | |
---|
55 | |
---|
56 | %description devel -l ja |
---|
57 | Dialog は TTY (テキストモード) インタフェース上に、質問やメッセージを |
---|
58 | 含むダイアログボックスを表示するユーティリティです。 |
---|
59 | このパッケージには Dialog ライブラリを使うアプリケーションの開発に |
---|
60 | 必要なファイルが収録されています。 |
---|
61 | |
---|
62 | |
---|
63 | %prep |
---|
64 | %setup -q -n dialog-%{version}-%{SubVersion} |
---|
65 | %patch1 -p1 -b .incdir |
---|
66 | %patch2 -p1 -b .multilib |
---|
67 | %patch3 -p1 -b .libs |
---|
68 | |
---|
69 | %build |
---|
70 | %configure \ |
---|
71 | --enable-nls \ |
---|
72 | --with-libtool \ |
---|
73 | --with-ncursesw \ |
---|
74 | --includedir=%{_includedir}/dialog |
---|
75 | make %{?_smp_mflags} |
---|
76 | |
---|
77 | |
---|
78 | %install |
---|
79 | rm -rf %{buildroot} |
---|
80 | |
---|
81 | # prepare packaged samples |
---|
82 | rm -rf _samples |
---|
83 | mkdir _samples |
---|
84 | cp -a samples _samples |
---|
85 | rm -rf _samples/samples/install |
---|
86 | find _samples -type f -print0 | xargs -0 chmod a-x |
---|
87 | |
---|
88 | make install DESTDIR=%{buildroot} |
---|
89 | |
---|
90 | chmod 755 %{buildroot}%{_libdir}/libdialog.so.*.*.* |
---|
91 | rm -f %{buildroot}%{_libdir}/libdialog.{,l}a |
---|
92 | |
---|
93 | %find_lang %name |
---|
94 | |
---|
95 | |
---|
96 | %clean |
---|
97 | rm -rf %{buildroot} |
---|
98 | |
---|
99 | |
---|
100 | %post -p /sbin/ldconfig |
---|
101 | |
---|
102 | |
---|
103 | %postun -p /sbin/ldconfig |
---|
104 | |
---|
105 | |
---|
106 | %files -f %{name}.lang |
---|
107 | %defattr(-,root,root) |
---|
108 | %doc COPYING dialog.lsm README _samples/samples |
---|
109 | %{_bindir}/dialog |
---|
110 | %{_libdir}/libdialog.so.* |
---|
111 | %{_mandir}/man1/dialog.* |
---|
112 | |
---|
113 | |
---|
114 | %files devel |
---|
115 | %defattr(-,root,root,-) |
---|
116 | %{_bindir}/dialog-config |
---|
117 | %{_includedir}/dialog |
---|
118 | %{_libdir}/libdialog.so |
---|
119 | %{_mandir}/man3/dialog.* |
---|
120 | |
---|
121 | |
---|
122 | %changelog |
---|
123 | * Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1.svn20110707 |
---|
124 | - new upstream release |
---|
125 | - introduce -devel subpackage; sync with 1.1-15.20110707.fc17 |
---|
126 | |
---|
127 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.20060221-1vl5 |
---|
128 | - applied new versioning policy, spec in utf-8 |
---|
129 | |
---|
130 | * Sun Jan 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.20060221-1vl1 |
---|
131 | - new upstream release |
---|
132 | based on 1.0.20060221-1 from Fedora development |
---|
133 | |
---|
134 | * Tue Oct 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.20040731-1vl1 |
---|
135 | - new upstream release |
---|
136 | based on 1.0.20040731-1 from Fedora development |
---|
137 | - add Requires ncurses |
---|
138 | |
---|
139 | * Fri Mar 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9b-20031207.2vl1 |
---|
140 | - s/Copyright/License/ |
---|
141 | - based on 0.9b-20031207.2 from Fedora development |
---|
142 | * Mon Nov 24 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.2 |
---|
143 | - added gettext BuildReq (#109192) |
---|
144 | |
---|
145 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9b-20020814.1vl1 |
---|
146 | - based on 0.9b-20020814.1 from Rawhide and built for Vine Linux |
---|
147 | |
---|
148 | * Tue Nov 05 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020814.1 |
---|
149 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
150 | - automated rebuild |
---|
151 | |
---|
152 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
153 | - automated rebuild |
---|
154 | |
---|
155 | * Wed May 22 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020519.1 |
---|
156 | - update to dialog-0.9b-20020519 |
---|
157 | |
---|
158 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
159 | - automated rebuild |
---|
160 | |
---|
161 | * Mon Jun 18 2001 Harald Hoyer <harald@redhat.de> |
---|
162 | - update to 20010527 |
---|
163 | - added ncurses-devel dependency (#44733) |
---|
164 | - removed perl dependency |
---|
165 | |
---|
166 | * Tue Jan 09 2001 Harald Hoyer <harald@redhat.com> |
---|
167 | - update to 20001217 |
---|
168 | |
---|
169 | * Mon Aug 7 2000 Bill Nottingham <notting@redhat.com> |
---|
170 | - fix one of the examples (#14073) |
---|
171 | |
---|
172 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
173 | - automatic rebuild |
---|
174 | |
---|
175 | * Wed Apr 5 2000 Bill Nottingham <notting@redhat.com> |
---|
176 | - rebuild against current ncurses/readline |
---|
177 | |
---|
178 | * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
---|
179 | - handle compressed man pages |
---|
180 | |
---|
181 | * Thu Jan 20 2000 Bill Nottingham <notting@redhat.com> |
---|
182 | - fix loop patch for reading from pipe |
---|
183 | |
---|
184 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
185 | - auto rebuild in the new build environment (release 14) |
---|
186 | |
---|
187 | * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> |
---|
188 | - build for 6.0 |
---|
189 | |
---|
190 | * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com> |
---|
191 | - build root |
---|
192 | |
---|
193 | * Thu May 7 1998 Michael Maher <mike@redhat.com> |
---|
194 | - Added Sean Reifschneider <jafo@tummy.com> patches for |
---|
195 | infinite loop problems. |
---|
196 | |
---|
197 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
---|
198 | - translations modified for de, fr, tr |
---|
199 | |
---|
200 | * Wed Apr 15 1998 Erik Troan <ewt@redhat.com> |
---|
201 | - built against new ncurses |
---|
202 | |
---|
203 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
204 | - built against glibc |
---|