statserial-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: A tool which displays the status of serial port modem lines.
  2. Summary(ja): シリアルポートのモデムラインの状態を表示するツール
  3. Name: statserial
  4. Version: 1.1
  5. Release: 31%{?_dist_release}
  6. License: BSD
  7. Group: Applications/System
  8. Source: ftp://metalab.unc.edu/pub/Linux/system/serial/statserial-1.1.tar.gz
  9. Patch0: statserial-1.1-config.patch
  10. Patch1: statserial-1.1-dev.patch
  11. Patch2: statserial-1.1--n.patch
  12. Prefix: %{_prefix}
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: ncurses-devel
  15. ExcludeArch: s390 s390x
  16. %description
  17. The statserial utility displays a table of the signals on a standard
  18. 9-pin or 25-pin serial port and indicates the status of the
  19. handshaking lines. Statserial is useful for debugging serial port
  20. and/or modem problems.
  21. %description -l ja
  22. statserial ユーティリティは,9ピンあるいは25ピンといった標準的な
  23. シリアルポートの状態を一覧表示します.statserial はシリアルポートと
  24. モデムの問題をデバッグするのに便利です.
  25. シリアルポートやモデムの問題をデバッグするツールが必要ならば
  26. statserial パッケージをインストールして下さい.
  27. %prep
  28. %setup -q
  29. %patch0 -p1 -b .config
  30. %patch1 -p1 -b .dev
  31. %patch2 -p1 -b .-n
  32. %build
  33. make LDFLAGS=
  34. %install
  35. rm -rf ${RPM_BUILD_ROOT}
  36. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  37. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
  38. install -m 755 -s statserial ${RPM_BUILD_ROOT}%{_bindir}/statserial
  39. install -m 644 statserial.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/statserial.1
  40. %clean
  41. rm -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-,root,root)
  44. %{_bindir}/statserial
  45. %{_mandir}/man1/*
  46. %changelog
  47. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-31vl5
  48. - applied new versioning policy, spec in utf-8
  49. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1-30vl2
  50. - rebuild
  51. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1-30vl1
  52. - based on 1.1-30 from Rawhide and built for Vine Linux
  53. - added Japanese summary and description
  54. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  55. - automated rebuild
  56. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  57. - automated rebuild
  58. * Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 1.1-28
  59. - Don't strip binaries explicitly (bug #62567).
  60. * Tue Feb 26 2002 Tim Waugh <twaugh@redhat.com> 1.1-27
  61. - Rebuild in new environment.
  62. * Sat Feb 16 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  63. - do not specify archaic "-N" anymore for linking
  64. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  65. - automated rebuild
  66. * Fri Nov 16 2001 Tim Waugh <twaugh@redhat.com> 1.1-24
  67. - s/Copyright:/License:/.
  68. - Fix -n (bug #56299).
  69. * Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de> 1.1-23
  70. - add ExcludeArch: s390 s390x
  71. * Mon Jun 18 2001 Tim Waugh <twaugh@redhat.com> 1.1-22
  72. - Build requires ncurses-devel.
  73. * Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.1-21
  74. - Sync description with specspo.
  75. * Wed Aug 30 2000 Matt Wilson <msw@redhat.com> 1.1-20
  76. - rebuild to cope with glibc locale binary incompatibility, again
  77. * Thu Jul 27 2000 Jeff Johnson <jbj@redhat.com>
  78. - change default device from /dev/cuar to /dev/ttyS1 (#14624).
  79. * Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
  80. - rebuild to cope with glibc locale binary incompatibility
  81. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  82. - automatic rebuild
  83. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  84. - FHS packaging.
  85. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  86. - compress man pages.
  87. * Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
  88. - rebuilt against new glibc in the sparc tree
  89. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  90. - auto rebuild in the new build environment (release 13)
  91. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  92. - build root
  93. - include arch sparc
  94. * Fri May 01 1998 Prospector System <bugs@redhat.com>
  95. - translations modified for de, fr, tr
  96. * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
  97. - built against glibc