]> git.pld-linux.org Git - packages/isdn4k-utils.git/blob - isdn4k-utils.spec
Add few packages:
[packages/isdn4k-utils.git] / isdn4k-utils.spec
1 Summary:        Utilities for the kernel ISDN-subsystem
2 Summary(pl):    U¿ytki dla podsystemu ISDN j±dra
3 Summary(pt_BR): Utilitários para configuração do subsistema ISDN
4 Name:           isdn4k-utils
5 Version:        0208190200
6 Release:        4
7 License:        GPL v2
8 Group:          Applications/Communications
9 Source0:        ftp://ftp.suse.com/pub/isdn4linux/v2.1/isdn4k-utils/%{name}-%{version}.tar.gz
10 Source1:        %{name}.config
11 Patch0:         %{name}-make.patch
12 Patch1:         %{name}-ppc.patch
13 Patch2:         %{name}-pppdcapiplugin.patch
14 URL:            http://www.isdn4linux.de/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRequires:  ncurses-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _sbindir        /sbin
22 %define         _xprefix        /usr/X11R6
23 %define         _xbindir        %{_xprefix}/bin
24 %define         _xincludedir    %{_xprefix}/include
25 %define         _xlibdir        %{_xprefix}/lib
26 %define         _xmandir        %{_xprefix}/man
27
28 %description
29 Utilities for the kernel ISDN-subsystem and some contributions.
30
31 %description -l pl
32 Narzêdzia dla podsystemu ISDN j±dra.
33
34 %description -l pt_BR
35 Utilitários para configuração do subsistema ISDN.
36
37 %package x11
38 Summary:        Utilities for the kernel ISDN-subsystem - frontend for X11
39 Summary(pl):    Narzêdzia dla podsystemu ISDN j±dra - nakladki dla X11
40 Group:          Applications/Communications
41 Requires:       %{name} = %{version}
42 %description x11
43 Utilities for the kernel ISDN-subsystem and some contributions (X11).
44
45 %description x11 -l pl
46 Narzêdzia dla podsystemu ISDN j±dra, nak³adki graficzne (X11).
47
48 %package devel
49 Summary:        Developement files for isdn4k-tools
50 Summary(pl):    Rzeczy potrzebne do programowania z u¿yciem isdn4k-tools
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}
53
54 %description devel
55 Developement files for isdn4k-tools.
56
57 %description devel -l pl
58 Rzeczy potrzebne do programowania z u¿yciem isdn4k-tools.
59
60
61 %define         ppp_ver 2.4.1
62 %package -n ppp-capiplugin
63 Summary:        capiplugin for pppd-%{ppp_ver}
64 Summary(pl):    Wtyczka capi dla pppd w wersji %{ppp_ver}
65 Group:          Sieciowe/Serwery
66 Requires:       ppp = %{ppp_ver}
67
68 %description -n ppp-capiplugin
69 capiplugin for pppd-%{ppp_ver}
70
71 %description -n ppp-capiplugin -l pl
72 Wtyczka capi dla pppd w wersji %{ppp_ver}
73
74 %package -n capi
75 Summary:        Program which can initialize CAPI hardware 
76 Summary(pl):    Program, który inicjalizuje sprzêt ISDN zgodny z CAPI  
77 Group:          System/Administration
78
79 %description -n capi
80 The Common ISDN Application Programming Interface - CAPI for short
81 - opens up a new dimension in communication technologies. It provides
82 a uniform, independent interface to ISDN hardware components.
83
84 This package contains program which initialize your CAPI hardware.
85 You shoul install appropriate kernel module first and edit 
86 /etc/capi.conf.
87
88 %description -n capi -l pl
89 Standard Common ISDN Application Programming Interface - w skrócie CAPI
90 - otwiera nowy wymiar w ¶wiecie technologi komunikacyjnych. Dostarcza
91 ujednolicony, niezale¿ny interfejs do sprzêtu ISDN.
92
93 Ten pakiet zawiera program, który zainicjuje twoj± kartê ISDN zgodn± z CAPI
94 Powiniene¶ zaopatrzyæ siê w odpowiedni modu³ j±dra i wyedytowaæ plik
95 /etc/capi.conf.
96
97 %package -n capi-libs
98 Summary:        CAPI 2.0 - shared library
99 Summary(pl):    biblioteka dzielona CAPI 2.0
100 Group:          Development/Libraries
101
102
103 %description -n capi-libs
104 The Common ISDN Application Programming Interface - CAPI for short 
105 - opens up a new dimension in communication technologies. It provides 
106 a uniform, independent interface to ISDN hardware components.
107
108 This package contains shared library which provide CAPI 2.0.
109
110 %description -n capi-libs -l pl
111 Standard Common ISDN Application Programming Interface - w skrócie CAPI
112 - otwiera nowy wymiar w ¶wiecie technologi komunikacyjnych. Dostarcza
113 ujednolicony, niezale¿ny interfejs do sprzêtu ISDN.
114
115 Ten pakiet zawiera bibliotekê dzielon±, która realizuje standard CAPI 
116 w wersji 2.0
117
118 %package -n capi-libs-static
119 Summary:        Static libraries for CAPI 2.0
120 Summary(pl):    Statyczne biblioteki dla CAPI 2.0
121 Group:          Development/Libraries
122 Requires:       %{name}-devel = %{version}
123
124 %description -n capi-libs-static
125 The Common ISDN Application Programming Interface - CAPI for short
126 - opens up a new dimension in communication technologies. It provides
127 a uniform, independent interface to ISDN hardware components.
128
129 This package contains static library which provide CAPI 2.0.
130
131
132 %description -n capi-libs-static -l pl
133 Standard Common ISDN Application Programming Interface - w skrócie CAPI
134 - otwiera nowy wymiar w ¶wiecie technologi komunikacyjnych. Dostarcza
135 ujednolicony, niezale¿ny interfejs do sprzêtu ISDN.
136
137 Ten pakiet zawiera bibliotekê statyczn±, która realizuje standard CAPI
138 w wersji 2.0
139
140 %package -n capi-devel
141 Summary:        CAPI 2.0 - development staff
142 Summary(pl):    CAPI 2.0 - narzêdzia dewelopera
143 Group:          Development/Libraries
144 Requires:       capi-libs = %{version}
145
146 %description -n capi-devel
147
148 The Common ISDN Application Programming Interface - CAPI for short
149 - opens up a new dimension in communication technologies. It provides
150 a uniform, independent interface to ISDN hardware components.
151
152 This package contains developement files for CAPI 2.0.
153
154
155 %description -n capi-devel -l pl
156 Standard Common ISDN Application Programming Interface - w skrócie CAPI
157 - otwiera nowy wymiar w ¶wiecie technologi komunikacyjnych. Dostarcza
158 ujednolicony, niezale¿ny interfejs do sprzêtu ISDN.
159
160 Ten pakiet zawiera pliki niezbêdne przy towrzeniu programów wykorzystuj±cych
161 standard CAPI 2.0
162
163 %package -n capi-tools
164 Summary:        CAPI 2.0 - useful programs
165 Summary(pl):    CAPI 2.0 - programy u¿ytkowe
166 Group:          Applications/Communications
167
168 %description -n capi-tools
169 The Common ISDN Application Programming Interface - CAPI for short
170 - opens up a new dimension in communication technologies. It provides
171 a uniform, independent interface to ISDN hardware components.
172
173 This package contains programs which can make use of your CAPI compilant
174 ISDN hardware
175
176 %description -n capi-tools -l pl
177 Standard Common ISDN Application Programming Interface - w skrócie CAPI
178 - otwiera nowy wymiar w ¶wiecie technologi komunikacyjnych. Dostarcza
179 ujednolicony, niezale¿ny interfejs do sprzêtu ISDN.
180
181 Ten pakiet zawiera programy, które potrafi± zrobic u¿ytek z twojego
182 zgodnego z CAPI sprzêtu ISDN.
183
184 %prep
185 %setup -q -n %{name}
186 %patch0 -p1
187 %ifarch ppc
188 %patch1 -p1
189 %endif
190 %patch2 -p1
191
192 %build
193 for i in capi20 capifax capiinfo capiinit rcapid; do
194         cd $i
195         rm -f missing
196         %{__libtoolize}
197         aclocal
198         %{__autoconf}
199         %{__automake}
200         cd ..
201 done
202
203 cp %{SOURCE1} .config
204 %{__make} OPTIM="%{rpmcflags}" subconfig
205 %{__make} PPPVERSIONS=%{ppp_ver} CFLAGS="%{rpmcflags} -I/usr/include/ncurses/"
206
207 %install
208 rm -rf $RPM_BUILD_ROOT
209 install -d $RPM_BUILD_ROOT{%{_sbindir},/var/lock/isdn,%{_datadir}/doc/%{name}-%{version}/faq,%{_xbindir}}
210
211 %{__make} PPPVERSIONS=%{ppp_ver} DESTDIR=$RPM_BUILD_ROOT install
212
213 mv $RPM_BUILD_ROOT%{_datadir}/doc/isdn4linux/faq/*.txt \
214         $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}/faq
215 mv $RPM_BUILD_ROOT%{_datadir}/doc/isdn4linux/faq/*.html \
216         $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}/faq
217 mv $RPM_BUILD_ROOT%{_datadir}/doc/vbox/*.txt \
218         $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
219 mv $RPM_BUILD_ROOT%{_bindir}/{xisdnload,xmonisdn} \
220         $RPM_BUILD_ROOT%{_xbindir}
221
222 %clean
223 rm -rf $RPM_BUILD_ROOT
224
225 %files
226 %defattr(644,root,root,755)
227 %doc README FAQ NEWS LEGAL.ipppcomp ipppcomp/README.LZS Mini-FAQ/*.txt
228 %doc isdnlog/{tools/dest/README*,isdnrep/CHANGES*}
229 %doc FAQ/{_howto,_example}
230 %dir %{_sysconfdir}/isdn
231 %config %{_sysconfdir}/isdn/*
232 %attr(755,root,root) %{_bindir}/[^c]*
233 %attr(755,root,root) %{_sbindir}/[^acr]*
234 %dir %{_libdir}/isdn
235 %{_libdir}/isdn/*
236 %dir /var/lock/isdn
237 %{_mandir}/man[1457]/*
238 %{_mandir}/man8/[^ac]*
239
240 %files x11
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_xbindir}/*
243 %{_xlibdir}/X11/app-defaults/XISDNLoad
244 %{_xmandir}/man1/*
245
246 %files devel
247 %defattr(644,root,root,755)
248 %{_xincludedir}/X11/bitmaps/*
249
250 %files -n capi-libs-static
251 %defattr(644,root,root,755)
252 %{_libdir}/*.a
253
254 %files -n ppp-capiplugin
255 %defattr(644,root,root,755)
256 %doc pppdcapiplugin/{README,examples/*,peers/*}
257 %attr(755,root,root) %{_libdir}/pppd/%{ppp_ver}/*
258 %{_mandir}/man8/capiplugin*
259
260 %files -n capi-libs
261 %attr(755,root,root) %{_libdir}/*.so.*.*.*
262
263 %files -n capi-devel
264 %defattr(644,root,root,755)
265 %attr(755,root,root) %{_libdir}/*.la
266 %attr(755,root,root) %{_libdir}/*.so
267 %{_includedir}/*.h
268
269 %files -n capi-tools
270 %doc rcapid/README
271 %attr(755,root,root) %{_sbindir}/[ar]*
272 %attr(755,root,root) %{_bindir}/capiinfo
273 %{_mandir}/man8/avmcapi*
274 %{_mandir}/man8/capiinfo*
275
276 %files -n capi
277 %doc capiinit/capi.conf
278 %attr(755,root,root) %{_sbindir}/capiinit
This page took 0.0942 seconds and 4 git commands to generate.