[packages/libaegis] - new

qboosh qboosh at pld-linux.org
Fri May 17 21:19:35 CEST 2024


commit 4ac83807e20d43cdafbdc55db6e50f100045fd07
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 17 21:08:58 2024 +0200

    - new

 libaegis.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/libaegis.spec b/libaegis.spec
new file mode 100644
index 0000000..fdac214
--- /dev/null
+++ b/libaegis.spec
@@ -0,0 +1,71 @@
+Summary:	Implementation of the AEGIS family of high-performance authenticated ciphers
+Summary(pl.UTF-8):	Implementacja rodziny AEGIS wydajnych szyfrów z uwierzytelnieniem
+Name:		libaegis
+Version:	0.1.22
+Release:	1
+License:	MIT
+Group:		Libraries
+#Source0Download: https://github.com/jedisct1/libaegis/releases
+Source0:	https://github.com/jedisct1/libaegis/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	3f91c7dc8481173c211c005e429c4a26
+URL:		https://github.com/jedisct1/libaegis
+BuildRequires:	cmake >= 3.9
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Portable C implementations of the AEGIS
+(<https://datatracker.ietf.org/doc/draft-irtf-cfrg-aegis-aead/>)
+family of high-performance authenticated ciphers (AEGIS-128L,
+AEGIS-128X2, AEGIS-128X4, AEGIS-256, AEGIS-256X2, AEGIS-256X4), with
+runtime CPU detection.
+
+%description -l pl.UTF-8
+Przenośne, napisane w C implementacje rodziny AEGIS wydajnych szyfrów
+z uwierzytelnieniem (AEGIS-128L, AEGIS-128X2, AEGIS-128X4, AEGIS-256,
+AEGIS-256X2, AEGIS-256X4), obsługujących wykrywaniem CPU w trakcie
+działania.
+
+%package devel
+Summary:	Header files for AEGIS library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki AEGIS
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for AEGIS library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki AEGIS.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%attr(755,root,root) %{_libdir}/libaegis.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/aegis*.h
+%{_datadir}/cmake/aegis
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libaegis.git/commitdiff/4ac83807e20d43cdafbdc55db6e50f100045fd07



More information about the pld-cvs-commit mailing list