65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
Name: libb2
|
|
Version: 0.98.1
|
|
Release: 1mamba
|
|
Summary: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/BLAKE2/libb2
|
|
Source: https://github.com/BLAKE2/libb2.git/v%{version}/libb2-%{version}.tar.bz2
|
|
License: Common\ Public\ Attribution\ License\ 1.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
## note: run 'autospec -u -a6 libb2' to get the list of build requirements.
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libb2.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/blake2.h
|
|
%{_libdir}/libb2.a
|
|
%{_libdir}/libb2.la
|
|
%{_libdir}/libb2.so
|
|
%{_libdir}/pkgconfig/libb2.pc
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Wed Apr 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98.1-1mamba
|
|
- package created using the webbuild interface
|