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