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