setserial-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. %define _bindir /bin
  2. Summary: A utility for configuring serial ports.
  3. Summary(ja): シリアルポートを設定するユーティリティ
  4. Name: setserial
  5. Version: 2.17
  6. Release: 14%{?_dist_release}
  7. Source: ftp://tsx-11.mit.edu/pub/linux/sources/sbin/setserial-%{version}.tar.gz
  8. Patch0: setserial-2.17-fhs.patch
  9. Patch1: setserial-2.17-rc.patch
  10. Patch2: setserial-2.17-readme.patch
  11. Patch3: setserial-2.17-spelling.patch
  12. License: GPL
  13. Group: Applications/System
  14. Prefix: %{_prefix}
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. ExcludeArch: s390 s390x
  17. URL: http://setserial.sourceforge.net/
  18. %description
  19. Setserial is a basic system utility for displaying or setting serial
  20. port information. Setserial can reveal and allow you to alter the I/O
  21. port and IRQ that a particular serial device is using, and more.
  22. You should install setserial because you may find it useful for
  23. detecting and/or altering device information.
  24. %description -l ja
  25. setserial はシリアルポートの状態を表示したり設定したりする
  26. 基本的なシステムユーティリティです.setserial を使って
  27. I/O ポートの変更や,特定のシリアルデバイスが使う IRQ を設定したり
  28. することが出来ます.
  29. デバイス情報を検出したり変更したり出来るのは非常に便利なので
  30. setserial をインストールして下さい.
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .fhs
  34. %patch1 -p1 -b .rc
  35. %patch2 -p1 -b .readme
  36. %patch3 -p1 -b .spelling
  37. rm -f config.cache
  38. %build
  39. %configure
  40. make
  41. %install
  42. rm -rf ${RPM_BUILD_ROOT}
  43. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  44. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
  45. %makeinstall STRIP=:
  46. %clean
  47. rm -rf ${RPM_BUILD_ROOT}
  48. %files
  49. %defattr(-,root,root)
  50. %doc README rc.serial
  51. %{_bindir}/setserial
  52. %{_mandir}/man*/*
  53. %changelog
  54. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 2.17-14vl5
  55. - applied new versioning policy, spec in utf-8
  56. * Fri Jul 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.17-13vl1
  57. - rebuild with new toolchains
  58. - s/Copyright/License/
  59. - based on 2.17-13 from Rawhide
  60. - Fri Jan 10 2003 Tim Waugh <twaugh@redhat.com> 2.17-11
  61. - Fix spelling mistake (bug #80896).
  62. - Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 2.17-7
  63. - Don't strip binaries explicitly (bug #62566).
  64. - Tue Sep 11 2001 Tim Waugh <twaugh@redhat.com> 2.17-5
  65. - Fix init script (bug #52862).
  66. - Avoid temporary file vulnerability in init script.
  67. - Update README: it's --add, not -add.
  68. - Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.17-4
  69. - add ExcludeArch: s390 s390x
  70. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  71. - 2.17-2vl1
  72. - based on 2.17-2 from Rawhide
  73. - added Japanese summary and description
  74. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  75. - automatic rebuild
  76. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  77. - update to 2.17.
  78. - FHS packaging.
  79. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  80. - compress man pages.
  81. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  82. - auto rebuild in the new build environment (release 2)
  83. * Thu Feb 11 1999 Michael Maher <mike@redhat.com>
  84. - fixed bug #363
  85. * Thu Dec 17 1998 Michael Maher <mike@redhat.com>
  86. - built package for 6.0
  87. * Sat Jun 20 1998 Jeff Johnson <jbj@redhat.com>
  88. - upgraded to 2.1.14
  89. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  90. - translations modified for de, fr, tr
  91. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  92. - pulled into distribution
  93. - used setserial-2.12_CTI.tgz instead of setserial-2.12.tar.gz (former is
  94. all that sunsite has) - not sure what the difference is.
  95. * Thu Sep 25 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
  96. - added %attr's
  97. - added sanity check for RPM_BUILD_ROOT
  98. - setserial is now installed into /bin, where util-linux puts it and all
  99. startup scripts expect it.