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