1 # $Revision: 1.33 $ $Date: 2003-05-25 05:45:46 $
3 Summary(pl): Obs³uga sieci ATM w Linuksie
9 Source0: ftp://lrcftp.epfl.ch/pub/linux/atm/dist/%{name}-%{version}.tar.gz
10 Source1: %{name}-pldrc.tar.gz
11 Patch0: %{name}-opt.patch
12 Patch1: %{name}-OPEN_MAX.patch
14 URL: http://ica1www.epfl.ch/linux-atm/
15 Prereq: /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ATM (Asynchronous Transfer Mode) networking for Linux is still under
20 development now but it works quite stable now and will most probably
21 be included in 2.4.x series kernels. In PLD Linux it consists of some
22 patches for current kernel version containing drivers for a few
23 popular ATM cards (ex. Fore, Madge, IDT) and PVC and SVC support. It
24 also includes programs and scripts providing the most popular ATM
25 services, i.e. Classical IP (IP over ATM), LAN Emulation clients and
26 servers, Multiprotocol Over ATM (MPOA) and some other goodies.
29 Obs³uga sieci ATM (Asynchronous Transfer Mode) w Linuksie mimo i¿ jest
30 jeszcze w stadium alfa dzia³a ju¿ bardzo stabilnie i
31 najprawdopodobniej zostanie w³±czona do j±der serii 2.4.x. W Linuksie
32 PLD sk³ada siê ona z ³at (patches) do bie¿±cej wersji j±dra
33 zawieraj±cych sterowniki do kilku popularnych kart (m.in. Fore, Madge,
34 IDT) i zapewniaj±cych zestawianie po³±czeñ PVC i SVC oraz zestawu
35 programów i skryptów (ten pakiet) realizuj±cych najpopularniejsze
36 us³ugi ATM, tj. Classical IP (IP over ATM), klientów i serwery LAN
37 Emulation (LANE), Multiprotocol Over ATM (MPOA) i inne rozmaito¶ci.
40 Summary: ATM on Linux - developer's package
41 Summary(pl): Obs³uga sieci ATM w Linuksie - biblioteki i pliki nag³ówkowe
42 Group: Development/Libraries
43 Requires: %{name} = %{version}
46 Libraries and header files needed for development ATM applications for
49 %description devel -l pl
50 Biblioteki i pliki nag³ówkowe niezbêdne do opracowywania aplikacji ATM
59 # Test it before removing!
60 # gcc 2.95.x with optimizations turned on miscompiles atm 0.62!!!
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT/etc/{sysconfig/interfaces,sysconfig/network-scripts,rc.d/init.d} \
69 $RPM_BUILD_ROOT{/var/log/atm,%{_sysconfdir}/atm}
72 INSTROOT=$RPM_BUILD_ROOT \
73 INSTPREFIX=$RPM_BUILD_ROOT%{_prefix} \
74 INSTMAN=$RPM_BUILD_ROOT%{_mandir}
76 install config/common/hosts.atm $RPM_BUILD_ROOT%{_sysconfdir}
77 install config/common/e164_cc $RPM_BUILD_ROOT%{_sysconfdir}
79 install config/pld/atm/* $RPM_BUILD_ROOT%{_sysconfdir}/atm/
80 install config/pld/init.d/atm $RPM_BUILD_ROOT/etc/rc.d/init.d/
81 install config/pld/sysconfig/atm $RPM_BUILD_ROOT/etc/sysconfig/
82 install config/pld/network-scripts/{ifup-atm,ifup-lec,ifdown-lec} \
83 $RPM_BUILD_ROOT/etc/sysconfig/network-scripts
84 install config/pld/interfaces/{ifcfg-atm0,ifcfg-lec0} \
85 $RPM_BUILD_ROOT/etc/sysconfig/interfaces
88 rm -rf $RPM_BUILD_ROOT
91 /sbin/chkconfig --add atm
92 if [ -f /var/lock/subsys/atm ]; then
93 /etc/rc.d/init.d/atm restart 1>&2
97 if [ "$1" = "0" ]; then
98 if [ -f /var/lock/subsys/atm ]; then
99 /etc/rc.d/init.d/atm stop 1>&2
101 /sbin/chkconfig --del atm
105 %defattr(644,root,root,755)
106 %doc doc/usage.txt BUGS CREDITS CHANGES README config/pld/README.PLD
107 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/atm/*
108 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/hosts.atm
109 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/interfaces/*
110 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/atm
111 %attr(755,root,root) /etc/sysconfig/network-scripts/*
112 %attr(754,root,root) /etc/rc.d/init.d/atm
113 %config %{_sysconfdir}/e164_cc
114 %attr(755,root,root) %{_bindir}/*
115 %attr(755,root,root) %{_sbindir}/*
116 %attr(751,root,root) /var/log/atm
120 %defattr(644,root,root,755)