libofx/libofx.spec

126 lines
4.5 KiB
RPMSpec
Raw Normal View History

Name: libofx
Version: 0.9.8
Release: 1mamba
Summary: A library which provides support for OFX command responses
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@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: libgcc
BuildRequires: libosp-devel
BuildRequires: libstdc++6-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)
%{_bindir}/ofx2qif
%{_bindir}/ofxconnect
%{_bindir}/ofxdump
%{_libdir}/*.so.*
%dir %{_datadir}/libofx/dtd
%{_datadir}/libofx/dtd/*.dtd
%{_datadir}/libofx/dtd/opensp.dcl
%dir %{_docdir}/libofx
%{_docdir}/libofx/totest.txt
%{_docdir}/libofx/AUTHORS
%{_docdir}/libofx/COPYING
%{_docdir}/libofx/ChangeLog
%{_docdir}/libofx/INSTALL
%{_docdir}/libofx/NEWS
%{_docdir}/libofx/README
%dir %{_docdir}/libofx/html
%{_docdir}/libofx/html/*
%{_mandir}/man1/ofxconnect.1.gz
%{_mandir}/man1/ofxdump.1.gz
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libofx
%{_includedir}/libofx/libofx.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README
%changelog
* 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: