From 68d61ba55c898c5a9b4860a93e8ebdccb20290d4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:08:03 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.50-1mamba;Wed Nov 27 2019] --- README.md | 3 ++ ktoblzcheck.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 ktoblzcheck.spec diff --git a/README.md b/README.md index 9849c45..9fb0eda 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # 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". + diff --git a/ktoblzcheck.spec b/ktoblzcheck.spec new file mode 100644 index 0000000..c06a519 --- /dev/null +++ b/ktoblzcheck.spec @@ -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 +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 1.50-1mamba +- package created using the webbuild interface