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 Patch0: %{name}-system-libpci.patch
11 Patch1: %{name}-cyzfirm-path.patch
12 URL: http://www.cyclades.com/
13 BuildRequires: pciutils-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Utilities for Cyclades-Z and Cyclom-Y asynchronous multiport boards.
20 Narzêdzia dla asynchronicznych kart wieloportowych Cyclades-Z i
30 # avoid using precompiled versions
31 rm -f pciutils.h cyclades-z/{lib,pciutils.h}
33 %{__make} clean -C cyclades-z
34 %{__make} clean -C cyclom-y
38 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
40 %{__make} -C cyclades-z \
42 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
44 %{__make} -C cyclom-y \
46 OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_datadir}/cyc_async}
53 install cylines cyclades-z/{cyzload,cyzutil} cyclom-y/cyyutil \
54 $RPM_BUILD_ROOT%{_sbindir}
55 install cyclades-z/cyzfirm.bin $RPM_BUILD_ROOT%{_datadir}/cyc_async
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_sbindir}/*