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