dialog-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. Summary: A utility for creating TTY dialog boxes.
  2. Summary(ja): TTY ダイアログボックスのユーティリティ
  3. Name: dialog
  4. %define SubVersion 20200327
  5. Version: 1.3
  6. Release: 1.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. %post -p /sbin/ldconfig
  75. %postun -p /sbin/ldconfig
  76. %files -f %{name}.lang
  77. %defattr(-,root,root)
  78. %license COPYING
  79. %doc dialog.lsm README _samples/samples
  80. %{_bindir}/dialog
  81. %{_libdir}/libdialog.so.*
  82. %{_mandir}/man1/dialog.*
  83. %files devel
  84. %defattr(-,root,root,-)
  85. %{_bindir}/dialog-config
  86. %{_includedir}/dialog
  87. %{_libdir}/libdialog.so
  88. %{_mandir}/man3/dialog.*
  89. %changelog
  90. * Mon Sep 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3-1.svn20200327
  91. - new upstream release.
  92. * Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1-1.svn20110707
  93. - new upstream release
  94. - introduce -devel subpackage; sync with 1.1-15.20110707.fc17
  95. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.20060221-1vl5
  96. - applied new versioning policy, spec in utf-8
  97. * Sun Jan 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.20060221-1vl1
  98. - new upstream release
  99. based on 1.0.20060221-1 from Fedora development
  100. * Tue Oct 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.20040731-1vl1
  101. - new upstream release
  102. based on 1.0.20040731-1 from Fedora development
  103. - add Requires ncurses
  104. * Fri Mar 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9b-20031207.2vl1
  105. - s/Copyright/License/
  106. - based on 0.9b-20031207.2 from Fedora development
  107. * Mon Nov 24 2003 Harald Hoyer <harald@redhat.de> 0.9b-20031002.2
  108. - added gettext BuildReq (#109192)
  109. * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9b-20020814.1vl1
  110. - based on 0.9b-20020814.1 from Rawhide and built for Vine Linux
  111. * Tue Nov 05 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020814.1
  112. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  113. - automated rebuild
  114. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  115. - automated rebuild
  116. * Wed May 22 2002 Harald Hoyer <harald@redhat.de> 0.9b-20020519.1
  117. - update to dialog-0.9b-20020519
  118. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  119. - automated rebuild
  120. * Mon Jun 18 2001 Harald Hoyer <harald@redhat.de>
  121. - update to 20010527
  122. - added ncurses-devel dependency (#44733)
  123. - removed perl dependency
  124. * Tue Jan 09 2001 Harald Hoyer <harald@redhat.com>
  125. - update to 20001217
  126. * Mon Aug 7 2000 Bill Nottingham <notting@redhat.com>
  127. - fix one of the examples (#14073)
  128. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  129. - automatic rebuild
  130. * Wed Apr 5 2000 Bill Nottingham <notting@redhat.com>
  131. - rebuild against current ncurses/readline
  132. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  133. - handle compressed man pages
  134. * Thu Jan 20 2000 Bill Nottingham <notting@redhat.com>
  135. - fix loop patch for reading from pipe
  136. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  137. - auto rebuild in the new build environment (release 14)
  138. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  139. - build for 6.0
  140. * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
  141. - build root
  142. * Thu May 7 1998 Michael Maher <mike@redhat.com>
  143. - Added Sean Reifschneider <jafo@tummy.com> patches for
  144. infinite loop problems.
  145. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  146. - translations modified for de, fr, tr
  147. * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
  148. - built against new ncurses
  149. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  150. - built against glibc