1 Summary: Utilities for Cyclades-Z and Cyclom-Y asynchronous multiport boards
2 Summary(pl): Narzêdzia dla asynchronicznych kart wieloportowych Cyclades-Z i Cyclom-Y
7 Group: Applications/Networking
8 # "stable": ftp://ftp.cyclades.com/pub/cyclades/async/linux/%{name}-659.tgz
9 Source0: ftp://ftp.cyclades.com/pub/cyclades/async/linux/beta/%{name}-%{version}.tgz
10 # Source0-md5: 12b875027b32842623052b4dba423d17
11 Patch0: %{name}-system-libpci.patch
12 Patch1: %{name}-cyzfirm-path.patch
13 URL: http://www.cyclades.com/
14 BuildRequires: pciutils-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Utilities for Cyclades-Z and Cyclom-Y asynchronous multiport boards.
21 Narzêdzia dla asynchronicznych kart wieloportowych Cyclades-Z i
31 # avoid using precompiled versions
32 rm -f pciutils.h cyclades-z/{lib,pciutils.h}
34 %{__make} clean -C cyclades-z
35 %{__make} clean -C cyclom-y
39 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
41 %{__make} -C cyclades-z \
43 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
45 %{__make} -C cyclom-y \
47 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_datadir}/cyc_async}
54 install cylines cyclades-z/{cyzload,cyzutil} cyclom-y/cyyutil \
55 $RPM_BUILD_ROOT%{_sbindir}
56 install cyclades-z/cyzfirm.bin $RPM_BUILD_ROOT%{_datadir}/cyc_async
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_sbindir}/*