1 Summary: Device driver/utilities for Equinox SST SuperSerial family
2 Summary(pl.UTF-8): Sterowniki do karty Equinox SST SuperSerial
7 Group: Applications/Communications
8 Source0: %{name}-%{version}-1.tar.gz
9 # Source0-md5: 3b335ac7f525036ad3147907adcd0ec8
10 Patch0: %{name}-misc.patch
11 URL: http://www.equinox.com/
12 BuildRequires: rpmbuild(macros) >= 1.268
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Provides device driver and diagnostic utilities for Equinox
18 SuperSerial multiport and expandable host controller boards. This
19 driver supports ISA, EISA and PCI versions of the 2, 4, 8 and 16 port
20 boards as well as the expandable 64 and 128 port boards and the 4RJ
21 and 8RJ boards. ISA and EISA are not available on Itanium systems.
23 %description -l pl.UTF-8
24 Ten pakiet zawiera sterownik i narzędzia diagnostyczne dla kart
25 wieloportowych i rozszerzalnych kontrolerów Equinox SuperSerial. Ten
26 sterownik obsługuje wersje ISA, EISA i PCI kart 2, 4, 8 i
27 16-portowych, a także rozszerzalne karty 64 i 128-portowe oraz karty
28 4RJ i 8RJ. ISA i EISA nie są dostępne w systemach Itanium.
31 %setup -q -n %{name}-%{version}-1
35 %{__make} build CC=%{kgcc} OPT="%{rpmcflags}" SMP=0
36 mv drv/eqnx.o drv/eqnx.o-up
38 %{__make} build CC=%{kgcc} OPT="%{rpmcflags}" SMP=1
41 rm -rf $RPM_BUILD_ROOT
43 %{__make} install OBJROOT=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 /sbin/chkconfig --add eqnx
54 # check driver usage. If ports in use, disallow the remove
55 /sbin/service eqnx status > /dev/null 2>&1
57 echo "eqnx driver in use, unable to unload"
58 echo "Please stop all processes running on SST ports"
62 # stop the driver + remove device files
64 /sbin/chkconfig --del eqnx
66 # remove eqnx from startup scripts
67 /usr/sbin/eqnx-installrc -u
71 %defattr(644,root,root,755)
74 %doc utils/ssdiag/README.ssdiag
75 %attr(754,root,root) /etc/rc.d/init.d/eqnx
77 %attr(755,root,root) %{_bindir}/sscode
78 %attr(755,root,root) %{_bindir}/ssdiag
79 %attr(755,root,root) %{_bindir}/ssmkn
80 %attr(755,root,root) %{_bindir}/ssrm
81 %attr(755,root,root) %{_bindir}/sstty
82 %attr(755,root,root) %{_sbindir}/rpmvar
83 %attr(755,root,root) %{_sbindir}/eqnx-cfg
84 %attr(755,root,root) %{_sbindir}/eqnx-installrc