]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: unpackaged files | |
3 | # | |
4 | Summary: A library for online banking functions and financial data import/export | |
5 | Summary(pl.UTF-8): Biblioteka do funkcji bankowych online oraz importu/eksportu danych finansowych | |
6 | Name: aqbanking | |
7 | Version: 5.0.1 | |
8 | Release: 0.1 | |
9 | License: GPL v2 | |
10 | Group: Libraries | |
11 | # http://www2.aquamaniac.de/sites/download/packages.php | |
12 | Source0: %{name}-%{version}.tar.gz | |
13 | # Source0-md5: dc7dd799a4a50313b5f11b9a0861b72b | |
14 | URL: http://www.aquamaniac.de/aqbanking/ | |
15 | BuildRequires: autoconf >= 2.56 | |
16 | BuildRequires: automake | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: gmp-devel | |
19 | BuildRequires: gwenhywfar-devel >= 4.0.0 | |
20 | BuildRequires: ktoblzcheck-devel >= 1.10 | |
21 | BuildRequires: libofx-devel >= 0.8.0 | |
22 | BuildRequires: libtool >= 2:1.5 | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: qt-devel >= 1:3.0 | |
25 | BuildRequires: which | |
26 | Obsoletes: aqbanking-backend-aqdtaus | |
27 | Obsoletes: aqbanking-backend-aqdtaus-devel | |
28 | Obsoletes: aqbanking-backend-aqdtaus-static | |
29 | Obsoletes: aqbanking-backend-aqgeldkarte | |
30 | Obsoletes: aqbanking-backend-aqgeldkarte-devel | |
31 | Obsoletes: aqbanking-backend-aqgeldkarte-static | |
32 | Obsoletes: aqbanking-backend-aqyellownet | |
33 | Obsoletes: aqbanking-backend-aqyellownet-devel | |
34 | Obsoletes: aqbanking-backend-aqyellownet-static | |
35 | Obsoletes: aqbanking-frontend-cbanking | |
36 | Obsoletes: aqbanking-frontend-cbanking-devel | |
37 | Obsoletes: aqbanking-frontend-cbanking-static | |
38 | Obsoletes: aqbanking-frontend-fbanking | |
39 | Obsoletes: aqbanking-frontend-fbanking-devel | |
40 | Obsoletes: aqbanking-frontend-fbanking-static | |
41 | Obsoletes: aqbanking-frontend-g2banking | |
42 | Obsoletes: aqbanking-frontend-g2banking-devel | |
43 | Obsoletes: aqbanking-frontend-g2banking-static | |
44 | Obsoletes: aqbanking-frontend-kbanking | |
45 | Obsoletes: aqbanking-frontend-kbanking-devel | |
46 | Obsoletes: aqbanking-frontend-kbanking-static | |
47 | Obsoletes: python-aqbanking | |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %description | |
51 | The intention of AqBanking is to provide a middle layer between the | |
52 | program and the various Online Banking libraries (e.g. AqHBCI). The | |
53 | first backend which is already supported is AqHBCI, a library which | |
54 | implements a client for the German HBCI (Home Banking Computer | |
55 | Interface) protocol. Additionally, Aqbanking provides various plugins | |
56 | to simplify import and export of financial data. Currently there are | |
57 | import plugins for the following formats: DTAUS (German financial | |
58 | format), SWIFT (MT940 and MT942). | |
59 | ||
60 | %description -l pl.UTF-8 | |
61 | Celem projektu AqBanking jest dostarczenie warstwy pośredniej między | |
62 | programem a różnymi bibliotekami usług bankowych online (np. AqHBCI). | |
63 | Pierwszy już obsługiwany backend to AqHBCI - biblioteka implementująca | |
64 | klienta niemieckiego protokołu HBCI (Home Baking Computer Interface). | |
65 | Ponadto Aqbanking dostarcza różne wtyczki upraszczające importowanie i | |
66 | eksportowanie danych finansowych. Aktualnie istnieją wtyczki do | |
67 | importu następujących formatów: DTAUS (niemiecki format finansowy), | |
68 | SWIFT (MT940 oraz MT942). | |
69 | ||
70 | %package devel | |
71 | Summary: Header files for AqBanking library | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AqBanking | |
73 | Group: Development/Libraries | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | Requires: gwenhywfar-devel >= 3.0.0 | |
76 | ||
77 | %description devel | |
78 | Header files for AqBanking library. | |
79 | ||
80 | %description devel -l pl.UTF-8 | |
81 | Pliki nagłówkowe biblioteki AqBanking. | |
82 | ||
83 | %package static | |
84 | Summary: Static AqBanking libraries | |
85 | Summary(pl.UTF-8): Statyczne biblioteki AqBanking | |
86 | Group: Development/Libraries | |
87 | Requires: %{name}-devel = %{version}-%{release} | |
88 | ||
89 | %description static | |
90 | Static AqBanking libraries. | |
91 | ||
92 | %description static -l pl.UTF-8 | |
93 | Statyczne biblioteki AqBanking. | |
94 | ||
95 | %package backend-aqhbci | |
96 | Summary: AqHBCI backend for AqBanking library | |
97 | Summary(pl.UTF-8): Backend AqHBCI dla biblioteki AqBanking | |
98 | Group: Libraries | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description backend-aqhbci | |
102 | AqHBCI backend for AqBanking library. | |
103 | ||
104 | %description backend-aqhbci -l pl.UTF-8 | |
105 | Backend AqHBCI dla biblioteki AqBanking. | |
106 | ||
107 | %package backend-aqhbci-devel | |
108 | Summary: Header files for AqHBCI backend library | |
109 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqHBCI | |
110 | Group: Development/Libraries | |
111 | Requires: %{name}-backend-aqhbci = %{version}-%{release} | |
112 | Requires: %{name}-devel = %{version}-%{release} | |
113 | ||
114 | %description backend-aqhbci-devel | |
115 | Header files for AqHBCI backend library. | |
116 | ||
117 | %description backend-aqhbci-devel -l pl.UTF-8 | |
118 | Pliki nagłówkowe biblioteki backendu AqHBCI. | |
119 | ||
120 | %package backend-aqhbci-static | |
121 | Summary: Static AqHBCI backend library | |
122 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqHBCI | |
123 | Group: Development/Libraries | |
124 | Requires: %{name}-backend-aqhbci-devel = %{version}-%{release} | |
125 | ||
126 | %description backend-aqhbci-static | |
127 | Static AqHBCI backend library. | |
128 | ||
129 | %description backend-aqhbci-static -l pl.UTF-8 | |
130 | Statyczna biblioteka backendu AqHBCI. | |
131 | ||
132 | %package backend-aqnone | |
133 | Summary: Aqnone backend for AqBanking library | |
134 | Summary(pl.UTF-8): Backend Aqnone dla biblioteki AqBanking | |
135 | Group: Libraries | |
136 | Requires: %{name} = %{version}-%{release} | |
137 | ||
138 | %description backend-aqnone | |
139 | Aqnone backend for AqBanking library. | |
140 | ||
141 | %description backend-aqnone -l pl.UTF-8 | |
142 | Backend Aqnone dla biblioteki AqBanking. | |
143 | ||
144 | %package backend-aqnone-devel | |
145 | Summary: Header files for Aqnone backend library | |
146 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu Aqnone | |
147 | Group: Development/Libraries | |
148 | Requires: %{name}-backend-aqnone = %{version}-%{release} | |
149 | Requires: %{name}-devel = %{version}-%{release} | |
150 | ||
151 | %description backend-aqnone-devel | |
152 | Header files for Aqnone backend library. | |
153 | ||
154 | %description backend-aqnone-devel -l pl.UTF-8 | |
155 | Pliki nagłówkowe biblioteki backendu Aqnone. | |
156 | ||
157 | %package backend-aqnone-static | |
158 | Summary: Static Aqnone backend library | |
159 | Summary(pl.UTF-8): Statyczna biblioteka backendu Aqnone | |
160 | Group: Development/Libraries | |
161 | Requires: %{name}-backend-aqnone-devel = %{version}-%{release} | |
162 | ||
163 | %description backend-aqnone-static | |
164 | Static Aqnone backend library. | |
165 | ||
166 | %description backend-aqnone-static -l pl.UTF-8 | |
167 | Statyczna biblioteka backendu Aqnone. | |
168 | ||
169 | %package backend-aqofxconnect | |
170 | Summary: AqOFXConnect backend for AqBanking library | |
171 | Summary(pl.UTF-8): Backend AqOFXConnect dla biblioteki AqBanking | |
172 | Group: Libraries | |
173 | Requires: %{name} = %{version}-%{release} | |
174 | ||
175 | %description backend-aqofxconnect | |
176 | AqOFXConnect backend for AqBanking library. | |
177 | ||
178 | %description backend-aqofxconnect -l pl.UTF-8 | |
179 | Backend AqOFXConnect dla biblioteki AqBanking. | |
180 | ||
181 | %package backend-aqofxconnect-devel | |
182 | Summary: Header files for AqOFXConnect backend library | |
183 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki backendu AqOFXConnect | |
184 | Group: Development/Libraries | |
185 | Requires: %{name}-backend-aqofxconnect = %{version}-%{release} | |
186 | Requires: libofx-devel >= 0.8.0 | |
187 | ||
188 | %description backend-aqofxconnect-devel | |
189 | Header files for AqOFXConnect backend library. | |
190 | ||
191 | %description backend-aqofxconnect-devel -l pl.UTF-8 | |
192 | Pliki nagłówkowe biblioteki backendu AqOFXConnect. | |
193 | ||
194 | %package backend-aqofxconnect-static | |
195 | Summary: Static AqOFXConnect backend library | |
196 | Summary(pl.UTF-8): Statyczna biblioteka backendu AqOFXConnect | |
197 | Group: Development/Libraries | |
198 | Requires: %{name}-backend-aqofxconnect-devel = %{version}-%{release} | |
199 | ||
200 | %description backend-aqofxconnect-static | |
201 | Static AqOFXConnect backend library. | |
202 | ||
203 | %description backend-aqofxconnect-static -l pl.UTF-8 | |
204 | Statyczna biblioteka backendu AqOFXConnect. | |
205 | ||
206 | %prep | |
207 | %setup -q | |
208 | ||
209 | %build | |
210 | %{__libtoolize} | |
211 | %{__aclocal} -I m4 | |
212 | %{__autoconf} | |
213 | %{__autoheader} | |
214 | %{__automake} | |
215 | %configure \ | |
216 | --with-qt3-libs=%{_libdir} \ | |
217 | --enable-libofx \ | |
218 | --enable-static \ | |
219 | --with-backends="aqhbci aqofxconnect aqnone" \ | |
220 | --with-frontends="qbanking" | |
221 | ||
222 | %{__make} -j1 | |
223 | ||
224 | %install | |
225 | rm -rf $RPM_BUILD_ROOT | |
226 | ||
227 | %{__make} install -j1 \ | |
228 | DESTDIR=$RPM_BUILD_ROOT | |
229 | ||
230 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/*/*.{la,a} | |
231 | rm -f $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/*/frontends/qbanking/cfgmodules/*.{la,a} | |
232 | rm -f $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} | |
233 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/aqbanking/*.py | |
234 | ||
235 | %if %{with yellownet} | |
236 | # soname is libaqyellownet.so.0 | |
237 | mv $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.{so,so.0.0.0} | |
238 | ln -sf libaqyellownet.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libaqyellownet.so | |
239 | %endif | |
240 | ||
241 | %find_lang %{name} | |
242 | ||
243 | %clean | |
244 | rm -rf $RPM_BUILD_ROOT | |
245 | ||
246 | %post -p /sbin/ldconfig | |
247 | %postun -p /sbin/ldconfig | |
248 | ||
249 | %post backend-aqhbci -p /sbin/ldconfig | |
250 | %postun backend-aqhbci -p /sbin/ldconfig | |
251 | ||
252 | %post backend-aqnone -p /sbin/ldconfig | |
253 | %postun backend-aqnone -p /sbin/ldconfig | |
254 | ||
255 | %post backend-aqofxconnect -p /sbin/ldconfig | |
256 | %postun backend-aqofxconnect -p /sbin/ldconfig | |
257 | ||
258 | %files -f %{name}.lang | |
259 | %defattr(644,root,root,755) | |
260 | %doc ChangeLog README TODO | |
261 | %attr(755,root,root) %{_bindir}/aqbanking-cli | |
262 | %attr(755,root,root) %{_libdir}/libaqbanking.so.*.*.* | |
263 | %attr(755,root,root) %ghost %{_libdir}/libaqbanking.so.33 | |
264 | %dir %{_libdir}/aqbanking | |
265 | %dir %{_libdir}/aqbanking/plugins | |
266 | %dir %{_libdir}/aqbanking/plugins/* | |
267 | %dir %{_libdir}/aqbanking/plugins/*/bankinfo | |
268 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/bankinfo/*.so* | |
269 | %{_libdir}/aqbanking/plugins/*/bankinfo/*.xml | |
270 | %dir %{_libdir}/aqbanking/plugins/*/imexporters | |
271 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/imexporters/*.so* | |
272 | %{_libdir}/aqbanking/plugins/*/imexporters/*.xml | |
273 | %dir %{_libdir}/aqbanking/plugins/*/providers | |
274 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* | |
275 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
276 | %dir %{_datadir}/aqbanking | |
277 | %{_datadir}/aqbanking/bankinfo | |
278 | %{_datadir}/aqbanking/imexporters | |
279 | ||
280 | %files devel | |
281 | %defattr(644,root,root,755) | |
282 | %attr(755,root,root) %{_bindir}/aqbanking-config | |
283 | %attr(755,root,root) %{_libdir}/libaqbanking.so | |
284 | %{_libdir}/libaqbanking.la | |
285 | %{_includedir}/aqbanking5 | |
286 | %{_aclocaldir}/aqbanking.m4 | |
287 | %{_pkgconfigdir}/aqbanking.pc | |
288 | ||
289 | %files static | |
290 | %defattr(644,root,root,755) | |
291 | %{_libdir}/libaqbanking.a | |
292 | ||
293 | %files backend-aqhbci | |
294 | %defattr(644,root,root,755) | |
295 | %attr(755,root,root) %{_bindir}/aqhbci-tool4 | |
296 | %attr(755,root,root) %{_bindir}/hbcixml3 | |
297 | %attr(755,root,root) %{_libdir}/libaqhbci.so.*.*.* | |
298 | %attr(755,root,root) %ghost %{_libdir}/libaqhbci.so.19 | |
299 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqhbci.so* | |
300 | %{_libdir}/aqbanking/plugins/*/providers/aqhbci.xml | |
301 | %{_datadir}/aqbanking/backends/aqhbci | |
302 | ||
303 | %files backend-aqhbci-devel | |
304 | %defattr(644,root,root,755) | |
305 | %attr(755,root,root) %{_libdir}/libaqhbci.so | |
306 | %{_libdir}/libaqhbci.la | |
307 | ||
308 | %files backend-aqhbci-static | |
309 | %defattr(644,root,root,755) | |
310 | %{_libdir}/libaqhbci.a | |
311 | ||
312 | %files backend-aqnone | |
313 | %defattr(644,root,root,755) | |
314 | %attr(755,root,root) %{_libdir}/libaqnone.so.*.*.* | |
315 | %attr(755,root,root) %ghost %{_libdir}/libaqnone.so.33 | |
316 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqnone.so* | |
317 | %{_libdir}/aqbanking/plugins/*/providers/aqnone.xml | |
318 | ||
319 | %files backend-aqnone-devel | |
320 | %defattr(644,root,root,755) | |
321 | %attr(755,root,root) %{_libdir}/libaqnone.so | |
322 | %{_libdir}/libaqnone.la | |
323 | ||
324 | %files backend-aqnone-static | |
325 | %defattr(644,root,root,755) | |
326 | %{_libdir}/libaqnone.a | |
327 | ||
328 | %files backend-aqofxconnect | |
329 | %defattr(644,root,root,755) | |
330 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so.*.*.* | |
331 | %attr(755,root,root) %ghost %{_libdir}/libaqofxconnect.so.7 | |
332 | %attr(755,root,root) %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.so* | |
333 | %{_libdir}/aqbanking/plugins/*/providers/aqofxconnect.xml | |
334 | ||
335 | %files backend-aqofxconnect-devel | |
336 | %defattr(644,root,root,755) | |
337 | %attr(755,root,root) %{_libdir}/libaqofxconnect.so | |
338 | %{_libdir}/libaqofxconnect.la | |
339 | ||
340 | %files backend-aqofxconnect-static | |
341 | %defattr(644,root,root,755) | |
342 | %{_libdir}/libaqofxconnect.a |