dialog-vl.spec 6.1 KB

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