libofx/libofx.spec

150 lines
5.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: libofx
Version: 0.9.15
Release: 1mamba
Summary: A library which provides support for OFX command responses
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libofx.sourceforge.net
Source: http://downloads.sourceforge.net/libofx/libofx-%{version}.tar.gz
Patch0: %{name}-0.9.0-gcc43.patch
Patch1: libofx-0.9.5-gcc-4.7.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libosp-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml++2-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 http://openjade.sourceforge.net/ project.
OpenSP by itself is not widely distributed. OpenJADE 1.3.1 includes a version on OpenSP that will link, however, it has some major problems with LibOFX and isn't recommended.
Since LibOFX uses the generic interface to OpenSP, it should be compatible with all recent versions of OpenSP (It has been developed with OpenSP-1.5pre5).
LibOFX is written in C++, but provides a C style interface usable transparently from both C and C++ using a single include file.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
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 http://openjade.sourceforge.net/ project.
OpenSP by itself is not widely distributed. OpenJADE 1.3.1 includes a version on OpenSP that will link, however, it has some major problems with LibOFX and isn't recommended.
Since LibOFX uses the generic interface to OpenSP, it should be compatible with all recent versions of OpenSP (It has been developed with OpenSP-1.5pre5).
LibOFX is written in C++, but provides a C style interface usable transparently from both C and C++ using a single include file.
This package provides libraries to use libofx.
%prep
%setup -q
#%patch0 -p1
%patch1 -p1
%build
%configure
%make \
%ifarch x86_64
LDFLAGS="-L%{_libdir}"
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libofx.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/ofx2qif
%{_bindir}/ofxconnect
%{_bindir}/ofxdump
%dir %{_includedir}/libofx
%{_includedir}/libofx/libofx.h
%{_libdir}/libofx.a
%{_libdir}/libofx.la
%{_libdir}/libofx.so
%{_libdir}/pkgconfig/*.pc
%dir %{_datadir}/libofx/dtd
%{_datadir}/libofx/dtd/*.dtd
%{_datadir}/libofx/dtd/opensp.dcl
%dir %{_docdir}/libofx
%{_docdir}/libofx/*
%dir %{_docdir}/libofx/html
%{_docdir}/libofx/html/*
%{_mandir}/man1/ofxconnect.1*
%{_mandir}/man1/ofxdump.1*
%doc ChangeLog NEWS README
%changelog
* Sat Jan 25 2020 Automatic Build System <autodist@mambasoft.it> 0.9.15-1mamba
- automatic version update by autodist
* Mon Jul 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.14-2mamba
- docs and binaries moved from lib to lib-devel package
* Tue Feb 12 2019 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
- automatic version update by autodist
* Sat May 12 2018 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
- automatic version update by autodist
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
- automatic version update by autodist
* Sun May 29 2016 Automatic Build System <autodist@mambasoft.it> 0.9.10-1mamba
- automatic version update by autodist
* Sun Sep 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
- automatic update by autodist
* Thu Apr 18 2013 Automatic Build System <autodist@mambasoft.it> 0.9.8-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9.7-1mamba
- automatic version update by autodist
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
- automatic version update by autodist
* Sun Dec 09 2012 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
- automatic version update by autodist
* Tue Aug 02 2011 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
- automatic version update by autodist
* Sun Feb 20 2011 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic update by autodist
* Wed Feb 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Tue Jul 08 2008 gil <puntogil@libero.it> 0.9.0-1mamba
- package created by autospec
Installed (but unpackaged) file(s) found: