]>
Commit | Line | Data |
---|---|---|
90aed7c4 | 1 | Summary: LibOFX library that allows applications to support OFX command responses |
c2e79e0d | 2 | Summary(pl.UTF-8): Biblioteka LibOFX pozwalająca aplikacjom obsługiwać odpowiedzi na polecenia OFX |
22c0359f | 3 | Name: libofx |
76a05fe3 AM |
4 | Version: 0.9.0 |
5 | Release: 1 | |
22c0359f | 6 | License: GPL |
90aed7c4 JB |
7 | Group: Libraries |
8 | Source0: http://dl.sourceforge.net/libofx/%{name}-%{version}.tar.gz | |
76a05fe3 | 9 | # Source0-md5: 6e2172f0117f90805590bf755190b79e |
24be9b5c | 10 | Patch0: %{name}-system-wide-treehh.patch |
90aed7c4 | 11 | URL: http://libofx.sourceforge.net/ |
c45322c4 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
81b51607 | 14 | BuildRequires: curl-devel >= 7.9.7 |
c45322c4 | 15 | BuildRequires: libtool >= 2:1.4d |
81b51607 | 16 | BuildRequires: opensp-devel |
24be9b5c | 17 | BuildRequires: tree.hh |
22c0359f | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | This is the LibOFX library. It is a API designed to allow applications | |
22 | to very easily support OFX command responses, usually provided by | |
23 | financial institutions. See http://www.ofx.net/ofx/default.asp for | |
24 | details and specification. LibOFX is based on the excellent OpenSP | |
90aed7c4 JB |
25 | library written by James Clark, and now part of the OpenJADE project |
26 | (http://openjade.sourceforge.net/). LibOFX is written in C++, but | |
27 | provides a C style interface usable transparently from both C and C++ | |
28 | using a single include file. | |
29 | ||
cdd50c62 JR |
30 | %description -l pl.UTF-8 |
31 | Ten pakiet zawiera bibliotekę LibOFX. Jest to API zaprojektowane aby | |
32 | umożliwić aplikacjom w prosty sposób obsługiwać odpowiedzi na | |
33 | polecenia OFX, zwykle udostępniane przez instytucje finansowe. | |
34 | Szczegóły oraz specyfikację można znaleźć na stronie | |
35 | http://www.ofx.net/ofx/default.asp. LibOFX jest oparta na świetnej | |
36 | bibliotece OpenSP napisanej przez Jamesa Clarka, będącej teraz częścią | |
90aed7c4 | 37 | projektu OpenJADE (http://openjade.sourceforge.net/). LibOFX jest |
cdd50c62 JR |
38 | napisana w C++, ale udostępnia interfejs w C, którego można używać w |
39 | sposób przezroczysty z poziomu C i C++ przy użyciu tego samego pliku | |
40 | nagłówkowego. | |
22c0359f | 41 | |
42 | %package devel | |
c45322c4 | 43 | Summary: Header files for LibOFX library |
c2e79e0d | 44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LibOFX |
c45322c4 JB |
45 | Group: Development/Libraries |
46 | Requires: %{name} = %{version}-%{release} | |
90aed7c4 | 47 | Requires: opensp-devel |
22c0359f | 48 | |
49 | %description devel | |
90aed7c4 JB |
50 | Header files for developing programs using LibOFX. |
51 | ||
cdd50c62 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe do tworzenia programów z użyciem LibOFX. | |
22c0359f | 54 | |
55 | %package static | |
c45322c4 | 56 | Summary: Static version LibOFX library |
c2e79e0d | 57 | Summary(pl.UTF-8): Biblioteka statyczna LibOFX |
c45322c4 JB |
58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
22c0359f | 60 | |
61 | %description static | |
90aed7c4 | 62 | Static LibOFX library. |
22c0359f | 63 | |
cdd50c62 | 64 | %description static -l pl.UTF-8 |
90aed7c4 | 65 | Statyczna biblioteka LibOFX. |
22c0359f | 66 | |
67 | %prep | |
68 | %setup -q | |
92be7f68 | 69 | %patch0 -p1 |
24be9b5c | 70 | rm -f lib/tree.hh |
22c0359f | 71 | |
72 | %build | |
c45322c4 | 73 | %{__libtoolize} |
76a05fe3 | 74 | %{__aclocal} -I m4 |
c45322c4 JB |
75 | %{__autoconf} |
76 | %{__autoheader} | |
77 | %{__automake} | |
392fcc59 JB |
78 | %configure \ |
79 | --with-opensp-libs=%{_libdir} | |
22c0359f | 80 | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
22c0359f | 85 | |
90aed7c4 JB |
86 | %{__make} install \ |
87 | DESTDIR=$RPM_BUILD_ROOT | |
22c0359f | 88 | |
8788f77a JB |
89 | rm -rf $RPM_BUILD_ROOT%{_docdir}/libofx |
90 | ||
22c0359f | 91 | %clean |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post -p /sbin/ldconfig | |
95 | %postun -p /sbin/ldconfig | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
99 | %doc AUTHORS ChangeLog NEWS README | |
8788f77a JB |
100 | %attr(755,root,root) %{_bindir}/ofx2qif |
101 | %attr(755,root,root) %{_bindir}/ofxdump | |
102 | %attr(755,root,root) %{_libdir}/libofx.so.*.*.* | |
82c71540 | 103 | %attr(755,root,root) %ghost %{_libdir}/libofx.so.4 |
90aed7c4 | 104 | %{_datadir}/libofx |
22c0359f | 105 | |
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
108 | %doc doc/html | |
8788f77a JB |
109 | %attr(755,root,root) %{_libdir}/libofx.so |
110 | %{_libdir}/libofx.la | |
90aed7c4 | 111 | %{_includedir}/libofx |
8788f77a | 112 | %{_pkgconfigdir}/libofx.pc |
22c0359f | 113 | |
114 | %files static | |
115 | %defattr(644,root,root,755) | |
8788f77a | 116 | %{_libdir}/libofx.a |