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