]>
Commit | Line | Data |
---|---|---|
12082d70 | 1 | # |
9742c77b | 2 | # - fix building without chipcard (aclocal fail) or drop bcond |
12082d70 | 3 | # Conditional build: |
41d66290 | 4 | %bcond_without chipcard # aqgeldkarte backend |
b81d0431 | 5 | %bcond_without fox # fbanking frontend |
b81d0431 | 6 | %bcond_with yellownet # yellownet backend (x86-only, no sources currently) |
12082d70 | 7 | # |
a2da3cea | 8 | Summary: A library for online banking functions and financial data import/export |
b5aeef67 | 9 | Summary(pl.UTF-8): Biblioteka do funkcji bankowych online oraz importu/eksportu danych finansowych |
a2da3cea | 10 | Name: aqbanking |
0dac2039 | 11 | Version: 3.0.1 |
b284883d | 12 | Release: 2 |
a2da3cea JB |
13 | License: GPL v2 |
14 | Group: Libraries | |
15 | Source0: http://dl.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz | |
0dac2039 | 16 | # Source0-md5: be3bafd787973b33895d80bbc6104bf5 |
a2da3cea | 17 | Patch0: %{name}-link.patch |
41d66290 | 18 | Patch1: %{name}-nobash.patch |
9742c77b JB |
19 | Patch2: %{name}-fbanking.patch |
20 | Patch3: %{name}-backends.patch | |
a2da3cea JB |
21 | URL: http://www.aquamaniac.de/aqbanking/ |
22 | BuildRequires: autoconf >= 2.56 | |
23 | BuildRequires: automake | |
b81d0431 | 24 | %{?with_fox:BuildRequires: fox-devel >= 1.6.0} |
a2da3cea | 25 | BuildRequires: gettext-devel |
9742c77b | 26 | BuildRequires: gwenhywfar-devel >= 3.0.0 |
a2da3cea | 27 | BuildRequires: ktoblzcheck-devel |
9742c77b | 28 | %{?with_chipcard:BuildRequires: libchipcard-devel >= 4.0.0} |
12082d70 | 29 | BuildRequires: libofx-devel >= 0.8.0 |
a2da3cea | 30 | BuildRequires: libtool >= 2:1.5 |
b81d0431 | 31 | BuildRequires: pkgconfig |
41d66290 | 32 | BuildRequires: python-devel >= 1:2.5 |
b537037a | 33 | BuildRequires: qt-devel >= 1:3.0 |
9742c77b JB |
34 | BuildRequires: rpm-pythonprov |
35 | Obsoletes: aqbanking-frontend-cbanking | |
36 | Obsoletes: aqbanking-frontend-cbanking-devel | |
37 | Obsoletes: aqbanking-frontend-cbanking-static | |
38 | Obsoletes: aqbanking-frontend-g2banking | |
39 | Obsoletes: aqbanking-frontend-g2banking-devel | |
40 | Obsoletes: aqbanking-frontend-g2banking-static | |
41 | Obsoletes: aqbanking-frontend-kbanking | |
42 | Obsoletes: aqbanking-frontend-kbanking-devel | |
43 | Obsoletes: aqbanking-frontend-kbanking-static | |
a2da3cea JB |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | The intention of AqBanking is to provide a middle layer between the | |
48 | program and the various Online Banking libraries (e.g. AqHBCI). The | |
49 | first backend which is already supported is AqHBCI, a library which | |
50 | implements a client for the German HBCI (Home Banking Computer | |
51 | Interface) protocol. Additionally, Aqbanking provides various plugins | |
52 | to simplify import and export of financial data. Currently there are | |
53 | import plugins for the following formats: DTAUS (German financial | |
54 | format), SWIFT (MT940 and MT942). | |
55 | ||
684f7fee JR |
56 | %description -l pl.UTF-8 |
57 | Celem projektu AqBanking jest dostarczenie warstwy pośredniej między | |
58 | programem a różnymi bibliotekami usług bankowych online (np. AqHBCI). | |
59 | Pierwszy już obsługiwany backend to AqHBCI - biblioteka implementująca | |
60 | klienta niemieckiego protokołu HBCI (Home Baking Computer Interface). | |
61 | Ponadto Aqbanking dostarcza różne wtyczki upraszczające importowanie i | |
62 | eksportowanie danych finansowych. Aktualnie istnieją wtyczki do | |
63 | importu następujących formatów: DTAUS (niemiecki format finansowy), | |
a2da3cea JB |
64 | SWIFT (MT940 oraz MT942). |
65 | ||
66 | %package devel | |
67 | Summary: Header files for AqBanking library | |
b5aeef67 | 68 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AqBanking |
a2da3cea JB |
69 | Group: Development/Libraries |
70 | Requires: %{name} = %{version}-%{release} | |
9742c77b | 71 | Requires: gwenhywfar-devel >= 3.0.0 |
a2da3cea JB |
72 | |
73 | %description devel | |
74 | Header files for AqBanking library. | |
75 | ||
684f7fee JR |
76 | %description devel -l pl.UTF-8 |
77 | Pliki nagłówkowe biblioteki AqBanking. | |
a2da3cea JB |
78 | |
79 | %package static | |
80 | Summary: Static AqBanking libraries | |
b5aeef67 | 81 | Summary(pl.UTF-8): Statyczne biblioteki AqBanking |
a2da3cea JB |
82 | Group: Development/Libraries |
83 | Requires: %{name}-devel = %{version}-%{release} | |
84 | ||
85 | %description static | |
86 | Static AqBanking libraries. | |
87 | ||
684f7fee | 88 | %description static -l pl.UTF-8 |
a2da3cea JB |
89 | Statyczne biblioteki AqBanking. |
90 | ||
12082d70 JB |
91 | %package backend-aqdtaus |
92 | Summary: AqDTAUS backend for AqBanking library | |
b5aeef67 | 93 | Summary(pl.UTF-8): Backend AqDTAUS dla biblioteki AqBanking |
12082d70 JB |
94 | Group: Libraries |
95 | Requires: %{name} = %{version}-%{release} | |
96 | ||
97 | %description backend-aqdtaus | |
98 | AqDTAUS backend for AqBanking library. | |
99 | ||
684f7fee | 100 | %description backend-aqdtaus -l pl.UTF-8 |
12082d70 JB |
101 | Backend AqDTAUS dla biblioteki AqBanking. |
102 | ||
103 | %package backend-aqdtaus-devel | |
104 | Summary: Header files for AqDTAUS backend library | |
b5aeef67 | 105 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqDTAUS |
12082d70 JB |
106 | Group: Development/Libraries |
107 | Requires: %{name}-backend-aqdtaus = %{version}-%{release} | |
108 | Requires: %{name}-devel = %{version}-%{release} | |
109 | ||
110 | %description backend-aqdtaus-devel | |
111 | Header files for AqDTAUS backend library. | |
112 | ||
684f7fee JR |
113 | %description backend-aqdtaus-devel -l pl.UTF-8 |
114 | Pliki nagłówkowe biblioteki backendu AqDTAUS. | |
12082d70 JB |
115 | |
116 | %package backend-aqdtaus-static | |
117 | Summary: Static AqDTAUS backend library | |
b5aeef67 | 118 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqDTAUS |
12082d70 JB |
119 | Group: Development/Libraries |
120 | Requires: %{name}-backend-aqdtaus-devel = %{version}-%{release} | |
121 | ||
122 | %description backend-aqdtaus-static | |
123 | Static AqDTAUS backend library. | |
124 | ||
684f7fee | 125 | %description backend-aqdtaus-static -l pl.UTF-8 |
12082d70 JB |
126 | Statyczna biblioteka backendu AqDTAUS. |
127 | ||
128 | %package backend-aqgeldkarte | |
129 | Summary: AqGeldKarte backend for AqBanking library | |
b5aeef67 | 130 | Summary(pl.UTF-8): Backend AqGeldKarte dla biblioteki AqBanking |
12082d70 JB |
131 | Group: Libraries |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description backend-aqgeldkarte | |
135 | AqGeldKarte backend for AqBanking library. | |
136 | ||
684f7fee | 137 | %description backend-aqgeldkarte -l pl.UTF-8 |
12082d70 JB |
138 | Backend AqGeldKarte dla biblioteki AqBanking. |
139 | ||
140 | %package backend-aqgeldkarte-devel | |
141 | Summary: Header files for AqGeldKarte backend library | |
b5aeef67 | 142 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqGeldKarte |
12082d70 JB |
143 | Group: Development/Libraries |
144 | Requires: %{name}-backend-aqgeldkarte = %{version}-%{release} | |
145 | Requires: %{name}-devel = %{version}-%{release} | |
9742c77b | 146 | Requires: libchipcard-devel >= 4.0.0 |
12082d70 JB |
147 | |
148 | %description backend-aqgeldkarte-devel | |
149 | Header files for AqGeldKarte backend library. | |
150 | ||
684f7fee JR |
151 | %description backend-aqgeldkarte-devel -l pl.UTF-8 |
152 | Pliki nagłówkowe biblioteki backendu AqGeldKarte. | |
12082d70 JB |
153 | |
154 | %package backend-aqgeldkarte-static | |
155 | Summary: Static AqGeldKarte backend library | |
b5aeef67 | 156 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqGeldKarte |
12082d70 JB |
157 | Group: Development/Libraries |
158 | Requires: %{name}-backend-aqgeldkarte-devel = %{version}-%{release} | |
159 | ||
160 | %description backend-aqgeldkarte-static | |
161 | Static AqGeldKarte backend library. | |
162 | ||
684f7fee | 163 | %description backend-aqgeldkarte-static -l pl.UTF-8 |
12082d70 JB |
164 | Statyczna biblioteka backendu AqGeldKarte. |
165 | ||
166 | %package backend-aqhbci | |
167 | Summary: AqHBCI backend for AqBanking library | |
b5aeef67 | 168 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking |
12082d70 JB |
169 | Group: Libraries |
170 | Requires: %{name} = %{version}-%{release} | |
171 | ||
172 | %description backend-aqhbci | |
173 | AqHBCI backend for AqBanking library. | |
174 | ||
684f7fee | 175 | %description backend-aqhbci -l pl.UTF-8 |
12082d70 JB |
176 | Backend AqHBCI dla biblioteki AqBanking. |
177 | ||
178 | %package backend-aqhbci-devel | |
179 | Summary: Header files for AqHBCI backend library | |
b5aeef67 | 180 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqHBCI |
12082d70 JB |
181 | Group: Development/Libraries |
182 | Requires: %{name}-backend-aqhbci = %{version}-%{release} | |
183 | Requires: %{name}-devel = %{version}-%{release} | |
184 | ||
185 | %description backend-aqhbci-devel | |
186 | Header files for AqHBCI backend library. | |
187 | ||
684f7fee JR |
188 | %description backend-aqhbci-devel -l pl.UTF-8 |
189 | Pliki nagłówkowe biblioteki backendu AqHBCI. | |
12082d70 JB |
190 | |
191 | %package backend-aqhbci-static | |
192 | Summary: Static AqHBCI backend library | |
b5aeef67 | 193 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqHBCI |
12082d70 JB |
194 | Group: Development/Libraries |
195 | Requires: %{name}-backend-aqhbci-devel = %{version}-%{release} | |
196 | ||
197 | %description backend-aqhbci-static | |
198 | Static AqHBCI backend library. | |
199 | ||
684f7fee | 200 | %description backend-aqhbci-static -l pl.UTF-8 |
12082d70 JB |
201 | Statyczna biblioteka backendu AqHBCI. |
202 | ||
b81d0431 JB |
203 | %package backend-aqnone |
204 | Summary: Aqnone backend for AqBanking library | |
205 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
206 | Group: Libraries | |
207 | Requires: %{name} = %{version}-%{release} | |
208 | ||
209 | %description backend-aqnone | |
210 | Aqnone backend for AqBanking library. | |
211 | ||
212 | %description backend-aqnone -l pl.UTF-8 | |
213 | Backend Aqnone dla biblioteki AqBanking. | |
214 | ||
215 | %package backend-aqnone-devel | |
216 | Summary: Header files for Aqnone backend library | |
217 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu Aqnone | |
218 | Group: Development/Libraries | |
219 | Requires: %{name}-backend-aqnone = %{version}-%{release} | |
220 | Requires: %{name}-devel = %{version}-%{release} | |
221 | ||
222 | %description backend-aqnone-devel | |
223 | Header files for Aqnone backend library. | |
224 | ||
225 | %description backend-aqnone-devel -l pl.UTF-8 | |
226 | Pliki nagłówkowe biblioteki backendu Aqnone. | |
227 | ||
228 | %package backend-aqnone-static | |
229 | Summary: Static Aqnone backend library | |
230 | Summary(pl.UTF-8): Statyczna biblioteka backendu Aqnone | |
231 | Group: Development/Libraries | |
232 | Requires: %{name}-backend-aqnone-devel = %{version}-%{release} | |
233 | ||
234 | %description backend-aqnone-static | |
235 | Static Aqnone backend library. | |
236 | ||
237 | %description backend-aqnone-static -l pl.UTF-8 | |
238 | Statyczna biblioteka backendu Aqnone. | |
239 | ||
12082d70 JB |
240 | %package backend-aqofxconnect |
241 | Summary: AqOFXConnect backend for AqBanking library | |
b5aeef67 | 242 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking |
12082d70 JB |
243 | Group: Libraries |
244 | Requires: %{name} = %{version}-%{release} | |
245 | ||
246 | %description backend-aqofxconnect | |
247 | AqOFXConnect backend for AqBanking library. | |
248 | ||
684f7fee | 249 | %description backend-aqofxconnect -l pl.UTF-8 |
12082d70 JB |
250 | Backend AqOFXConnect dla biblioteki AqBanking. |
251 | ||
252 | %package backend-aqofxconnect-devel | |
253 | Summary: Header files for AqOFXConnect backend library | |
b5aeef67 | 254 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqOFXConnect |
12082d70 JB |
255 | Group: Development/Libraries |
256 | Requires: %{name}-backend-aqofxconnect = %{version}-%{release} | |
257 | Requires: libofx-devel >= 0.8.0 | |
258 | ||
259 | %description backend-aqofxconnect-devel | |
260 | Header files for AqOFXConnect backend library. | |
261 | ||
684f7fee JR |
262 | %description backend-aqofxconnect-devel -l pl.UTF-8 |
263 | Pliki nagłówkowe biblioteki backendu AqOFXConnect. | |
12082d70 JB |
264 | |
265 | %package backend-aqofxconnect-static | |
266 | Summary: Static AqOFXConnect backend library | |
b5aeef67 | 267 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqOFXConnect |
12082d70 JB |
268 | Group: Development/Libraries |
269 | Requires: %{name}-backend-aqofxconnect-devel = %{version}-%{release} | |
270 | ||
271 | %description backend-aqofxconnect-static | |
272 | Static AqOFXConnect backend library. | |
273 | ||
684f7fee | 274 | %description backend-aqofxconnect-static -l pl.UTF-8 |
12082d70 JB |
275 | Statyczna biblioteka backendu AqOFXConnect. |
276 | ||
b81d0431 JB |
277 | %package backend-aqyellownet |
278 | Summary: AqYellowNet backend for AqBanking library | |
279 | Summary(pl.UTF-8): Backend AqYellowNet dla biblioteki AqBanking | |
280 | License: custom | |
281 | Group: Libraries | |
282 | Requires: %{name} = %{version}-%{release} | |
283 | ||
284 | %description backend-aqyellownet | |
285 | AqYellowNet backend for AqBanking library. | |
286 | ||
287 | %description backend-aqyellownet -l pl.UTF-8 | |
288 | Backend AqYellowNet dla biblioteki AqBanking. | |
289 | ||
290 | %package backend-aqyellownet-devel | |
291 | Summary: Header files for AqYellowNet backend library | |
292 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqYellowNet | |
293 | License: custom | |
294 | Group: Development/Libraries | |
295 | Requires: %{name}-backend-aqyellownet = %{version}-%{release} | |
296 | Requires: %{name}-devel = %{version}-%{release} | |
297 | ||
298 | %description backend-aqyellownet-devel | |
299 | Header files for AqYellowNet backend library. | |
300 | ||
301 | %description backend-aqyellownet-devel -l pl.UTF-8 | |
302 | Pliki nagłówkowe biblioteki backendu AqYellowNet. | |
303 | ||
304 | %package backend-aqyellownet-static | |
305 | Summary: Static AqYellowNet backend library | |
306 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqYellowNet | |
307 | License: custom | |
308 | Group: Development/Libraries | |
309 | Requires: %{name}-backend-aqyellownet-devel = %{version}-%{release} | |
310 | ||
311 | %description backend-aqyellownet-static | |
312 | Static AqYellowNet backend library. | |
313 | ||
314 | %description backend-aqyellownet-static -l pl.UTF-8 | |
315 | Statyczna biblioteka backendu AqYellowNet. | |
316 | ||
b81d0431 JB |
317 | %package frontend-fbanking |
318 | Summary: Fbanking frontend for AqBanking library | |
319 | Summary(pl.UTF-8): Frontend Fbanking dla biblioteki AqBanking | |
320 | Group: Libraries | |
321 | Requires: %{name} = %{version}-%{release} | |
322 | ||
323 | %description frontend-fbanking | |
324 | Fbanking frontend for AqBanking library. | |
325 | ||
326 | %description frontend-fbanking -l pl.UTF-8 | |
327 | Frontend Fbanking dla biblioteki AqBanking. | |
328 | ||
329 | %package frontend-fbanking-devel | |
330 | Summary: Header files for Fbanking frontend library | |
331 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu Fbanking | |
332 | Group: Development/Libraries | |
333 | Requires: %{name}-devel = %{version}-%{release} | |
334 | Requires: %{name}-frontend-fbanking = %{version}-%{release} | |
335 | Requires: fox-devel >= 1.6.0 | |
336 | ||
337 | %description frontend-fbanking-devel | |
338 | Header files for Fbanking frontend library. | |
339 | ||
340 | %description frontend-fbanking-devel -l pl.UTF-8 | |
341 | Pliki nagłówkowe biblioteki frontendu Fbanking. | |
342 | ||
343 | %package frontend-fbanking-static | |
344 | Summary: Static Fbanking frontend library | |
345 | Summary(pl.UTF-8): Statyczna biblioteka frontendu Fbanking | |
346 | Group: Development/Libraries | |
347 | Requires: %{name}-frontend-fbanking-devel = %{version}-%{release} | |
348 | ||
349 | %description frontend-fbanking-static | |
350 | Static Fbanking frontend library. | |
351 | ||
352 | %description frontend-fbanking-static -l pl.UTF-8 | |
353 | Statyczna biblioteka frontendu Fbanking. | |
354 | ||
12082d70 JB |
355 | %package frontend-qbanking |
356 | Summary: QBanking - Qt-based frontend for AqBanking library | |
b5aeef67 | 357 | Summary(pl.UTF-8): QBanking - oparty na Qt frontend dla biblioteki AqBanking |
12082d70 JB |
358 | Group: Libraries |
359 | Requires: %{name} = %{version}-%{release} | |
360 | ||
361 | %description frontend-qbanking | |
362 | QBanking - Qt-based frontend for AqBanking library. | |
363 | ||
684f7fee | 364 | %description frontend-qbanking -l pl.UTF-8 |
12082d70 JB |
365 | QBanking - oparty na Qt frontend dla biblioteki AqBanking. |
366 | ||
367 | %package frontend-qbanking-devel | |
368 | Summary: Header files for QBanking frontend library | |
b5aeef67 | 369 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu QBanking |
12082d70 JB |
370 | Group: Development/Libraries |
371 | Requires: %{name}-devel = %{version}-%{release} | |
372 | Requires: %{name}-frontend-qbanking = %{version}-%{release} | |
b537037a | 373 | Requires: qt-devel >= 1:3.0 |
12082d70 JB |
374 | |
375 | %description frontend-qbanking-devel | |
376 | Header files for QBanking frontend library. | |
377 | ||
684f7fee JR |
378 | %description frontend-qbanking-devel -l pl.UTF-8 |
379 | Pliki nagłówkowe biblioteki frontendu QBanking. | |
12082d70 JB |
380 | |
381 | %package frontend-qbanking-static | |
382 | Summary: Static QBanking frontend library | |
b5aeef67 | 383 | Summary(pl.UTF-8): Statyczna biblioteka frontendu QBanking |
12082d70 JB |
384 | Group: Development/Libraries |
385 | Requires: %{name}-frontend-qbanking-devel = %{version}-%{release} | |
386 | ||
387 | %description frontend-qbanking-static | |
388 | Static QBanking frontend library. | |
389 | ||
684f7fee | 390 | %description frontend-qbanking-static -l pl.UTF-8 |
12082d70 JB |
391 | Statyczna biblioteka frontendu QBanking. |
392 | ||
a2da3cea JB |
393 | %package -n python-%{name} |
394 | Summary: Python binding for AqBanking library | |
b5aeef67 | 395 | Summary(pl.UTF-8): Wiązanie Pythona do biblioteki AqBanking |
a2da3cea JB |
396 | Group: Development/Languages/Python |
397 | Requires: %{name} = %{version}-%{release} | |
b284883d ER |
398 | # for python-ctypes |
399 | Requires: python-modules >= 1:2.5 | |
12082d70 | 400 | %pyrequires_eq python-libs |
a2da3cea JB |
401 | |
402 | %description -n python-%{name} | |
403 | Python binding for AqBanking library. | |
404 | ||
684f7fee JR |
405 | %description -n python-%{name} -l pl.UTF-8 |
406 | Wiązanie Pythona do biblioteki AqBanking. | |
a2da3cea JB |
407 | |
408 | %prep | |
409 | %setup -q | |
b81d0431 | 410 | %patch0 -p1 |
9ca8ef38 | 411 | %patch1 -p1 |
9742c77b JB |
412 | %patch2 -p1 |
413 | %patch3 -p1 | |
414 | ||
415 | ln -s ../../qbanking/lib/banking.h src/frontends/fbanking/lib | |
416 | ln -s ../../qbanking/lib/banking.cpp src/frontends/fbanking/lib | |
417 | ||
418 | %ifnarch %{ix86} | |
419 | %{?with_yellownet:%{error: yellownet backend is x86-only}exit 1} | |
420 | %endif | |
a2da3cea JB |
421 | |
422 | %build | |
423 | %{__libtoolize} | |
424 | %{__aclocal} -I m4 | |
425 | %{__autoconf} | |
426 | %{__autoheader} | |
427 | %{__automake} | |
428 | %configure \ | |
41d66290 | 429 | --with-qt3-libs=%{_libdir} \ |
a2da3cea JB |
430 | --enable-libofx \ |
431 | --enable-python \ | |
12082d70 | 432 | --enable-static \ |
b81d0431 | 433 | --with-backends="aqhbci aqdtaus%{?with_chipcard: aqgeldkarte} aqofxconnect%{?with_yellownet: aqyellownet}" \ |
9742c77b | 434 | --with-frontends="%{?with_fox:fbanking }qbanking" |
a2da3cea | 435 | |
41d66290 | 436 | %{__make} -j1 |
a2da3cea JB |
437 | |
438 | %install | |
439 | rm -rf $RPM_BUILD_ROOT | |
440 | ||
41d66290 | 441 | %{__make} install -j1 \ |
a2da3cea JB |
442 | DESTDIR=$RPM_BUILD_ROOT |
443 | ||
b81d0431 JB |
444 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} |
445 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/*.{la,a} | |
446 | rm -f $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} | |
a2da3cea JB |
447 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/aqbanking/*.py |
448 | ||
b81d0431 JB |
449 | %if %{with yellownet} |
450 | # soname is libaqyellownet.so.0 | |
451 | mv $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.{so,so.0.0.0} | |
452 | ln -sf libaqyellownet.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.so | |
453 | %endif | |
454 | ||
a2da3cea JB |
455 | %find_lang %{name} |
456 | ||
457 | %clean | |
458 | rm -rf $RPM_BUILD_ROOT | |
459 | ||
460 | %post -p /sbin/ldconfig | |
461 | %postun -p /sbin/ldconfig | |
462 | ||
12082d70 JB |
463 | %post backend-aqdtaus -p /sbin/ldconfig |
464 | %postun backend-aqdtaus -p /sbin/ldconfig | |
465 | ||
466 | %post backend-aqgeldkarte -p /sbin/ldconfig | |
467 | %postun backend-aqgeldkarte -p /sbin/ldconfig | |
468 | ||
469 | %post backend-aqhbci -p /sbin/ldconfig | |
470 | %postun backend-aqhbci -p /sbin/ldconfig | |
471 | ||
b81d0431 JB |
472 | %post backend-aqnone -p /sbin/ldconfig |
473 | %postun backend-aqnone -p /sbin/ldconfig | |
474 | ||
12082d70 JB |
475 | %post backend-aqofxconnect -p /sbin/ldconfig |
476 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
477 | ||
b81d0431 JB |
478 | %post backend-aqyellownet -p /sbin/ldconfig |
479 | %postun backend-aqyellownet -p /sbin/ldconfig | |
480 | ||
b81d0431 JB |
481 | %post frontend-fbanking -p /sbin/ldconfig |
482 | %postun frontend-fbanking -p /sbin/ldconfig | |
483 | ||
12082d70 JB |
484 | %post frontend-qbanking -p /sbin/ldconfig |
485 | %postun frontend-qbanking -p /sbin/ldconfig | |
486 | ||
a2da3cea JB |
487 | %files -f %{name}.lang |
488 | %defattr(644,root,root,755) | |
489 | %doc ChangeLog ChangeLog README TODO | |
a2da3cea | 490 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
9742c77b | 491 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.20 |
a2da3cea JB |
492 | %dir %{_libdir}/aqbanking |
493 | %dir %{_libdir}/aqbanking/plugins | |
494 | %dir %{_libdir}/aqbanking/plugins/* | |
495 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
496 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
497 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
498 | %dir %{_libdir}/aqbanking/plugins/*/debugger | |
41d66290 AF |
499 | %dir %{_libdir}/aqbanking/plugins/*/frontends |
500 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking | |
501 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules | |
a2da3cea | 502 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
503 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
504 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
505 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
506 | %dir %{_libdir}/aqbanking/plugins/*/wizards | |
a2da3cea JB |
507 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
508 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
9742c77b JB |
509 | %dir %{_datadir}/aqbanking |
510 | %dir %{_datadir}/aqbanking/backends | |
511 | %{_datadir}/aqbanking/bankinfo | |
512 | %dir %{_datadir}/aqbanking/frontends | |
513 | %dir %{_datadir}/aqbanking/i18n | |
514 | %{_datadir}/aqbanking/imexporters | |
a2da3cea JB |
515 | |
516 | %files devel | |
517 | %defattr(644,root,root,755) | |
518 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
519 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
a2da3cea | 520 | %{_libdir}/libaqbanking.la |
a2da3cea | 521 | %{_includedir}/aqbanking |
a2da3cea | 522 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 523 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
524 | |
525 | %files static | |
526 | %defattr(644,root,root,755) | |
527 | %{_libdir}/libaqbanking.a | |
41d66290 | 528 | |
12082d70 JB |
529 | %files backend-aqdtaus |
530 | %defattr(644,root,root,755) | |
531 | %attr(755,root,root) %{_libdir}/libaqdtaus.so.*.*.* | |
9742c77b | 532 | %attr(755,root,root) %ghost %{_libdir}/libaqdtaus.so.4 |
12082d70 | 533 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.so* |
41d66290 | 534 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqdtaus.so* |
12082d70 | 535 | %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.xml |
12082d70 JB |
536 | |
537 | %files backend-aqdtaus-devel | |
538 | %defattr(644,root,root,755) | |
12082d70 JB |
539 | %attr(755,root,root) %{_libdir}/libaqdtaus.so |
540 | %{_libdir}/libaqdtaus.la | |
541 | %{_includedir}/aqdtaus | |
542 | %{_aclocaldir}/aqdtaus.m4 | |
543 | ||
544 | %files backend-aqdtaus-static | |
545 | %defattr(644,root,root,755) | |
546 | %{_libdir}/libaqdtaus.a | |
547 | ||
548 | %if %{with chipcard} | |
549 | %files backend-aqgeldkarte | |
550 | %defattr(644,root,root,755) | |
551 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so.*.*.* | |
9742c77b | 552 | %attr(755,root,root) %ghost %{_libdir}/libaqgeldkarte.so.5 |
12082d70 | 553 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.so* |
41d66290 | 554 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqgeldkarte.so* |
12082d70 | 555 | %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.xml |
12082d70 JB |
556 | |
557 | %files backend-aqgeldkarte-devel | |
558 | %defattr(644,root,root,755) | |
12082d70 JB |
559 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so |
560 | %{_libdir}/libaqgeldkarte.la | |
561 | %{_includedir}/aqgeldkarte | |
562 | %{_aclocaldir}/aqgeldkarte.m4 | |
563 | ||
564 | %files backend-aqgeldkarte-static | |
565 | %defattr(644,root,root,755) | |
566 | %{_libdir}/libaqgeldkarte.a | |
567 | %endif | |
568 | ||
569 | %files backend-aqhbci | |
570 | %defattr(644,root,root,755) | |
9742c77b JB |
571 | %attr(755,root,root) %{_bindir}/aqhbci-tool3 |
572 | %attr(755,root,root) %{_bindir}/hbcixml3 | |
12082d70 | 573 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* |
9742c77b | 574 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.12 |
12082d70 JB |
575 | %dir %{_libdir}/aqbanking/plugins/*/debugger/aqhbci |
576 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug | |
577 | %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml | |
578 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* | |
41d66290 | 579 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqhbci.so* |
12082d70 | 580 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml |
9742c77b | 581 | %{_datadir}/aqbanking/backends/aqhbci |
12082d70 JB |
582 | |
583 | %files backend-aqhbci-devel | |
584 | %defattr(644,root,root,755) | |
12082d70 JB |
585 | %attr(755,root,root) %{_libdir}/libaqhbci.so |
586 | %{_libdir}/libaqhbci.la | |
587 | %{_includedir}/aqhbci | |
12082d70 JB |
588 | |
589 | %files backend-aqhbci-static | |
590 | %defattr(644,root,root,755) | |
591 | %{_libdir}/libaqhbci.a | |
592 | ||
b81d0431 JB |
593 | %files backend-aqnone |
594 | %defattr(644,root,root,755) | |
595 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
9742c77b | 596 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.20 |
b81d0431 JB |
597 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* |
598 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
599 | ||
600 | %files backend-aqnone-devel | |
601 | %defattr(644,root,root,755) | |
602 | %attr(755,root,root) %{_libdir}/libaqnone.so | |
603 | %{_libdir}/libaqnone.la | |
604 | ||
605 | %files backend-aqnone-static | |
606 | %defattr(644,root,root,755) | |
607 | %{_libdir}/libaqnone.a | |
608 | ||
12082d70 JB |
609 | %files backend-aqofxconnect |
610 | %defattr(644,root,root,755) | |
611 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
9742c77b | 612 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.4 |
12082d70 | 613 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* |
41d66290 | 614 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqofxconnect.so* |
12082d70 | 615 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml |
12082d70 JB |
616 | |
617 | %files backend-aqofxconnect-devel | |
618 | %defattr(644,root,root,755) | |
12082d70 JB |
619 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so |
620 | %{_libdir}/libaqofxconnect.la | |
621 | %{_includedir}/aqofxconnect | |
12082d70 JB |
622 | |
623 | %files backend-aqofxconnect-static | |
624 | %defattr(644,root,root,755) | |
625 | %{_libdir}/libaqofxconnect.a | |
626 | ||
b81d0431 JB |
627 | %if %{with yellownet} |
628 | %files backend-aqyellownet | |
629 | %defattr(644,root,root,755) | |
630 | %doc src/plugins/backends/aqyellownet/plugin/COPYING | |
631 | %attr(755,root,root) %{_libdir}/libaqyellownet.so.*.*.* | |
632 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqyellownet.so* | |
633 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqyellownet.so* | |
634 | %{_libdir}/aqbanking/plugins/*/providers/aqyellownet.xml | |
635 | ||
636 | %files backend-aqyellownet-devel | |
637 | %defattr(644,root,root,755) | |
b81d0431 JB |
638 | %attr(755,root,root) %{_libdir}/libaqyellownet.so |
639 | #%{_libdir}/libaqyellownet.la | |
640 | %{_includedir}/aqyellownet | |
641 | %{_aclocaldir}/aqyellownet.m4 | |
642 | ||
643 | #%files backend-aqyellownet-static | |
644 | #%defattr(644,root,root,755) | |
645 | #%{_libdir}/libaqyellownet.a | |
646 | %endif | |
647 | ||
b81d0431 JB |
648 | %if %{with fox} |
649 | %files frontend-fbanking | |
650 | %defattr(644,root,root,755) | |
651 | %attr(755,root,root) %{_libdir}/libfbanking.so.*.*.* | |
9742c77b | 652 | %attr(755,root,root) %ghost %{_libdir}/libfbanking.so.2 |
b81d0431 JB |
653 | |
654 | %files frontend-fbanking-devel | |
655 | %defattr(644,root,root,755) | |
656 | %attr(755,root,root) %{_libdir}/libfbanking.so | |
657 | %{_libdir}/libfbanking.la | |
658 | %{_includedir}/fbanking | |
659 | %{_pkgconfigdir}/fbanking.pc | |
660 | ||
661 | %files frontend-fbanking-static | |
662 | %defattr(644,root,root,755) | |
663 | %{_libdir}/libfbanking.a | |
664 | %endif | |
665 | ||
12082d70 JB |
666 | %files frontend-qbanking |
667 | %defattr(644,root,root,755) | |
9742c77b | 668 | %attr(755,root,root) %{_bindir}/qb-help5 |
12082d70 | 669 | %attr(755,root,root) %{_libdir}/libqbanking.so.*.*.* |
9742c77b | 670 | %attr(755,root,root) %ghost %{_libdir}/libqbanking.so.5 |
3331a4f4 AF |
671 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/wizards/qt3-wizard |
672 | %{_libdir}/aqbanking/plugins/*/wizards/qt3_wizard.xml | |
9742c77b JB |
673 | %dir %{_datadir}/aqbanking/frontends/qbanking |
674 | %dir %{_datadir}/aqbanking/frontends/qbanking/help | |
675 | %lang(de) %{_datadir}/aqbanking/frontends/qbanking/help/de | |
676 | %lang(de) %{_datadir}/aqbanking/i18n/de.qm | |
12082d70 JB |
677 | |
678 | %files frontend-qbanking-devel | |
679 | %defattr(644,root,root,755) | |
12082d70 JB |
680 | %attr(755,root,root) %{_libdir}/libqbanking.so |
681 | %{_libdir}/libqbanking.la | |
682 | %{_includedir}/qbanking | |
12082d70 JB |
683 | |
684 | %files frontend-qbanking-static | |
685 | %defattr(644,root,root,755) | |
686 | %{_libdir}/libqbanking.a | |
687 | ||
a2da3cea JB |
688 | %files -n python-%{name} |
689 | %defattr(644,root,root,755) | |
690 | %dir %{py_sitescriptdir}/aqbanking | |
691 | %{py_sitescriptdir}/aqbanking/*.py[co] |