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 narzedzia 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,preun): /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define ppp_ver %(awk -F'"' '/VERSION/ { print $2 }' /usr/include/pppd/patchlevel.h 2>/dev/null || echo ERROR)
24 These are the necessary tools to operate various CAPI 2.0 compatible
27 In order to use the tools you need to install the appropriate driver
28 for the adapter. Native driver packages for some adapters are provided
32 Dies sind die notwendigen Grundprogramme um verschiedene CAPI 2.0
33 fähige Geräte und ISDN Karten einzurichten. Für einige Karten müssen
34 Sie zusätzlich entsprechende Treiber installieren.
37 W tym pakiecie zawarte s± biblioteki wspó³dzielone libcapi20 oraz
38 narzêdzia s³u¿±ce do ³adowania i konfiguracji sterowników CAPI.
40 Aby skorzystaæ z tych narzêdzi bêdziesz potrzebowa³ jeszcze
41 odpowiedniego sterownika do swojej karty ISDN. Kilka takich
42 sterowników znajduje siê ju¿ w j±drze.
45 Summary: Static library and header files for capi development.
46 Summary(pl): Pliki nag³ówkowe i biblioteki statyczne libcapi.
47 Summary(de): Bibliotheken und Kopfdateien zur Entwicklung von CAPI Programmen
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
52 The capi4k-utils-devel package contains the capi static library and
53 header files required to develop capi applications.
56 Ten pakiet zawiera pliki nag³ówkowe i biblioteki statyczne potrzebne
57 do budowania programów korzystaj±cych ze sterowników w standardzie
58 CAPI poprzez bibliotekê libcapi.
60 %description devel -l de
61 Dieses Paket stellt die notwendigen Bibliotheken und andere Dateien
62 bereit um CAPI Programme zu entwickeln oder neu zu Übersetzen.
65 Summary: CAPI 2.0 fax tool
66 Summary(de): CAPI 2.0 Fax Programm
67 Summary(pl): Proste narzêdzia do faksowania wykorzystuj±cy mo¿liwo¶ci CAPI 2.0
68 Group: Applications/Communications
69 Requires: %{name} = %{version}-%{release}
72 Native tools for sending and receiving fax with CAPI 2.0.
74 HINT: If you intend to use other CAPI 2.0 compliant fax software you
75 do not need to install this package.
77 %description capifax -l de
78 Basis Programm zum Senden und Empfangen von Fax mittels CAPI 2.0.
80 HINWEIS: Falls Sie andere CAPI 2.0 fähige Faxprogramme einsetzen
81 wollen brauchen Sie dieses Paket nicht installieren.
83 %description capifax -l pl
84 Podstawowe programy do wysy³ania i odbierania faksów przez CAPI 2.0.
86 PORADA: Je¶li zamierzasz korzystaæ z innego pakietu do obs³ugi faksów
87 (np. capisuite lub hylafax) to nie potrzebujesz tego pakietu.
90 Summary: CAPI 2.0 remote tool
91 Summary(de): CAPI 2.0 Fernsteuerungsprogramm
92 Summary(pl): Program udostêpniaj±cy interface CAPI 2.0 przez sieæ
93 Group: Applications/Communications
94 Requires: %{name} = %{version}-%{release}
96 %description remotecapi
97 Native tool for remote control (login) with CAPI 2.0.
99 ATTENTION: This is extreme BETA.
100 Avoid to install this package.
102 %description remotecapi -l de
103 Basis Programm zu Fernsteuerung (Login) mittels CAPI 2.0.
105 ACHTUNG: Dieses Programm ist BETA Testsoftware.
106 Vermeiden Sie dieses Paket zu installieren.
108 %description remotecapi -l pl
109 Program udostêpniaj±cy interface CAPI 2.0 przez sieæ
111 UWAGA: To jest na razie BETA. Tylko do testów.
113 %package -n ppp-plugin-capi
114 Summary: capiplugin for pppd-%{ppp_ver}
115 Summary(pl): Wtyczka capi dla pppd w wersji %{ppp_ver}
116 Group: Applications/Communications
117 Requires: %{name} = %{version}-%{release}
118 Requires: ppp = %{ppp_ver}
120 %description -n ppp-plugin-capi
121 capiplugin for pppd-%{ppp_ver}.
123 %description -n ppp-plugin-capi -l pl
124 Wtyczka capi dla pppd w wersji %{ppp_ver}.
131 CONFIG_BINDIR='%{_bindir}'
132 CONFIG_SBINDIR='%{_sbindir}'
133 CONFIG_MANDIR='%{_mandir}'
137 CONFIG_PPPDCAPIPLUGIN=y
140 install -p %{SOURCE1} .
144 %{__make} PPPVERSIONS=%{ppp_ver}
147 rm -rf $RPM_BUILD_ROOT
148 %{__make} PPPVERSIONS=%{ppp_ver} install \
149 DESTDIR=$RPM_BUILD_ROOT
151 # Firmware goes here - see LSB and kernel 2.6.x ISDN stuff
152 install -d %{buildroot}%{_datadir}/isdn
154 # install capi configuration file used by capiinit
155 install -d %{buildroot}%{_sysconfdir}/capi
156 install %{SOURCE10} %{buildroot}%{_sysconfdir}/capi/
158 # install capi startup script
159 install -D %{SOURCE11} %{buildroot}%{_initrddir}/capi
163 /sbin/chkconfig --add capi
167 if [ "$1" = "0" ]; then
168 /sbin/service capi stop > /dev/null 2>&1
169 /sbin/chkconfig --del capi
175 if [ "$1" -ge "1" ]; then
176 /sbin/service capi stop > /dev/null 2>&1
181 rm -rf $RPM_BUILD_ROOT
184 %defattr(644,root,root,755)
186 %doc pppdcapiplugin/examples
187 %attr(0755,root,root) %{_bindir}/capiinfo
188 %attr(0755,root,root) %{_sbindir}/capiinit
189 %attr(0755,root,root) %{_sbindir}/avmcapictrl
190 %attr(755,root,root) %{_libdir}/lib*.so.*.*
191 %attr(754,root,root) %{_initrddir}/capi
192 %{_mandir}/man8/capiinfo.8*
193 %{_mandir}/man8/avmcapictrl.8*
194 %dir %{_datadir}/isdn
195 %dir %{_sysconfdir}/capi
196 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/capi/capi.conf
197 # mi to nie chce dzialac, wypisuje ze brak pliku
198 #%ghost %{_sysconfdir}/capi.conf
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_libdir}/lib*.so
205 # to chyba powinno isc do -static, ale nie wiem...
209 %defattr(644,root,root,755)
210 %attr(0755,root,root) %{_bindir}/capifax*
213 %defattr(644,root,root,755)
214 %attr(0755,root,root) %{_sbindir}/rcapid
216 %files -n ppp-plugin-capi
217 %defattr(644,root,root,755)
218 %exclude %{_sysconfdir}/drdsl
219 %exclude %{_sysconfdir}/ppp
220 %{_libdir}/pppd/%{ppp_ver}/*
221 %{_mandir}/man8/capiplugin.8*