]>
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 MWP |
11 | Version: 3.0.1 |
12 | Release: 0.1 | |
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} | |
398 | Requires: python-ctypes | |
12082d70 | 399 | %pyrequires_eq python-libs |
a2da3cea JB |
400 | |
401 | %description -n python-%{name} | |
402 | Python binding for AqBanking library. | |
403 | ||
684f7fee JR |
404 | %description -n python-%{name} -l pl.UTF-8 |
405 | Wiązanie Pythona do biblioteki AqBanking. | |
a2da3cea JB |
406 | |
407 | %prep | |
408 | %setup -q | |
b81d0431 | 409 | %patch0 -p1 |
9ca8ef38 | 410 | %patch1 -p1 |
9742c77b JB |
411 | %patch2 -p1 |
412 | %patch3 -p1 | |
413 | ||
414 | ln -s ../../qbanking/lib/banking.h src/frontends/fbanking/lib | |
415 | ln -s ../../qbanking/lib/banking.cpp src/frontends/fbanking/lib | |
416 | ||
417 | %ifnarch %{ix86} | |
418 | %{?with_yellownet:%{error: yellownet backend is x86-only}exit 1} | |
419 | %endif | |
a2da3cea JB |
420 | |
421 | %build | |
422 | %{__libtoolize} | |
423 | %{__aclocal} -I m4 | |
424 | %{__autoconf} | |
425 | %{__autoheader} | |
426 | %{__automake} | |
427 | %configure \ | |
41d66290 | 428 | --with-qt3-libs=%{_libdir} \ |
a2da3cea JB |
429 | --enable-libofx \ |
430 | --enable-python \ | |
12082d70 | 431 | --enable-static \ |
b81d0431 | 432 | --with-backends="aqhbci aqdtaus%{?with_chipcard: aqgeldkarte} aqofxconnect%{?with_yellownet: aqyellownet}" \ |
9742c77b | 433 | --with-frontends="%{?with_fox:fbanking }qbanking" |
a2da3cea | 434 | |
41d66290 | 435 | %{__make} -j1 |
a2da3cea JB |
436 | |
437 | %install | |
438 | rm -rf $RPM_BUILD_ROOT | |
439 | ||
41d66290 | 440 | %{__make} install -j1 \ |
a2da3cea JB |
441 | DESTDIR=$RPM_BUILD_ROOT |
442 | ||
b81d0431 JB |
443 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} |
444 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/*.{la,a} | |
445 | rm -f $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} | |
a2da3cea JB |
446 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/aqbanking/*.py |
447 | ||
b81d0431 JB |
448 | %if %{with yellownet} |
449 | # soname is libaqyellownet.so.0 | |
450 | mv $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.{so,so.0.0.0} | |
451 | ln -sf libaqyellownet.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.so | |
452 | %endif | |
453 | ||
a2da3cea JB |
454 | %find_lang %{name} |
455 | ||
456 | %clean | |
457 | rm -rf $RPM_BUILD_ROOT | |
458 | ||
459 | %post -p /sbin/ldconfig | |
460 | %postun -p /sbin/ldconfig | |
461 | ||
12082d70 JB |
462 | %post backend-aqdtaus -p /sbin/ldconfig |
463 | %postun backend-aqdtaus -p /sbin/ldconfig | |
464 | ||
465 | %post backend-aqgeldkarte -p /sbin/ldconfig | |
466 | %postun backend-aqgeldkarte -p /sbin/ldconfig | |
467 | ||
468 | %post backend-aqhbci -p /sbin/ldconfig | |
469 | %postun backend-aqhbci -p /sbin/ldconfig | |
470 | ||
b81d0431 JB |
471 | %post backend-aqnone -p /sbin/ldconfig |
472 | %postun backend-aqnone -p /sbin/ldconfig | |
473 | ||
12082d70 JB |
474 | %post backend-aqofxconnect -p /sbin/ldconfig |
475 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
476 | ||
b81d0431 JB |
477 | %post backend-aqyellownet -p /sbin/ldconfig |
478 | %postun backend-aqyellownet -p /sbin/ldconfig | |
479 | ||
b81d0431 JB |
480 | %post frontend-fbanking -p /sbin/ldconfig |
481 | %postun frontend-fbanking -p /sbin/ldconfig | |
482 | ||
12082d70 JB |
483 | %post frontend-qbanking -p /sbin/ldconfig |
484 | %postun frontend-qbanking -p /sbin/ldconfig | |
485 | ||
a2da3cea JB |
486 | %files -f %{name}.lang |
487 | %defattr(644,root,root,755) | |
488 | %doc ChangeLog ChangeLog README TODO | |
a2da3cea | 489 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
9742c77b | 490 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.20 |
a2da3cea JB |
491 | %dir %{_libdir}/aqbanking |
492 | %dir %{_libdir}/aqbanking/plugins | |
493 | %dir %{_libdir}/aqbanking/plugins/* | |
494 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
495 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
496 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
497 | %dir %{_libdir}/aqbanking/plugins/*/debugger | |
41d66290 AF |
498 | %dir %{_libdir}/aqbanking/plugins/*/frontends |
499 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking | |
500 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules | |
a2da3cea | 501 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
502 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
503 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
504 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
505 | %dir %{_libdir}/aqbanking/plugins/*/wizards | |
a2da3cea JB |
506 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
507 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
9742c77b JB |
508 | %dir %{_datadir}/aqbanking |
509 | %dir %{_datadir}/aqbanking/backends | |
510 | %{_datadir}/aqbanking/bankinfo | |
511 | %dir %{_datadir}/aqbanking/frontends | |
512 | %dir %{_datadir}/aqbanking/i18n | |
513 | %{_datadir}/aqbanking/imexporters | |
a2da3cea JB |
514 | |
515 | %files devel | |
516 | %defattr(644,root,root,755) | |
517 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
518 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
a2da3cea | 519 | %{_libdir}/libaqbanking.la |
a2da3cea | 520 | %{_includedir}/aqbanking |
a2da3cea | 521 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 522 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
523 | |
524 | %files static | |
525 | %defattr(644,root,root,755) | |
526 | %{_libdir}/libaqbanking.a | |
41d66290 | 527 | |
12082d70 JB |
528 | %files backend-aqdtaus |
529 | %defattr(644,root,root,755) | |
530 | %attr(755,root,root) %{_libdir}/libaqdtaus.so.*.*.* | |
9742c77b | 531 | %attr(755,root,root) %ghost %{_libdir}/libaqdtaus.so.4 |
12082d70 | 532 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.so* |
41d66290 | 533 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqdtaus.so* |
12082d70 | 534 | %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.xml |
12082d70 JB |
535 | |
536 | %files backend-aqdtaus-devel | |
537 | %defattr(644,root,root,755) | |
12082d70 JB |
538 | %attr(755,root,root) %{_libdir}/libaqdtaus.so |
539 | %{_libdir}/libaqdtaus.la | |
540 | %{_includedir}/aqdtaus | |
541 | %{_aclocaldir}/aqdtaus.m4 | |
542 | ||
543 | %files backend-aqdtaus-static | |
544 | %defattr(644,root,root,755) | |
545 | %{_libdir}/libaqdtaus.a | |
546 | ||
547 | %if %{with chipcard} | |
548 | %files backend-aqgeldkarte | |
549 | %defattr(644,root,root,755) | |
550 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so.*.*.* | |
9742c77b | 551 | %attr(755,root,root) %ghost %{_libdir}/libaqgeldkarte.so.5 |
12082d70 | 552 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.so* |
41d66290 | 553 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqgeldkarte.so* |
12082d70 | 554 | %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.xml |
12082d70 JB |
555 | |
556 | %files backend-aqgeldkarte-devel | |
557 | %defattr(644,root,root,755) | |
12082d70 JB |
558 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so |
559 | %{_libdir}/libaqgeldkarte.la | |
560 | %{_includedir}/aqgeldkarte | |
561 | %{_aclocaldir}/aqgeldkarte.m4 | |
562 | ||
563 | %files backend-aqgeldkarte-static | |
564 | %defattr(644,root,root,755) | |
565 | %{_libdir}/libaqgeldkarte.a | |
566 | %endif | |
567 | ||
568 | %files backend-aqhbci | |
569 | %defattr(644,root,root,755) | |
9742c77b JB |
570 | %attr(755,root,root) %{_bindir}/aqhbci-tool3 |
571 | %attr(755,root,root) %{_bindir}/hbcixml3 | |
12082d70 | 572 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* |
9742c77b | 573 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.12 |
12082d70 JB |
574 | %dir %{_libdir}/aqbanking/plugins/*/debugger/aqhbci |
575 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug | |
576 | %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml | |
577 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* | |
41d66290 | 578 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqhbci.so* |
12082d70 | 579 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml |
9742c77b | 580 | %{_datadir}/aqbanking/backends/aqhbci |
12082d70 JB |
581 | |
582 | %files backend-aqhbci-devel | |
583 | %defattr(644,root,root,755) | |
12082d70 JB |
584 | %attr(755,root,root) %{_libdir}/libaqhbci.so |
585 | %{_libdir}/libaqhbci.la | |
586 | %{_includedir}/aqhbci | |
12082d70 JB |
587 | |
588 | %files backend-aqhbci-static | |
589 | %defattr(644,root,root,755) | |
590 | %{_libdir}/libaqhbci.a | |
591 | ||
b81d0431 JB |
592 | %files backend-aqnone |
593 | %defattr(644,root,root,755) | |
594 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
9742c77b | 595 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.20 |
b81d0431 JB |
596 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* |
597 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
598 | ||
599 | %files backend-aqnone-devel | |
600 | %defattr(644,root,root,755) | |
601 | %attr(755,root,root) %{_libdir}/libaqnone.so | |
602 | %{_libdir}/libaqnone.la | |
603 | ||
604 | %files backend-aqnone-static | |
605 | %defattr(644,root,root,755) | |
606 | %{_libdir}/libaqnone.a | |
607 | ||
12082d70 JB |
608 | %files backend-aqofxconnect |
609 | %defattr(644,root,root,755) | |
610 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
9742c77b | 611 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.4 |
12082d70 | 612 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* |
41d66290 | 613 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqofxconnect.so* |
12082d70 | 614 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml |
12082d70 JB |
615 | |
616 | %files backend-aqofxconnect-devel | |
617 | %defattr(644,root,root,755) | |
12082d70 JB |
618 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so |
619 | %{_libdir}/libaqofxconnect.la | |
620 | %{_includedir}/aqofxconnect | |
12082d70 JB |
621 | |
622 | %files backend-aqofxconnect-static | |
623 | %defattr(644,root,root,755) | |
624 | %{_libdir}/libaqofxconnect.a | |
625 | ||
b81d0431 JB |
626 | %if %{with yellownet} |
627 | %files backend-aqyellownet | |
628 | %defattr(644,root,root,755) | |
629 | %doc src/plugins/backends/aqyellownet/plugin/COPYING | |
630 | %attr(755,root,root) %{_libdir}/libaqyellownet.so.*.*.* | |
631 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqyellownet.so* | |
632 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqyellownet.so* | |
633 | %{_libdir}/aqbanking/plugins/*/providers/aqyellownet.xml | |
634 | ||
635 | %files backend-aqyellownet-devel | |
636 | %defattr(644,root,root,755) | |
b81d0431 JB |
637 | %attr(755,root,root) %{_libdir}/libaqyellownet.so |
638 | #%{_libdir}/libaqyellownet.la | |
639 | %{_includedir}/aqyellownet | |
640 | %{_aclocaldir}/aqyellownet.m4 | |
641 | ||
642 | #%files backend-aqyellownet-static | |
643 | #%defattr(644,root,root,755) | |
644 | #%{_libdir}/libaqyellownet.a | |
645 | %endif | |
646 | ||
b81d0431 JB |
647 | %if %{with fox} |
648 | %files frontend-fbanking | |
649 | %defattr(644,root,root,755) | |
650 | %attr(755,root,root) %{_libdir}/libfbanking.so.*.*.* | |
9742c77b | 651 | %attr(755,root,root) %ghost %{_libdir}/libfbanking.so.2 |
b81d0431 JB |
652 | |
653 | %files frontend-fbanking-devel | |
654 | %defattr(644,root,root,755) | |
655 | %attr(755,root,root) %{_libdir}/libfbanking.so | |
656 | %{_libdir}/libfbanking.la | |
657 | %{_includedir}/fbanking | |
658 | %{_pkgconfigdir}/fbanking.pc | |
659 | ||
660 | %files frontend-fbanking-static | |
661 | %defattr(644,root,root,755) | |
662 | %{_libdir}/libfbanking.a | |
663 | %endif | |
664 | ||
12082d70 JB |
665 | %files frontend-qbanking |
666 | %defattr(644,root,root,755) | |
9742c77b | 667 | %attr(755,root,root) %{_bindir}/qb-help5 |
12082d70 | 668 | %attr(755,root,root) %{_libdir}/libqbanking.so.*.*.* |
9742c77b | 669 | %attr(755,root,root) %ghost %{_libdir}/libqbanking.so.5 |
3331a4f4 AF |
670 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/wizards/qt3-wizard |
671 | %{_libdir}/aqbanking/plugins/*/wizards/qt3_wizard.xml | |
9742c77b JB |
672 | %dir %{_datadir}/aqbanking/frontends/qbanking |
673 | %dir %{_datadir}/aqbanking/frontends/qbanking/help | |
674 | %lang(de) %{_datadir}/aqbanking/frontends/qbanking/help/de | |
675 | %lang(de) %{_datadir}/aqbanking/i18n/de.qm | |
12082d70 JB |
676 | |
677 | %files frontend-qbanking-devel | |
678 | %defattr(644,root,root,755) | |
12082d70 JB |
679 | %attr(755,root,root) %{_libdir}/libqbanking.so |
680 | %{_libdir}/libqbanking.la | |
681 | %{_includedir}/qbanking | |
12082d70 JB |
682 | |
683 | %files frontend-qbanking-static | |
684 | %defattr(644,root,root,755) | |
685 | %{_libdir}/libqbanking.a | |
686 | ||
a2da3cea JB |
687 | %files -n python-%{name} |
688 | %defattr(644,root,root,755) | |
689 | %dir %{py_sitescriptdir}/aqbanking | |
690 | %{py_sitescriptdir}/aqbanking/*.py[co] |