Summary: LibOFX library that allows applications to support OFX command responses Summary(pl): Biblioteka LibOFX pozwalająca aplikacjom obsługiwać odpowiedzi na polecenia OFX Name: libofx Version: 0.8.0 Release: 1 License: GPL Group: Libraries Source0: http://dl.sourceforge.net/libofx/%{name}-%{version}.tar.gz # Source0-md5: 8001c22445c1bdd6bebf1df3663db203 URL: http://libofx.sourceforge.net/ Patch0: %{name}-cc_fix.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: curl-devel >= 7.9.7 BuildRequires: libtool >= 2:1.4d BuildRequires: opensp-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is the LibOFX library. It is a API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions. See http://www.ofx.net/ofx/default.asp for details and specification. LibOFX is based on the excellent OpenSP library written by James Clark, and now part of the OpenJADE project (http://openjade.sourceforge.net/). LibOFX is written in C++, but provides a C style interface usable transparently from both C and C++ using a single include file. %description -l pl Ten pakiet zawiera bibliotekę LibOFX. Jest to API zaprojektowane aby umożliwić aplikacjom w prosty sposób obsługiwać odpowiedzi na polecenia OFX, zwykle udostępniane przez instytucje finansowe. Szczegóły oraz specyfikację można znaleźć na stronie http://www.ofx.net/ofx/default.asp. LibOFX jest oparta na świetnej bibliotece OpenSP napisanej przez Jamesa Clarka, będącej teraz częścią projektu OpenJADE (http://openjade.sourceforge.net/). LibOFX jest napisana w C++, ale udostępnia interfejs w C, którego można używać w sposób przezroczysty z poziomu C i C++ przy użyciu tego samego pliku nagłówkowego. %package devel Summary: Header files for LibOFX library Summary(pl): Pliki nagłówkowe biblioteki LibOFX Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: opensp-devel %description devel Header files for developing programs using LibOFX. %description devel -l pl Pliki nagłówkowe do tworzenia programów z użyciem LibOFX. %package static Summary: Static version LibOFX library Summary(pl): Biblioteka statyczna LibOFX Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static LibOFX library. %description static -l pl Statyczna biblioteka LibOFX. %prep %setup -q %patch0 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure \ --with-opensp-libs=%{_libdir} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/*.so.*.* %{_datadir}/libofx %files devel %defattr(644,root,root,755) %doc doc/html %attr(755,root,root) %{_libdir}/*.so %{_libdir}/*.la %{_includedir}/libofx %files static %defattr(644,root,root,755) %{_libdir}/*.a