2024-01-05 20:54:09 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1)
|
2024-01-05 20:54:08 +01:00
|
|
|
Name: botan
|
2024-02-26 00:00:20 +01:00
|
|
|
Version: 3.3.0
|
|
|
|
Release: 1mamba
|
2024-01-05 20:54:08 +01:00
|
|
|
Summary: A C++ cryptography library released under the permissive Simplified BSD license
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/randombit/botan
|
|
|
|
Source: https://github.com/randombit/botan.git/%{version}/botan-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-26 13:40:30 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 20:54:08 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Botan (Japanese for peony flower) is a C++ cryptography library released under the permissive Simplified BSD license.
|
|
|
|
|
|
|
|
%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
|
2024-01-26 13:40:30 +01:00
|
|
|
%{__python3} configure.py \
|
2024-01-05 20:54:08 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir}
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/botan
|
|
|
|
%{_mandir}/man1/botan.1*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:54:09 +01:00
|
|
|
%{_libdir}/libbotan-%{apiver}.so.*
|
2024-01-26 13:40:30 +01:00
|
|
|
%{python3_sitearch}/botan%{apiver}.py
|
2024-01-05 20:54:08 +01:00
|
|
|
%doc license.txt
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 20:54:09 +01:00
|
|
|
%dir %{_includedir}/botan-%{apiver}
|
|
|
|
%dir %{_includedir}/botan-%{apiver}/botan
|
|
|
|
%{_includedir}/botan-%{apiver}/botan/*.h
|
|
|
|
%{_libdir}/libbotan-%{apiver}.a
|
|
|
|
%{_libdir}/libbotan-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/botan-%{apiver}.pc
|
2024-01-05 20:54:08 +01:00
|
|
|
%dir %{_docdir}/botan-%{version}
|
|
|
|
%{_docdir}/botan-%{version}/*.txt
|
|
|
|
%dir %{_docdir}/botan-%{version}/handbook
|
|
|
|
%dir %{_docdir}/botan-%{version}/handbook/.doctrees
|
|
|
|
%{_docdir}/botan-%{version}/handbook/*
|
|
|
|
%{_docdir}/botan-%{version}/handbook/.doctrees/*
|
|
|
|
%{_docdir}/botan-%{version}/handbook/.buildinfo
|
2024-02-26 00:00:20 +01:00
|
|
|
%dir %{_libdir}/cmake/Botan-%{version}
|
|
|
|
%{_libdir}/cmake/Botan-%{version}/botan-config*.cmake
|
2024-01-05 20:54:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-26 00:00:20 +01:00
|
|
|
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 3.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-26 13:40:30 +01:00
|
|
|
* Fri Jan 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba
|
|
|
|
- rebuilt with python3 == 3.11
|
|
|
|
|
2024-01-05 20:54:10 +01:00
|
|
|
* Tue Oct 10 2023 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:09 +01:00
|
|
|
* Thu Jul 13 2023 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 12 2023 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Thu Nov 17 2022 Automatic Build System <autodist@mambasoft.it> 2.19.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 2.19.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 2.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Automatic Build System <autodist@mambasoft.it> 2.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 2.18.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Mon May 10 2021 Automatic Build System <autodist@mambasoft.it> 2.18.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 2.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:54:08 +01:00
|
|
|
* Wed Mar 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17.3-1mamba
|
|
|
|
- package created using the webbuild interface
|