2 Summary(pl.UTF-8): Obsługa sieci ATM w Linuksie
8 Source0: ftp://lrcftp.epfl.ch/pub/linux/atm/dist/%{name}-%{version}.tar.gz
9 # Source0-md5: 64952e4d56285c0aeb12597d27884aff
10 Source1: %{name}-pldrc.tar.gz
11 # Source1-md5: c69820b03d8241e4cab33fef681df222
12 Patch0: %{name}-opt.patch
13 Patch1: %{name}-OPEN_MAX.patch
14 URL: http://ica1www.epfl.ch/linux-atm/
15 BuildRequires: rpmbuild(macros) >= 1.268
16 Requires(post,preun): /sbin/chkconfig
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ATM (Asynchronous Transfer Mode) networking for Linux is still under
22 development now but it works quite stable now and will most probably
23 be included in 2.4.x series kernels. In PLD Linux it consists of some
24 patches for current kernel version containing drivers for a few
25 popular ATM cards (ex. Fore, Madge, IDT) and PVC and SVC support. It
26 also includes programs and scripts providing the most popular ATM
27 services, i.e. Classical IP (IP over ATM), LAN Emulation clients and
28 servers, Multiprotocol Over ATM (MPOA) and some other goodies.
30 %description -l pl.UTF-8
31 Obsługa sieci ATM (Asynchronous Transfer Mode) w Linuksie mimo iż jest
32 jeszcze w stadium alfa działa już bardzo stabilnie i
33 najprawdopodobniej zostanie włączona do jąder serii 2.4.x. W Linuksie
34 PLD składa się ona z łat (patches) do bieżącej wersji jądra
35 zawierających sterowniki do kilku popularnych kart (m.in. Fore, Madge,
36 IDT) i zapewniających zestawianie połączeń PVC i SVC oraz zestawu
37 programów i skryptów (ten pakiet) realizujących najpopularniejsze
38 usługi ATM, tj. Classical IP (IP over ATM), klientów i serwery LAN
39 Emulation (LANE), Multiprotocol Over ATM (MPOA) i inne rozmaitości.
42 Summary: ATM on Linux - developer's package
43 Summary(pl.UTF-8): Obsługa sieci ATM w Linuksie - biblioteki i pliki nagłówkowe
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
48 Libraries and header files needed for development ATM applications for
51 %description devel -l pl.UTF-8
52 Biblioteki i pliki nagłówkowe niezbędne do opracowywania aplikacji ATM
56 %setup -q -n %{name} -b 1
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,sysconfig/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
90 rm -rf $RPM_BUILD_ROOT
93 /sbin/chkconfig --add atm
97 if [ "$1" = "0" ]; then
99 /sbin/chkconfig --del atm
103 %defattr(644,root,root,755)
104 %doc doc/usage.txt BUGS CREDITS CHANGES README config/pld/README.PLD
105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/atm/*
106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hosts.atm
107 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/interfaces/*
108 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/atm
109 %attr(755,root,root) /etc/sysconfig/network-scripts/*
110 %attr(754,root,root) /etc/rc.d/init.d/atm
111 %config %{_sysconfdir}/e164_cc
112 %attr(755,root,root) %{_bindir}/*
113 %attr(755,root,root) %{_sbindir}/*
114 %attr(751,root,root) /var/log/atm
118 %defattr(644,root,root,755)