]>
Commit | Line | Data |
---|---|---|
12082d70 | 1 | # |
41d66290 AF |
2 | # TODO: |
3 | # - fix building without chipcard (aclocal fail) | |
4 | # - add aqbanking-backend-aqnone-devel and aqbanking-backend-aqnone-static subpackages | |
5 | # | |
12082d70 | 6 | # Conditional build: |
41d66290 | 7 | %bcond_without chipcard # aqgeldkarte backend |
9ca8ef38 JB |
8 | %bcond_without gtk # g2banking frontend |
9 | %bcond_without kde # kbanking frontend | |
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 |
41d66290 AF |
14 | Version: 2.3.2 |
15 | Release: 0.1 | |
a2da3cea JB |
16 | License: GPL v2 |
17 | Group: Libraries | |
18 | Source0: http://dl.sourceforge.net/aqbanking/%{name}-%{version}.tar.gz | |
41d66290 | 19 | # Source0-md5: ae34fc0c0e8f3b92728c4c6a36cc7697 |
a2da3cea | 20 | Patch0: %{name}-link.patch |
41d66290 AF |
21 | Patch1: %{name}-nobash.patch |
22 | #Patch2: %{name}-libsuffix.patch | |
a2da3cea JB |
23 | URL: http://www.aquamaniac.de/aqbanking/ |
24 | BuildRequires: autoconf >= 2.56 | |
25 | BuildRequires: automake | |
26 | BuildRequires: gettext-devel | |
41d66290 AF |
27 | BuildRequires: gwenhywfar-devel >= 2.3.0 |
28 | %if %{with gtk} | |
29 | BuildRequires: gtk+2-devel >= 2.0.0 | |
30 | BuildRequires: libglade2 >= 2.0.0 | |
31 | %endif | |
12082d70 | 32 | %{?with_kde:BuildRequires: kdelibs-devel >= 3.0} |
a2da3cea | 33 | BuildRequires: ktoblzcheck-devel |
41d66290 | 34 | %{?with_chipcard:BuildRequires: libchipcard3-devel >= 3.0.0} |
12082d70 | 35 | BuildRequires: libofx-devel >= 0.8.0 |
a2da3cea JB |
36 | BuildRequires: libstdc++-devel |
37 | BuildRequires: libtool >= 2:1.5 | |
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 | # for libaqbankingpp only |
70 | #Requires: libstdc++-devel | |
71 | ||
72 | %description devel | |
73 | Header files for AqBanking library. | |
74 | ||
684f7fee JR |
75 | %description devel -l pl.UTF-8 |
76 | Pliki nagłówkowe biblioteki AqBanking. | |
a2da3cea JB |
77 | |
78 | %package static | |
79 | Summary: Static AqBanking libraries | |
b5aeef67 | 80 | Summary(pl.UTF-8): Statyczne biblioteki AqBanking |
a2da3cea JB |
81 | Group: Development/Libraries |
82 | Requires: %{name}-devel = %{version}-%{release} | |
83 | ||
84 | %description static | |
85 | Static AqBanking libraries. | |
86 | ||
684f7fee | 87 | %description static -l pl.UTF-8 |
a2da3cea JB |
88 | Statyczne biblioteki AqBanking. |
89 | ||
41d66290 AF |
90 | %package backend-aqnone |
91 | Summary: Aqnone backend for AqBanking library | |
92 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
93 | Group: Libraries | |
94 | Requires: %{name} = %{version}-%{release} | |
95 | ||
96 | %description backend-aqnone | |
97 | Aqnone backend for AqBanking library. | |
98 | ||
99 | %description backend-aqnone -l pl.UTF-8 | |
100 | Backend Aqnone dla biblioteki AqBanking. | |
101 | ||
12082d70 JB |
102 | %package backend-aqdtaus |
103 | Summary: AqDTAUS backend for AqBanking library | |
b5aeef67 | 104 | Summary(pl.UTF-8): Backend AqDTAUS dla biblioteki AqBanking |
12082d70 JB |
105 | Group: Libraries |
106 | Requires: %{name} = %{version}-%{release} | |
107 | ||
108 | %description backend-aqdtaus | |
109 | AqDTAUS backend for AqBanking library. | |
110 | ||
684f7fee | 111 | %description backend-aqdtaus -l pl.UTF-8 |
12082d70 JB |
112 | Backend AqDTAUS dla biblioteki AqBanking. |
113 | ||
114 | %package backend-aqdtaus-devel | |
115 | Summary: Header files for AqDTAUS backend library | |
b5aeef67 | 116 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqDTAUS |
12082d70 JB |
117 | Group: Development/Libraries |
118 | Requires: %{name}-backend-aqdtaus = %{version}-%{release} | |
119 | Requires: %{name}-devel = %{version}-%{release} | |
120 | ||
121 | %description backend-aqdtaus-devel | |
122 | Header files for AqDTAUS backend library. | |
123 | ||
684f7fee JR |
124 | %description backend-aqdtaus-devel -l pl.UTF-8 |
125 | Pliki nagłówkowe biblioteki backendu AqDTAUS. | |
12082d70 JB |
126 | |
127 | %package backend-aqdtaus-static | |
128 | Summary: Static AqDTAUS backend library | |
b5aeef67 | 129 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqDTAUS |
12082d70 JB |
130 | Group: Development/Libraries |
131 | Requires: %{name}-backend-aqdtaus-devel = %{version}-%{release} | |
132 | ||
133 | %description backend-aqdtaus-static | |
134 | Static AqDTAUS backend library. | |
135 | ||
684f7fee | 136 | %description backend-aqdtaus-static -l pl.UTF-8 |
12082d70 JB |
137 | Statyczna biblioteka backendu AqDTAUS. |
138 | ||
139 | %package backend-aqgeldkarte | |
140 | Summary: AqGeldKarte backend for AqBanking library | |
b5aeef67 | 141 | Summary(pl.UTF-8): Backend AqGeldKarte dla biblioteki AqBanking |
12082d70 JB |
142 | Group: Libraries |
143 | Requires: %{name} = %{version}-%{release} | |
144 | ||
145 | %description backend-aqgeldkarte | |
146 | AqGeldKarte backend for AqBanking library. | |
147 | ||
684f7fee | 148 | %description backend-aqgeldkarte -l pl.UTF-8 |
12082d70 JB |
149 | Backend AqGeldKarte dla biblioteki AqBanking. |
150 | ||
151 | %package backend-aqgeldkarte-devel | |
152 | Summary: Header files for AqGeldKarte backend library | |
b5aeef67 | 153 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqGeldKarte |
12082d70 JB |
154 | Group: Development/Libraries |
155 | Requires: %{name}-backend-aqgeldkarte = %{version}-%{release} | |
156 | Requires: %{name}-devel = %{version}-%{release} | |
157 | Requires: libchipcard2-devel >= 1.9.15 | |
158 | ||
159 | %description backend-aqgeldkarte-devel | |
160 | Header files for AqGeldKarte backend library. | |
161 | ||
684f7fee JR |
162 | %description backend-aqgeldkarte-devel -l pl.UTF-8 |
163 | Pliki nagłówkowe biblioteki backendu AqGeldKarte. | |
12082d70 JB |
164 | |
165 | %package backend-aqgeldkarte-static | |
166 | Summary: Static AqGeldKarte backend library | |
b5aeef67 | 167 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqGeldKarte |
12082d70 JB |
168 | Group: Development/Libraries |
169 | Requires: %{name}-backend-aqgeldkarte-devel = %{version}-%{release} | |
170 | ||
171 | %description backend-aqgeldkarte-static | |
172 | Static AqGeldKarte backend library. | |
173 | ||
684f7fee | 174 | %description backend-aqgeldkarte-static -l pl.UTF-8 |
12082d70 JB |
175 | Statyczna biblioteka backendu AqGeldKarte. |
176 | ||
177 | %package backend-aqhbci | |
178 | Summary: AqHBCI backend for AqBanking library | |
b5aeef67 | 179 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking |
12082d70 JB |
180 | Group: Libraries |
181 | Requires: %{name} = %{version}-%{release} | |
182 | ||
183 | %description backend-aqhbci | |
184 | AqHBCI backend for AqBanking library. | |
185 | ||
684f7fee | 186 | %description backend-aqhbci -l pl.UTF-8 |
12082d70 JB |
187 | Backend AqHBCI dla biblioteki AqBanking. |
188 | ||
189 | %package backend-aqhbci-devel | |
190 | Summary: Header files for AqHBCI backend library | |
b5aeef67 | 191 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqHBCI |
12082d70 JB |
192 | Group: Development/Libraries |
193 | Requires: %{name}-backend-aqhbci = %{version}-%{release} | |
194 | Requires: %{name}-devel = %{version}-%{release} | |
195 | ||
196 | %description backend-aqhbci-devel | |
197 | Header files for AqHBCI backend library. | |
198 | ||
684f7fee JR |
199 | %description backend-aqhbci-devel -l pl.UTF-8 |
200 | Pliki nagłówkowe biblioteki backendu AqHBCI. | |
12082d70 JB |
201 | |
202 | %package backend-aqhbci-static | |
203 | Summary: Static AqHBCI backend library | |
b5aeef67 | 204 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqHBCI |
12082d70 JB |
205 | Group: Development/Libraries |
206 | Requires: %{name}-backend-aqhbci-devel = %{version}-%{release} | |
207 | ||
208 | %description backend-aqhbci-static | |
209 | Static AqHBCI backend library. | |
210 | ||
684f7fee | 211 | %description backend-aqhbci-static -l pl.UTF-8 |
12082d70 JB |
212 | Statyczna biblioteka backendu AqHBCI. |
213 | ||
214 | %package backend-aqofxconnect | |
215 | Summary: AqOFXConnect backend for AqBanking library | |
b5aeef67 | 216 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking |
12082d70 JB |
217 | Group: Libraries |
218 | Requires: %{name} = %{version}-%{release} | |
219 | ||
220 | %description backend-aqofxconnect | |
221 | AqOFXConnect backend for AqBanking library. | |
222 | ||
684f7fee | 223 | %description backend-aqofxconnect -l pl.UTF-8 |
12082d70 JB |
224 | Backend AqOFXConnect dla biblioteki AqBanking. |
225 | ||
226 | %package backend-aqofxconnect-devel | |
227 | Summary: Header files for AqOFXConnect backend library | |
b5aeef67 | 228 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqOFXConnect |
12082d70 JB |
229 | Group: Development/Libraries |
230 | Requires: %{name}-backend-aqofxconnect = %{version}-%{release} | |
231 | Requires: libofx-devel >= 0.8.0 | |
232 | ||
233 | %description backend-aqofxconnect-devel | |
234 | Header files for AqOFXConnect backend library. | |
235 | ||
684f7fee JR |
236 | %description backend-aqofxconnect-devel -l pl.UTF-8 |
237 | Pliki nagłówkowe biblioteki backendu AqOFXConnect. | |
12082d70 JB |
238 | |
239 | %package backend-aqofxconnect-static | |
240 | Summary: Static AqOFXConnect backend library | |
b5aeef67 | 241 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqOFXConnect |
12082d70 JB |
242 | Group: Development/Libraries |
243 | Requires: %{name}-backend-aqofxconnect-devel = %{version}-%{release} | |
244 | ||
245 | %description backend-aqofxconnect-static | |
246 | Static AqOFXConnect backend library. | |
247 | ||
684f7fee | 248 | %description backend-aqofxconnect-static -l pl.UTF-8 |
12082d70 JB |
249 | Statyczna biblioteka backendu AqOFXConnect. |
250 | ||
251 | %package frontend-cbanking | |
252 | Summary: Cbanking frontend for AqBanking library | |
b5aeef67 | 253 | Summary(pl.UTF-8): Frontend Cbanking dla biblioteki AqBanking |
12082d70 JB |
254 | Group: Libraries |
255 | Requires: %{name} = %{version}-%{release} | |
256 | ||
257 | %description frontend-cbanking | |
258 | Cbanking frontend for AqBanking library. | |
259 | ||
684f7fee | 260 | %description frontend-cbanking -l pl.UTF-8 |
12082d70 JB |
261 | Frontend Cbanking dla biblioteki AqBanking. |
262 | ||
263 | %package frontend-cbanking-devel | |
264 | Summary: Header files for Cbanking frontend library | |
b5aeef67 | 265 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu Cbanking |
12082d70 JB |
266 | Group: Development/Libraries |
267 | Requires: %{name}-devel = %{version}-%{release} | |
268 | Requires: %{name}-frontend-cbanking = %{version}-%{release} | |
269 | ||
270 | %description frontend-cbanking-devel | |
271 | Header files for Cbanking frontend library. | |
272 | ||
684f7fee JR |
273 | %description frontend-cbanking-devel -l pl.UTF-8 |
274 | Pliki nagłówkowe biblioteki frontendu Cbanking. | |
12082d70 JB |
275 | |
276 | %package frontend-cbanking-static | |
277 | Summary: Static Cbanking frontend library | |
b5aeef67 | 278 | Summary(pl.UTF-8): Statyczna biblioteka frontendu Cbanking |
12082d70 JB |
279 | Group: Development/Libraries |
280 | Requires: %{name}-frontend-cbanking-devel = %{version}-%{release} | |
281 | ||
282 | %description frontend-cbanking-static | |
283 | Static Cbanking frontend library. | |
284 | ||
684f7fee | 285 | %description frontend-cbanking-static -l pl.UTF-8 |
12082d70 JB |
286 | Statyczna biblioteka frontendu Cbanking. |
287 | ||
288 | %package frontend-g2banking | |
289 | Summary: G2Banking - GTK+ based frontend for AqBanking library | |
b5aeef67 | 290 | Summary(pl.UTF-8): G2Bbanking - oparty na GTK+ frontend dla biblioteki AqBanking |
12082d70 JB |
291 | Group: Libraries |
292 | Requires: %{name} = %{version}-%{release} | |
293 | ||
294 | %description frontend-g2banking | |
295 | G2Banking - GTK+ based frontend for AqBanking library. | |
296 | ||
684f7fee | 297 | %description frontend-g2banking -l pl.UTF-8 |
12082d70 JB |
298 | G2Bbanking - oparty na GTK+ frontend dla biblioteki AqBanking. |
299 | ||
300 | %package frontend-g2banking-devel | |
301 | Summary: Header files for G2Banking frontend library | |
b5aeef67 | 302 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu G2Banking |
12082d70 JB |
303 | Group: Development/Libraries |
304 | Requires: %{name}-devel = %{version}-%{release} | |
305 | Requires: %{name}-frontend-g2banking = %{version}-%{release} | |
306 | Requires: gtk+2-devel >= 2.0.0 | |
307 | ||
308 | %description frontend-g2banking-devel | |
309 | Header files for G2Banking frontend library. | |
310 | ||
684f7fee JR |
311 | %description frontend-g2banking-devel -l pl.UTF-8 |
312 | Pliki nagłówkowe biblioteki frontendu G2Banking. | |
12082d70 JB |
313 | |
314 | %package frontend-g2banking-static | |
315 | Summary: Static G2Banking frontend library | |
b5aeef67 | 316 | Summary(pl.UTF-8): Statyczna biblioteka frontendu G2Banking |
12082d70 JB |
317 | Group: Development/Libraries |
318 | Requires: %{name}-frontend-g2banking-devel = %{version}-%{release} | |
319 | ||
320 | %description frontend-g2banking-static | |
321 | Static G2Banking frontend library. | |
322 | ||
684f7fee | 323 | %description frontend-g2banking-static -l pl.UTF-8 |
12082d70 JB |
324 | Statyczna biblioteka frontendu G2Banking. |
325 | ||
326 | %package frontend-kbanking | |
327 | Summary: KBanking - KDE-based frontend for AqBanking library | |
b5aeef67 | 328 | Summary(pl.UTF-8): KBanking - oparty na KDE frontend dla biblioteki AqBanking |
12082d70 JB |
329 | Group: Libraries |
330 | Requires: %{name}-frontend-qbanking = %{version}-%{release} | |
331 | ||
332 | %description frontend-kbanking | |
333 | KBanking - KDE-based frontend for AqBanking library. | |
334 | ||
684f7fee | 335 | %description frontend-kbanking -l pl.UTF-8 |
12082d70 JB |
336 | KBanking - oparty na KDE frontend dla biblioteki AqBanking. |
337 | ||
338 | %package frontend-kbanking-devel | |
339 | Summary: Header files for KBanking frontend library | |
b5aeef67 | 340 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu KBanking |
12082d70 JB |
341 | Group: Development/Libraries |
342 | Requires: %{name}-frontend-kbanking = %{version}-%{release} | |
343 | Requires: %{name}-frontend-qbanking-devel = %{version}-%{release} | |
344 | Requires: kdelibs-devel >= 3.0 | |
345 | ||
346 | %description frontend-kbanking-devel | |
347 | Header files for KBanking frontend library. | |
348 | ||
684f7fee JR |
349 | %description frontend-kbanking-devel -l pl.UTF-8 |
350 | Pliki nagłówkowe biblioteki frontendu KBanking. | |
12082d70 JB |
351 | |
352 | %package frontend-kbanking-static | |
353 | Summary: Static KBanking frontend library | |
b5aeef67 | 354 | Summary(pl.UTF-8): Statyczna biblioteka frontendu KBanking |
12082d70 JB |
355 | Group: Development/Libraries |
356 | Requires: %{name}-frontend-kbanking-devel = %{version}-%{release} | |
357 | ||
358 | %description frontend-kbanking-static | |
359 | Static KBanking frontend library. | |
360 | ||
684f7fee | 361 | %description frontend-kbanking-static -l pl.UTF-8 |
12082d70 JB |
362 | Statyczna biblioteka frontendu KBanking. |
363 | ||
364 | %package frontend-qbanking | |
365 | Summary: QBanking - Qt-based frontend for AqBanking library | |
b5aeef67 | 366 | Summary(pl.UTF-8): QBanking - oparty na Qt frontend dla biblioteki AqBanking |
12082d70 JB |
367 | Group: Libraries |
368 | Requires: %{name} = %{version}-%{release} | |
369 | ||
370 | %description frontend-qbanking | |
371 | QBanking - Qt-based frontend for AqBanking library. | |
372 | ||
684f7fee | 373 | %description frontend-qbanking -l pl.UTF-8 |
12082d70 JB |
374 | QBanking - oparty na Qt frontend dla biblioteki AqBanking. |
375 | ||
376 | %package frontend-qbanking-devel | |
377 | Summary: Header files for QBanking frontend library | |
b5aeef67 | 378 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frontendu QBanking |
12082d70 JB |
379 | Group: Development/Libraries |
380 | Requires: %{name}-devel = %{version}-%{release} | |
381 | Requires: %{name}-frontend-qbanking = %{version}-%{release} | |
b537037a | 382 | Requires: qt-devel >= 1:3.0 |
12082d70 JB |
383 | |
384 | %description frontend-qbanking-devel | |
385 | Header files for QBanking frontend library. | |
386 | ||
684f7fee JR |
387 | %description frontend-qbanking-devel -l pl.UTF-8 |
388 | Pliki nagłówkowe biblioteki frontendu QBanking. | |
12082d70 JB |
389 | |
390 | %package frontend-qbanking-static | |
391 | Summary: Static QBanking frontend library | |
b5aeef67 | 392 | Summary(pl.UTF-8): Statyczna biblioteka frontendu QBanking |
12082d70 JB |
393 | Group: Development/Libraries |
394 | Requires: %{name}-frontend-qbanking-devel = %{version}-%{release} | |
395 | ||
396 | %description frontend-qbanking-static | |
397 | Static QBanking frontend library. | |
398 | ||
684f7fee | 399 | %description frontend-qbanking-static -l pl.UTF-8 |
12082d70 JB |
400 | Statyczna biblioteka frontendu QBanking. |
401 | ||
a2da3cea JB |
402 | %package -n python-%{name} |
403 | Summary: Python binding for AqBanking library | |
b5aeef67 | 404 | Summary(pl.UTF-8): Wiązanie Pythona do biblioteki AqBanking |
a2da3cea JB |
405 | Group: Development/Languages/Python |
406 | Requires: %{name} = %{version}-%{release} | |
407 | Requires: python-ctypes | |
12082d70 | 408 | %pyrequires_eq python-libs |
a2da3cea JB |
409 | |
410 | %description -n python-%{name} | |
411 | Python binding for AqBanking library. | |
412 | ||
684f7fee JR |
413 | %description -n python-%{name} -l pl.UTF-8 |
414 | Wiązanie Pythona do biblioteki AqBanking. | |
a2da3cea JB |
415 | |
416 | %prep | |
417 | %setup -q | |
41d66290 | 418 | #patch0 -p1 |
9ca8ef38 | 419 | %patch1 -p1 |
41d66290 | 420 | #patch2 -p1 |
a2da3cea JB |
421 | |
422 | %build | |
423 | %{__libtoolize} | |
424 | %{__aclocal} -I m4 | |
425 | %{__autoconf} | |
426 | %{__autoheader} | |
427 | %{__automake} | |
428 | %configure \ | |
12082d70 | 429 | %{!?with_kde:--disable-kde3} \ |
41d66290 AF |
430 | %{?with_kde:--with-kde3-libs=%{_libdir}} \ |
431 | --with-qt3-libs=%{_libdir} \ | |
a2da3cea JB |
432 | --enable-libofx \ |
433 | --enable-python \ | |
12082d70 JB |
434 | --enable-static \ |
435 | --with-backends="aqhbci aqdtaus%{?with_chipcard: aqgeldkarte} aqofxconnect" \ | |
436 | --with-frontends="cbanking%{?with_gtk: g2banking} qbanking%{?with_kde: kbanking}" | |
a2da3cea | 437 | |
41d66290 | 438 | %{__make} -j1 |
a2da3cea JB |
439 | |
440 | %install | |
441 | rm -rf $RPM_BUILD_ROOT | |
442 | ||
41d66290 | 443 | %{__make} install -j1 \ |
a2da3cea JB |
444 | DESTDIR=$RPM_BUILD_ROOT |
445 | ||
446 | rm -f $RPM_BUILD_ROOT%{_libdir}/*/plugins/*/*/*.{la,a} | |
447 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/aqbanking/*.py | |
448 | ||
449 | %find_lang %{name} | |
450 | ||
451 | %clean | |
452 | rm -rf $RPM_BUILD_ROOT | |
453 | ||
454 | %post -p /sbin/ldconfig | |
455 | %postun -p /sbin/ldconfig | |
456 | ||
12082d70 JB |
457 | %post backend-aqdtaus -p /sbin/ldconfig |
458 | %postun backend-aqdtaus -p /sbin/ldconfig | |
459 | ||
460 | %post backend-aqgeldkarte -p /sbin/ldconfig | |
461 | %postun backend-aqgeldkarte -p /sbin/ldconfig | |
462 | ||
463 | %post backend-aqhbci -p /sbin/ldconfig | |
464 | %postun backend-aqhbci -p /sbin/ldconfig | |
465 | ||
466 | %post backend-aqofxconnect -p /sbin/ldconfig | |
467 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
468 | ||
469 | %post frontend-cbanking -p /sbin/ldconfig | |
470 | %postun frontend-cbanking -p /sbin/ldconfig | |
471 | ||
472 | %post frontend-g2banking -p /sbin/ldconfig | |
473 | %postun frontend-g2banking -p /sbin/ldconfig | |
474 | ||
475 | %post frontend-kbanking -p /sbin/ldconfig | |
476 | %postun frontend-kbanking -p /sbin/ldconfig | |
477 | ||
478 | %post frontend-qbanking -p /sbin/ldconfig | |
479 | %postun frontend-qbanking -p /sbin/ldconfig | |
480 | ||
a2da3cea JB |
481 | %files -f %{name}.lang |
482 | %defattr(644,root,root,755) | |
483 | %doc ChangeLog ChangeLog README TODO | |
a2da3cea | 484 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* |
a2da3cea JB |
485 | %dir %{_libdir}/aqbanking |
486 | %dir %{_libdir}/aqbanking/plugins | |
487 | %dir %{_libdir}/aqbanking/plugins/* | |
488 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
12082d70 JB |
489 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* |
490 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
491 | %dir %{_libdir}/aqbanking/plugins/*/debugger | |
41d66290 AF |
492 | %dir %{_libdir}/aqbanking/plugins/*/frontends |
493 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking | |
494 | %dir %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules | |
a2da3cea | 495 | %dir %{_libdir}/aqbanking/plugins/*/imexporters |
12082d70 JB |
496 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* |
497 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
498 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
499 | %dir %{_libdir}/aqbanking/plugins/*/wizards | |
a2da3cea JB |
500 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* |
501 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
502 | %{_datadir}/aqbanking | |
503 | ||
504 | %files devel | |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
507 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
a2da3cea | 508 | %{_libdir}/libaqbanking.la |
a2da3cea | 509 | %{_includedir}/aqbanking |
a2da3cea | 510 | %{_aclocaldir}/aqbanking.m4 |
12082d70 | 511 | %{_pkgconfigdir}/aqbanking.pc |
a2da3cea JB |
512 | |
513 | %files static | |
514 | %defattr(644,root,root,755) | |
515 | %{_libdir}/libaqbanking.a | |
41d66290 AF |
516 | |
517 | %files backend-aqnone | |
518 | %defattr(644,root,root,755) | |
519 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
520 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* | |
521 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
a2da3cea | 522 | |
12082d70 JB |
523 | %files backend-aqdtaus |
524 | %defattr(644,root,root,755) | |
525 | %attr(755,root,root) %{_libdir}/libaqdtaus.so.*.*.* | |
526 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.so* | |
41d66290 | 527 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqdtaus.so* |
12082d70 | 528 | %{_libdir}/aqbanking/plugins/*/providers/aqdtaus.xml |
12082d70 JB |
529 | |
530 | %files backend-aqdtaus-devel | |
531 | %defattr(644,root,root,755) | |
532 | %attr(755,root,root) %{_bindir}/aqdtaus-config | |
533 | %attr(755,root,root) %{_libdir}/libaqdtaus.so | |
534 | %{_libdir}/libaqdtaus.la | |
535 | %{_includedir}/aqdtaus | |
536 | %{_aclocaldir}/aqdtaus.m4 | |
537 | ||
538 | %files backend-aqdtaus-static | |
539 | %defattr(644,root,root,755) | |
540 | %{_libdir}/libaqdtaus.a | |
541 | ||
542 | %if %{with chipcard} | |
543 | %files backend-aqgeldkarte | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so.*.*.* | |
546 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.so* | |
41d66290 | 547 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqgeldkarte.so* |
12082d70 | 548 | %{_libdir}/aqbanking/plugins/*/providers/aqgeldkarte.xml |
12082d70 JB |
549 | |
550 | %files backend-aqgeldkarte-devel | |
551 | %defattr(644,root,root,755) | |
552 | %attr(755,root,root) %{_bindir}/aqgeldkarte-config | |
553 | %attr(755,root,root) %{_libdir}/libaqgeldkarte.so | |
554 | %{_libdir}/libaqgeldkarte.la | |
555 | %{_includedir}/aqgeldkarte | |
556 | %{_aclocaldir}/aqgeldkarte.m4 | |
557 | ||
558 | %files backend-aqgeldkarte-static | |
559 | %defattr(644,root,root,755) | |
560 | %{_libdir}/libaqgeldkarte.a | |
561 | %endif | |
562 | ||
563 | %files backend-aqhbci | |
564 | %defattr(644,root,root,755) | |
565 | %attr(755,root,root) %{_bindir}/aqhbci-tool | |
566 | %attr(755,root,root) %{_bindir}/hbcixml2 | |
567 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* | |
568 | %dir %{_libdir}/aqbanking/plugins/*/debugger/aqhbci | |
569 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/aqhbci-qt3-debug | |
570 | %{_libdir}/aqbanking/plugins/*/debugger/aqhbci/qt_debug.xml | |
571 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* | |
41d66290 | 572 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqhbci.so* |
12082d70 | 573 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml |
12082d70 JB |
574 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/crypttoken/pintan.so |
575 | %{_libdir}/gwenhywfar/plugins/*/crypttoken/pintan.xml | |
576 | %{_datadir}/aqhbci | |
577 | ||
578 | %files backend-aqhbci-devel | |
579 | %defattr(644,root,root,755) | |
580 | %attr(755,root,root) %{_bindir}/aqhbci-config | |
581 | %attr(755,root,root) %{_libdir}/libaqhbci.so | |
582 | %{_libdir}/libaqhbci.la | |
583 | %{_includedir}/aqhbci | |
584 | %{_aclocaldir}/aqhbci.m4 | |
585 | ||
586 | %files backend-aqhbci-static | |
587 | %defattr(644,root,root,755) | |
588 | %{_libdir}/libaqhbci.a | |
589 | ||
590 | %files backend-aqofxconnect | |
591 | %defattr(644,root,root,755) | |
592 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
593 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* | |
41d66290 | 594 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/aqofxconnect.so* |
12082d70 | 595 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml |
12082d70 JB |
596 | |
597 | %files backend-aqofxconnect-devel | |
598 | %defattr(644,root,root,755) | |
599 | %attr(755,root,root) %{_bindir}/aqofxconnect-config | |
600 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so | |
601 | %{_libdir}/libaqofxconnect.la | |
602 | %{_includedir}/aqofxconnect | |
603 | %{_aclocaldir}/aqofxconnect.m4 | |
604 | ||
605 | %files backend-aqofxconnect-static | |
606 | %defattr(644,root,root,755) | |
607 | %{_libdir}/libaqofxconnect.a | |
608 | ||
609 | %files frontend-cbanking | |
610 | %defattr(644,root,root,755) | |
41d66290 | 611 | %attr(755,root,root) %{_bindir}/cbanking-config |
12ebd781 | 612 | %attr(755,root,root) %{_bindir}/aqbanking-tool |
12082d70 JB |
613 | %attr(755,root,root) %{_libdir}/libcbanking.so.*.*.* |
614 | ||
615 | %files frontend-cbanking-devel | |
616 | %defattr(644,root,root,755) | |
617 | %attr(755,root,root) %{_libdir}/libcbanking.so | |
618 | %{_libdir}/libcbanking.la | |
619 | %{_includedir}/cbanking | |
41d66290 | 620 | %{_aclocaldir}/cbanking.m4 |
12082d70 JB |
621 | |
622 | %files frontend-cbanking-static | |
623 | %defattr(644,root,root,755) | |
624 | %{_libdir}/libcbanking.a | |
625 | ||
626 | %if %{with gtk} | |
627 | %files frontend-g2banking | |
628 | %defattr(644,root,root,755) | |
629 | %attr(755,root,root) %{_libdir}/libg2banking.so.*.*.* | |
630 | ||
631 | %files frontend-g2banking-devel | |
632 | %defattr(644,root,root,755) | |
633 | %attr(755,root,root) %{_bindir}/g2banking-config | |
634 | %attr(755,root,root) %{_libdir}/libg2banking.so | |
635 | %{_libdir}/libg2banking.la | |
636 | %{_includedir}/g2banking | |
637 | %{_aclocaldir}/g2banking.m4 | |
638 | ||
639 | %files frontend-g2banking-static | |
640 | %defattr(644,root,root,755) | |
641 | %{_libdir}/libg2banking.a | |
642 | %endif | |
643 | ||
644 | %if %{with kde} | |
645 | %files frontend-kbanking | |
646 | %defattr(644,root,root,755) | |
647 | %attr(755,root,root) %{_libdir}/libkbanking.so.*.*.* | |
648 | ||
649 | %files frontend-kbanking-devel | |
650 | %defattr(644,root,root,755) | |
651 | %attr(755,root,root) %{_bindir}/kbanking-config | |
652 | %attr(755,root,root) %{_libdir}/libkbanking.so | |
653 | %{_libdir}/libkbanking.la | |
654 | %{_includedir}/kbanking | |
655 | %{_aclocaldir}/kbanking.m4 | |
656 | ||
657 | %files frontend-kbanking-static | |
658 | %defattr(644,root,root,755) | |
42d4abfd | 659 | %{_libdir}/libkbanking.a |
12082d70 JB |
660 | %endif |
661 | ||
662 | %files frontend-qbanking | |
663 | %defattr(644,root,root,755) | |
41d66290 | 664 | %attr(755,root,root) %{_bindir}/qb-help |
12082d70 | 665 | %attr(755,root,root) %{_libdir}/libqbanking.so.*.*.* |
3331a4f4 AF |
666 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/wizards/qt3-wizard |
667 | %{_libdir}/aqbanking/plugins/*/wizards/qt3_wizard.xml | |
12082d70 JB |
668 | |
669 | %files frontend-qbanking-devel | |
670 | %defattr(644,root,root,755) | |
671 | %attr(755,root,root) %{_bindir}/qbanking-config | |
672 | %attr(755,root,root) %{_libdir}/libqbanking.so | |
673 | %{_libdir}/libqbanking.la | |
674 | %{_includedir}/qbanking | |
675 | %{_aclocaldir}/qbanking.m4 | |
676 | ||
677 | %files frontend-qbanking-static | |
678 | %defattr(644,root,root,755) | |
679 | %{_libdir}/libqbanking.a | |
680 | ||
a2da3cea JB |
681 | %files -n python-%{name} |
682 | %defattr(644,root,root,755) | |
683 | %dir %{py_sitescriptdir}/aqbanking | |
684 | %{py_sitescriptdir}/aqbanking/*.py[co] |