1 # $Revision: 1.30 $ $Date: 2002-04-25 15:49:16 $
3 Summary(pl): Obs³uga sieci ATM w Linuxie
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 Linuxie 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 Linuxie - 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
87 gzip -9nf doc/usage.txt BUGS CREDITS CHANGES README config/pld/README.PLD
90 rm -rf $RPM_BUILD_ROOT
93 /sbin/chkconfig --add atm
94 if [ -f /var/lock/subsys/atm ]; then
95 /etc/rc.d/init.d/atm restart 1>&2
99 if [ "$1" = "0" ]; then
100 if [ -f /var/lock/subsys/atm ]; then
101 /etc/rc.d/init.d/atm stop 1>&2
103 /sbin/chkconfig --del atm
107 %defattr(644,root,root,755)
108 %doc doc/usage.txt.gz *.gz config/pld/README.PLD.gz
109 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/atm/*
110 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/hosts.atm
111 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/interfaces/*
112 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/atm
113 %attr(755,root,root) /etc/sysconfig/network-scripts/*
114 %attr(754,root,root) /etc/rc.d/init.d/atm
115 %config %{_sysconfdir}/e164_cc
116 %attr(755,root,root) %{_bindir}/*
117 %attr(755,root,root) %{_sbindir}/*
118 %attr(751,root,root) /var/log/atm
122 %defattr(644,root,root,755)