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