package created using the webbuild interface [release 1.50-1mamba;Wed Nov 27 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 03:08:03 +01:00
parent 94f709be5a
commit 68d61ba55c
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# ktoblzcheck # ktoblzcheck
A library to check bank account numbers and bank codes (BLZ) of German Banks.
It is based on the specifications of the "Deutsche Bundesbank".

89
ktoblzcheck.spec Normal file
View File

@ -0,0 +1,89 @@
Name: ktoblzcheck
Version: 1.50
Release: 1mamba
Summary: A library to check bank account numbers and bank codes (BLZ) of German Banks
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/ktoblzcheck
Source: https://sourceforge.net/projects/ktoblzcheck/files/ktoblzcheck-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library to check bank account numbers and bank codes (BLZ) of German Banks.
It is based on the specifications of the "Deutsche Bundesbank".
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
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
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/ktoblzcheck
%{_mandir}/man1/ktoblzcheck.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libktoblzcheck.so.*
%{python27_sitearch}/ktoblzcheck.py
%dir %{_datadir}/ktoblzcheck
%{_datadir}/ktoblzcheck/*.txt
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/iban.h
%{_includedir}/ktoblzcheck.h
%dir %{_libdir}/cmake/KtoBlzCheck
%{_libdir}/libktoblzcheck.so
%{_libdir}/cmake/KtoBlzCheck/KtoBlzCheck*.cmake
%{_libdir}/pkgconfig/ktoblzcheck.pc
%dir %{_datadir}/doc/ktoblzcheck
%dir %{_datadir}/doc/ktoblzcheck/api
%{_datadir}/doc/ktoblzcheck/api/*
%doc NEWS
%changelog
* Wed Nov 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-1mamba
- package created using the webbuild interface