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