modemtool-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Summary: A tool for selecting the serial port your modem is connected to.
  2. Summary(ja): モデムが接続されているシリアルポートを選択するツール。
  3. Name: modemtool
  4. Version: 1.22
  5. Release: 3vl1
  6. Copyright: GPL
  7. Group: Applications/System
  8. Source: modemtool-%{version}.tar.gz
  9. Patch0: modemtool-cua.patch
  10. # added for Vine
  11. Source1: modem-1.22.ja.py
  12. Source2: modemtool.i18n
  13. Patch1: modemtool-ppc.patch
  14. Requires: python, pythonlib
  15. #BuildArchitectures: noarch
  16. BuildRoot: %{_tmppath}/modemtool-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. The modemtool is a simple graphical configuration tool for selecting
  21. the serial port to which your modem is connected.
  22. Install modemtool if you use a modem.
  23. %description -l ja
  24. modemtool はモデムが接続されているシリアルポートを選択するシンプルで
  25. グラフィカルな設定ツールです。
  26. モデムを使用するなら modemtool をインストールしてください。
  27. %prep
  28. %setup -q
  29. %patch -p1 -b .cua
  30. cp %{SOURCE1} modem-ja.py
  31. cp %{SOURCE2} modemtool
  32. %ifarch ppc
  33. %patch1 -p1 -b .ppc
  34. %endif
  35. %build
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/rhs/control-panel}
  39. make PREFIX=$RPM_BUILD_ROOT/usr \
  40. INSTALLBIN="install -m755" INSTALLDATA="install -m644" \
  41. install
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root)
  46. /usr/bin/modemtool
  47. /usr/lib/rhs/control-panel/modemtool.init
  48. /usr/lib/rhs/control-panel/modemtool.xpm
  49. /usr/lib/rhs/control-panel/python/modem.py
  50. %changelog
  51. * Sat May 12 2001 <sagami@vinelinux.org>
  52. - 1.22-3vl1: follow up with RH 1.22-3
  53. * Mon Feb 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  54. - 1.21_jp-2
  55. - added ppc patch extracted from 1.21-6a on LinuxPPC-Dev-Rel-1.1
  56. * Thu Aug 10 1999 Norihito Ohmori <ohmori@flatout.org>
  57. - Japanize
  58. - Japanese %summary and %description added.
  59. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  60. - auto rebuild in the new build environment (release 6)
  61. * Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
  62. - cua -> ttyS
  63. * Mon Aug 17 1998 Jeff Johnson <jbj@redhat.com>
  64. - build root
  65. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  66. - translations modified for de, fr, tr
  67. * Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
  68. - made a noarch package