Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
libofx
libofx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libofx.spec of Package libofx
# # spec file for package libofx # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libofx Version: 0.9.9 Release: 0 Summary: OFX Command Parser and API License: GPL-2.0-or-later Group: Development/Libraries/Other URL: http://libofx.sourceforge.net/ Source: http://downloads.sourceforge.net/project/libofx/libofx/0.9.9/%{name}-%{version}.tar.gz Patch: libofx-CVE-2017-2816.patch Patch1: libofx-CVE-2017-14731.patch Patch2: libofx-CVE-2019-9656.patch BuildRequires: curl-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: libxml++-devel BuildRequires: opensp-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description LibOFX is a parser and API designed to allow applications to support OFX command responses, usually provided by financial institutions for statement downloads. The author says, "To my knowledge, it is the first working OpenSource implementations of the OFX (Open Financial eXchange) specification on the client side. This project was first started as my end of degree project, with the goal of adding OFX support to GnuCash. It has since evolved into a generic library, so all OpenSource Financial software can benefit from it." %package -n libofx6 Summary: OFX Command Parser and API Group: Development/Libraries/Other Requires: %{name} >= %{version} %description -n libofx6 LibOFX is a parser and API designed to allow applications to support OFX command responses, usually provided by financial institutions for statement downloads. The author says, "To my knowledge, it is the first working OpenSource implementations of the OFX (Open Financial eXchange) specification on the client side. This project was first started as my end of degree project, with the goal of adding OFX support to GnuCash. It has since evolved into a generic library, so all OpenSource Financial software can benefit from it." %package devel Summary: OFX Command Parser and API Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: glibc-devel %description devel LibOFX is a parser and API designed to allow applications to support OFX command responses, usually provided by financial institutions for statement downloads. The author says, "To my knowledge, it is the first working OpenSource implementations of the OFX (Open Financial eXchange) specification on the client side. This project was first started as my end of degree project, with the goal of adding OFX support to GnuCash. It has since evolved into a generic library, so all OpenSource Financial software can benefit from it." %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 chmod -x doc/ofx_sample_files/ofx_spec160_stmtrs_example.sgml %build %configure --disable-static --with-pic --with-opensp-libs=%{_libdir} make %{?_smp_mflags} docdir=%{_defaultdocdir}/%{name} %install %make_install mkdir -p %{buildroot}%{_defaultdocdir} mv %{buildroot}%{_datadir}/doc/libofx %{buildroot}%{_defaultdocdir}/%{name} rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL cp -a doc/ofx_sample_files/*.* %{buildroot}%{_defaultdocdir}/%{name}/ ## Remove backupfiles that should not be in the tarball. rm %{buildroot}%{_defaultdocdir}/%{name}/*.*fx~ cp -a doc/html %{buildroot}%{_defaultdocdir}/%{name}/ %fdupes %{buildroot} rm -f %{buildroot}%{_libdir}/*.la %post -n libofx6 -p /sbin/ldconfig %postun -n libofx6 -p /sbin/ldconfig %files %defattr(-,root,root) %doc %dir %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}/[ACNR]* %doc %{_defaultdocdir}/%{name}/*.ofx %doc %{_defaultdocdir}/%{name}/*.txt %{_bindir}/* %{_datadir}/libofx/ %{_mandir}/man1/*.1%{?ext_man} %files -n libofx6 %defattr (-, root, root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %doc %{_defaultdocdir}/%{name}/html/ %doc %{_defaultdocdir}/%{name}/*.sgml %doc %{_defaultdocdir}/%{name}/*.xml %{_libdir}/*.so %{_includedir}/libofx/ %{_libdir}/pkgconfig/libofx.pc %clean rm -rf %{buildroot} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor