ktoblzcheck/ktoblzcheck.spec

109 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: ktoblzcheck
Version: 1.57
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: libcurl-devel
BuildRequires: libgcc
BuildRequires: libpython311-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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
%{_bindir}/ktoblzupdate
%{_bindir}/ibanchk
%dir %{_datadir}/ktoblzcheck
%{_datadir}/ktoblzcheck/*.txt
%{_datadir}/ktoblzcheck/bankdata.*.db
%{_mandir}/man1/ibanchk.1*
%{_mandir}/man1/ktoblzcheck.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libktoblzcheck.so.*
%{python3_sitearch}/ktoblzcheck.py
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/iban.h
%{_includedir}/ktoblzcheck.h
%{_includedir}/ktoblzcheck_export.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
* Sat Jan 13 2024 Automatic Build System <autodist@openmamba.org> 1.57-1mamba
- automatic version update by autodist
* Sun Jan 07 2024 Automatic Build System <autodist@openmamba.org> 1.55-1mamba
- automatic version update by autodist
* Sat Feb 06 2021 Automatic Build System <autodist@mambasoft.it> 1.53-1mamba
- automatic version update by autodist
* Tue Feb 25 2020 Automatic Build System <autodist@mambasoft.it> 1.52-1mamba
- automatic version update by autodist
* Wed Nov 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-1mamba
- package created using the webbuild interface