1 Summary: CAPI 2.0 libraries and configuration tools
2 Summary(de): CAPI 2.0 Werkzeuge für verschiedene ISDN Karten
3 Summary(pl): Biblioteki i narzêdzia konfiguracyjne CAPI 2.0
8 Group: Applications/Communications
9 Source0: ftp://ftp.in-berlin.de/pub/capi4linux/%{name}-2004-03-31.tar.gz
10 Source1: ftp://ftp.in-berlin.de/pub/capi4linux/CHANGES
13 Patch0: %{name}-make.patch
14 URL: ftp://ftp.in-berlin.de/pub/capi4linux/
15 BuildRequires: libtool
16 BuildRequires: ppp-plugin-devel
18 Requires(post,postun): /sbin/ldconfig
19 Requires(post,preun): /sbin/chkconfig
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define ppp_ver %(awk -F'"' '/VERSION/ { print $2 }' /usr/include/pppd/patchlevel.h 2>/dev/null || echo ERROR)
25 These are the necessary tools to operate various CAPI 2.0 compatible
28 In order to use the tools you need to install the appropriate driver
29 for the adapter. Native driver packages for some adapters are provided
33 Dies sind die notwendigen Grundprogramme um verschiedene CAPI 2.0
34 fähige Geräte und ISDN Karten einzurichten. Für einige Karten müssen
35 Sie zusätzlich entsprechende Treiber installieren.
38 W tym pakiecie zawarte s± biblioteki wspó³dzielone libcapi20 oraz
39 narzêdzia s³u¿±ce do ³adowania i konfiguracji sterowników CAPI.
41 Aby skorzystaæ z tych narzêdzi potrzebny jest jeszcze odpowiedni
42 sterownik do karty ISDN. Kilka takich sterowników znajduje siê ju¿ w
46 Summary: Header files for capi development
47 Summary(pl): Pliki nag³ówkowe capi
48 Summary(de): Kopfdateien zur Entwicklung von CAPI Programmen
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 This package contains the header files required to develop capi
57 Ten pakiet zawiera pliki nag³ówkowe potrzebne do budowania programów
58 korzystaj±cych ze sterowników w standardzie CAPI poprzez bibliotekê
61 %description devel -l de
62 Dieses Paket stellt die Dateien bereit um CAPI Programme zu entwickeln
63 oder neu zu Übersetzen.
66 Summary: Static capi libraries
67 Summary(pl): Statyczne biblioteki capi
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
72 Static versions of capi libraries.
74 %description static -l pl
75 Statyczne wersje bibliotek capi.
78 Summary: CAPI 2.0 fax tool
79 Summary(de): CAPI 2.0 Fax Programm
80 Summary(pl): Proste narzêdzia do faksowania wykorzystuj±cy mo¿liwo¶ci CAPI 2.0
81 Group: Applications/Communications
82 Requires: %{name} = %{version}-%{release}
85 Native tools for sending and receiving fax with CAPI 2.0.
87 HINT: If you intend to use other CAPI 2.0 compliant fax software you
88 do not need to install this package.
90 %description capifax -l de
91 Basis Programm zum Senden und Empfangen von Fax mittels CAPI 2.0.
93 HINWEIS: Falls Sie andere CAPI 2.0 fähige Faxprogramme einsetzen
94 wollen brauchen Sie dieses Paket nicht installieren.
96 %description capifax -l pl
97 Podstawowe programy do wysy³ania i odbierania faksów przez CAPI 2.0.
99 PORADA: Je¶li zamierzasz korzystaæ z innego pakietu do obs³ugi faksów
100 (np. capisuite lub hylafax) to nie potrzebujesz tego pakietu.
103 Summary: CAPI 2.0 remote tool
104 Summary(de): CAPI 2.0 Fernsteuerungsprogramm
105 Summary(pl): Program udostêpniaj±cy interface CAPI 2.0 przez sieæ
106 Group: Applications/Communications
107 Requires: %{name} = %{version}-%{release}
109 %description remotecapi
110 Native tool for remote control (login) with CAPI 2.0.
112 ATTENTION: This is extreme BETA.
113 Avoid to install this package.
115 %description remotecapi -l de
116 Basis Programm zu Fernsteuerung (Login) mittels CAPI 2.0.
118 ACHTUNG: Dieses Programm ist BETA Testsoftware.
119 Vermeiden Sie dieses Paket zu installieren.
121 %description remotecapi -l pl
122 Program udostêpniaj±cy interface CAPI 2.0 przez sieæ
124 UWAGA: To jest na razie BETA. Tylko do testów.
126 %package -n ppp-plugin-capi
127 Summary: capiplugin for pppd-%{ppp_ver}
128 Summary(pl): Wtyczka capi dla pppd w wersji %{ppp_ver}
129 Group: Applications/Communications
130 Requires: %{name} = %{version}-%{release}
131 Requires: ppp = %{ppp_ver}
133 %description -n ppp-plugin-capi
134 capiplugin for pppd-%{ppp_ver}.
136 %description -n ppp-plugin-capi -l pl
137 Wtyczka capi dla pppd w wersji %{ppp_ver}.
144 CONFIG_BINDIR='%{_bindir}'
145 CONFIG_SBINDIR='%{_sbindir}'
146 CONFIG_MANDIR='%{_mandir}'
150 CONFIG_PPPDCAPIPLUGIN=y
153 install -p %{SOURCE1} .
158 PPPVERSIONS=%{ppp_ver}
161 rm -rf $RPM_BUILD_ROOT
164 PPPVERSIONS=%{ppp_ver} \
165 DESTDIR=$RPM_BUILD_ROOT
167 # Firmware goes here - see LSB and kernel 2.6.x ISDN stuff
168 install -d $RPM_BUILD_ROOT%{_datadir}/isdn
170 # install capi configuration file used by capiinit
171 install -d $RPM_BUILD_ROOT%{_sysconfdir}/capi
172 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/capi
174 # install capi startup script
175 install -D %{SOURCE11} $RPM_BUILD_ROOT%{_initrddir}/capi
178 rm -rf $RPM_BUILD_ROOT
182 /sbin/chkconfig --add capi
186 if [ "$1" = "0" ]; then
187 /etc/rc.d/init.d/capi stop >&2
188 /sbin/chkconfig --del capi
194 if [ "$1" -ge "1" ]; then
195 /etc/rc.d/init.d/capi stop >&2
200 %defattr(644,root,root,755)
201 %doc CHANGES pppdcapiplugin/examples
202 %attr(755,root,root) %{_bindir}/capiinfo
203 %attr(755,root,root) %{_sbindir}/capiinit
204 %attr(755,root,root) %{_sbindir}/avmcapictrl
205 %attr(755,root,root) %{_libdir}/lib*.so.*.*
206 %attr(754,root,root) %{_initrddir}/capi
207 %{_mandir}/man8/capiinfo.8*
208 %{_mandir}/man8/avmcapictrl.8*
209 %dir %{_datadir}/isdn
210 %dir %{_sysconfdir}/capi
211 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/capi/capi.conf
212 # mi to nie chce dzialac, wypisuje ze brak pliku
213 #%ghost %{_sysconfdir}/capi.conf
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_libdir}/lib*.so
222 %defattr(644,root,root,755)
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_bindir}/capifax*
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_sbindir}/rcapid
233 %files -n ppp-plugin-capi
234 %defattr(644,root,root,755)
235 %exclude %{_sysconfdir}/drdsl
236 %exclude %{_sysconfdir}/ppp
237 %{_libdir}/pppd/%{ppp_ver}/*
238 %{_mandir}/man8/capiplugin.8*