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