aqbanking/aqbanking.spec

154 lines
4.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: aqbanking
Version: 5.8.2
Release: 1mamba
Summary: A library for online banking and financial applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.aqbanking.de/
## GITSOURCE https://github.com/aqbanking/aqbanking.git 5.8.2
Source: https://www.aquamaniac.de/rdm/attachments/download/107/aqbanking-%{version}.tar.gz
#Source: https://github.com/aqbanking/aqbanking.git/%{version}/aqbanking-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gwenhywfar-devel
BuildRequires: libffi-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libktoblzcheck-devel
BuildRequires: libnettle-devel
BuildRequires: libp11-kit-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtasn1-devel
BuildRequires: libunistring-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: libktoblzcheck-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
AqBanking is a library for online banking and financial applications.
%package -n lib%{name}
Group: System/Libraries
Summary: A library for online banking and financial applications
%description -n lib%{name}
AqBanking is a library for online banking and financial applications.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#autoreconf -f -i
#libtoolize
%build
export PKG_CONFIG=/usr/bin/pkg-config
%configure \
--enable-gwenhywfar \
--with-backends="aqhbci aqofxconnect aqpaypal"
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/aqbanking-cli
%{_bindir}/aqbanking-config
%{_bindir}/aqhbci-tool4
%{_bindir}/aqpaypal-tool
%{_bindir}/hbcixml3
%dir %{_datadir}/aqbanking
%dir %{_datadir}/aqbanking/aqbanking
%{_datadir}/aqbanking/aqbanking/*
%dir %{_datadir}/aqbanking/backends
%{_datadir}/aqbanking/backends/*
%dir %{_datadir}/aqbanking/bankinfo
%{_datadir}/aqbanking/bankinfo/*
%dir %{_datadir}/aqbanking/dialogs
%{_datadir}/aqbanking/dialogs/*
%dir %{_datadir}/aqbanking/imexporters
%{_datadir}/aqbanking/imexporters/*
%dir %{_datadir}/aqbanking/typemaker2
%{_datadir}/aqbanking/typemaker2/*
%{_datadir}/doc/aqbanking/AUTHORS
%{_datadir}/doc/aqbanking/COPYING
%{_datadir}/doc/aqbanking/ChangeLog
%{_datadir}/doc/aqbanking/README
%{_datadir}/doc/aqhbci/aqhbci-tool/README
%{_datadir}/doc/aqpaypal/aqpaypal-tool/README
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/aqbanking/
%dir %{_libdir}/aqbanking/plugins
%dir %{_libdir}/aqbanking/plugins/35
%{_libdir}/aqbanking/plugins/35/*
%{_libdir}/libaqbanking.so.*
%{_libdir}/libaqbankingpp.so.*
%{_libdir}/libaqhbci.so.*
%{_libdir}/libaqofxconnect.so.*
%{_libdir}/libaqpaypal.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/aqbanking5
%dir %{_includedir}/aqbanking5/aqbanking
%{_includedir}/aqbanking5/aqbanking/*.h
%dir %{_includedir}/aqbanking5/aqbankingpp
%{_includedir}/aqbanking5/aqbankingpp/*.hpp
%dir %{_includedir}/aqbanking5/aqhbci
%{_includedir}/aqbanking5/aqhbci/*.h
%dir %{_includedir}/aqbanking5/aqofxconnect
%{_includedir}/aqbanking5/aqofxconnect/*.h
%dir %{_includedir}/aqpaypal
%{_includedir}/aqpaypal/*.h
%{_libdir}/libaqbanking.la
%{_libdir}/libaqbanking.so
%{_libdir}/libaqbankingpp.la
%{_libdir}/libaqbankingpp.so
%{_libdir}/libaqhbci.la
%{_libdir}/libaqhbci.so
%{_libdir}/libaqofxconnect.la
%{_libdir}/libaqofxconnect.so
%{_libdir}/libaqpaypal.la
%{_libdir}/libaqpaypal.so
%{_libdir}/pkgconfig/aqbanking.pc
%dir %{_libdir}/cmake/aqbanking-*
%{_libdir}/cmake/aqbanking-*/aqbanking-config*.cmake
%{_datadir}/aclocal/aqbanking.m4
%doc NEWS README TODO
%changelog
* Wed Nov 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.8.2-1mamba
- package created using the webbuild interface