source: projects/specs/trunk/d/dialog/dialog-vl.spec @ 5968

Revision 5968, 6.0 KB checked in by shaolin, 12 years ago (diff)
  • cryptsetup: updated to 1.4.1
  • dialog: updated to 1.1
Line 
1Summary:        A utility for creating TTY dialog boxes.
2Summary(ja):    TTY ダイアログボックスのユーティリティ
3Name:           dialog
4%define         SubVersion 20110707
5Version:        1.1
6Release:        1.svn%{SubVersion}%{?_dist_release}
7License:        LGPLv2
8Group:          Applications/System
9URL:            http://invisible-island.net/dialog/dialog.html
10Source:         ftp://invisible-island.net/dialog/dialog-1.1-%{SubVersion}.tgz
11Patch1:         dialog-incdir.patch
12Patch2:         dialog-multilib.patch
13Patch3:         dialog-libs.patch
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  ncurses-devel, gettext findutils libtool
16Requires:       ncurses
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21
22%description
23Dialog is a utility that allows you to show dialog boxes (containing
24questions or messages) in TTY (text mode) interfaces.  Dialog is called
25from within a shell script.  The following dialog boxes are implemented:
26yes/no, menu, input, message, text, info, checklist, radiolist, and
27gauge. 
28
29Install dialog if you would like to create TTY dialog boxes.
30
31
32%description -l ja
33Dialog は TTY (テキストモード) インタフェース上に、質問やメッセージを
34含むダイアログボックスを表示するユーティリティです。
35Dialog はシェルスクリプトから (あるいはその中から) 呼び出すことが出来ます。
36実装されているダイアログボックスには yes/no、メニュー、入力エリア、
37メッセージ、テキスト、情報、チェックリスト、ラジオボタン、ゲージ等が
38あります。
39
40TTY ダイアログボックスを作成したければ dialog をインストールして下さい。
41
42
43%package devel
44Summary: Development files for building applications with the dialog library
45Summary(ja): Dialog ライブラリ用開発ファイル
46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release} ncurses-devel
48
49%description devel
50Dialog is a utility that allows you to show dialog boxes (containing
51questions or messages) in TTY (text mode) interfaces. This package
52contains the files needed for developing applications, which use the
53dialog library.
54
55
56%description devel -l ja
57Dialog は 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
75make %{?_smp_mflags}
76
77
78%install
79rm -rf %{buildroot}
80
81# prepare packaged samples
82rm -rf _samples
83mkdir _samples
84cp -a samples _samples
85rm -rf _samples/samples/install
86find _samples -type f -print0 | xargs -0 chmod a-x
87
88make install DESTDIR=%{buildroot}
89
90chmod 755 %{buildroot}%{_libdir}/libdialog.so.*.*.*
91rm -f %{buildroot}%{_libdir}/libdialog.{,l}a
92
93%find_lang %name
94
95
96%clean
97rm -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
Note: See TracBrowser for help on using the repository browser.