1 # $Revision: 1.17 $ $Date: 2001-07-06 14:07:32 $
3 Summary(pl): Obs³uga sieci ATM w Linuxie
10 Source0: ftp://lrcftp.epfl.ch/pub/linux/atm/dist/%{name}-%{version}.tar.gz
11 Source1: %{name}-pldrc.tar.gz
12 Patch0: %{name}-opt.patch
13 Patch1: %{name}-OPEN_MAX.patch
15 URL: http://ica1www.epfl.ch/linux-atm/
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 najproawdopodobniej zostanie w³±czona do j±der serii 2.4.x. W Linuxie
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 Group(fr): Development/Librairies
44 Group(pl): Programowanie/Biblioteki
45 Requires: %{name} = %{version}
48 Libraries and header files needed for development ATM applications for
51 %description -l pl devel
52 Biblioteki i pliki nag³ówkowe niezbêdne do opracowywania aplikacji ATM
61 # Test it before removing!
62 # gcc 2.95.x with optimizations turned on miscompiles atm 0.62!!!
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT/etc/sysconfig/{interfaces,network-scripts},rc.d/init.d}} \
71 $RPM_BUILD_ROOT{/var/log/atm,%{_sysconfdir}/atm}
74 INSTROOT=$RPM_BUILD_ROOT \
75 INSTPREFIX=$RPM_BUILD_ROOT%{_prefix} \
76 INSTMAN=$RPM_BUILD_ROOT%{_mandir}
78 install config/common/hosts.atm $RPM_BUILD_ROOT%{_sysconfdir}
79 install config/common/e164_cc $RPM_BUILD_ROOT%{_sysconfdir}
81 install config/pld/atm/* $RPM_BUILD_ROOT%{_sysconfdir}/atm/
82 install config/pld/init.d/atm $RPM_BUILD_ROOT/etc/rc.d/init.d/
83 install config/pld/sysconfig/atm $RPM_BUILD_ROOT/etc/sysconfig/
84 install config/pld/network-scripts/{ifup-atm,ifup-lec,ifdown-lec} \
85 $RPM_BUILD_ROOT/etc/sysconfig/network-scripts
86 install config/pld/interfaces/{ifcfg-atm0,ifcfg-lec0} \
87 $RPM_BUILD_ROOT/etc/sysconfig/interfaces
89 strip --strip-unneeded $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/*
91 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
92 doc/usage.txt BUGS CREDITS CHANGES README config/pld/README.PLD
94 rm -rf $RPM_BUILD_ROOT
97 /sbin/chkconfig --add atm
98 if [ -f /var/lock/subsys/atm ]; then
99 /etc/rc.d/init.d/atm restart 1>&2
103 if [ "$1" = "0" ]; then
104 if [ -f /var/lock/subsys/atm ]; then
105 /etc/rc.d/init.d/atm stop 1>&2
107 /sbin/chkconfig --del atm
111 %defattr(644,root,root,755)
112 %doc doc/usage.txt.gz *.gz config/pld/README.PLD.gz
113 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/atm/*
114 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/hosts.atm
115 %config(noreplace) %verify(not size mtime md5) /etc//sysconfig/interfaces/*
116 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/atm
117 %attr(755,root,root) /etc//sysconfig/network-scripts/*
118 %attr(754,root,root) /etc/rc.d/init.d/atm
119 %config %{_sysconfdir}/e164_cc
120 %attr(755,root,root) %{_bindir}/*
121 %attr(755,root,root) %{_sbindir}/*
122 %attr(751,root,root) /var/log/atm
126 %defattr(644,root,root,755)