Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 26a1bf8731372ef3c7c1701b4225587b > files > 3

libofx-0.9.5-4.mga3.src.rpm

%define major 5
%define libname %mklibname ofx %{major}
%define develname %mklibname ofx -d

Summary:	LibOFX library provides support for OFX command responses
Name:		libofx
Version:	0.9.5
Release:	%mkrel 4
Group:		System/Libraries
License:	GPL
URL:		http://libofx.sourceforge.net
Source0:	http://download.sourceforge.net/libofx/%{name}-%{version}.tar.gz
Patch:		libofx-0.9.5-fix-utf-from-upstream-git.patch
BuildRequires:	doxygen
BuildRequires:	graphviz
BuildRequires:	OpenSP-devel

%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 -n %{libname}
Summary:	Libraries for libofx
Group:		System/Libraries
# the librairies  need the DTD files to process OFX files
Requires:	%{name} = %{version}-%{release}

%description -n %{libname}
This package provides libraries to use libofx.

%package -n %{develname}
Group:		Development/C
Summary:	Libraries needed to develop for libofx
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Conflicts:	%{_lib}ofx2-devel < 0.8.2

%description -n %{develname}
Libraries needed to develop for libofx.

%prep

%setup -q
%patch -p1

%build
# FIXME: better make it lib64 aware in configure script
# disable curl detection
%configure2_5x \
    --disable-static \
    --with-opensp-libs=%{_libdir} \
    --without-libcurl

%make

%install
%makeinstall_std

#remove unpackaged files
rm -rf %{buildroot}%{_docdir}/libofx

%clean

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README totest.txt 
%{_bindir}/*
%{_datadir}/libofx
%{_mandir}/man1/ofxdump.1.*

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/*.so.%{major}*

%files -n %{develname}
%defattr(-,root,root)
%doc doc/html doc/ofx_sample_files
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.9.5-4.mga3
+ Revision: 357907
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon May 07 2012 zezinho <zezinho> 0.9.5-3.mga2
+ Revision: 234859
- fix requires to get DTD files

* Fri Mar 16 2012 zezinho <zezinho> 0.9.5-2.mga2
+ Revision: 223672
- upstream patch to fix UTF-8 ofx import

* Thu Jan 19 2012 zezinho <zezinho> 0.9.5-1.mga2
+ Revision: 198489
- new version

* Tue Jul 05 2011 ahmad <ahmad> 0.9.4-1.mga2
+ Revision: 118600
- Update to 0.9.4
- Drop patch0, fixed upstream
- Update the file list

* Thu Feb 10 2011 spuhler <spuhler> 0.9.1-3.mga1
+ Revision: 49656
- removed buildroot definition from .spec
  removed the if mdkversion lines
- imported package libofx