## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sover 1 %global libname libcryptopant%{sover} %global upname cryptopANT Name: cryptopant Version: 1.3.2 Release: %autorelease Summary: IP address anonymization library shared library Group: System/Libraries License: GPL-2.0-only URL: http://ant.isi.edu/software/cryptopANT VCS: git:https://codeberg.org/DNS-OARC/cryptopANT Source0: %{url}/%{upname}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: openssl-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool Provides: %{libname}%{?_isa} = %{version}-%{release} %description cryptopANT is a library for IP address anonymization. It implements a widely used prefix-preserving technique known as "cryptopan". This is ANT's project implementation of this technique for anonymization of ipv4 and ipv6 addresses. %package devel Summary: IP address anonymization library development files Group: Development/Libraries/C and C++ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: openssl-devel %description devel cryptopANT is a library for IP address anonymization. It implements a widely used prefix-preserving technique known as "cryptopan". This is ANT's project implementation of this technique for anonymization of ipv4 and ipv6 addresses. %package utils Summary: IP address anonymization library development files Requires: %{name}%{?_isa} = %{version}-%{release} %description utils cryptopANT is a library for IP address anonymization. It implements a widely used prefix-preserving technique known as "cryptopan". This is ANT's project implementation of this technique for anonymization of ipv4 and ipv6 addresses. %prep %autosetup -n %{upname}-%{version} %build autoreconf -fsi %configure --with-scramble_ips %make_build %install %make_install rm -f %{buildroot}%{_libdir}/lib%{upname}.a %check %make_build test %post %{?ldconfig} %postun %{?ldconfig} %files %{_libdir}/lib%{upname}.so.%{sover}* %files devel %{_includedir}/%{upname}* %{_mandir}/man3/%{upname}* %{_libdir}/lib%{upname}.so %files utils %{_bindir}/scramble_ips %changelog ## START: Generated by rpmautospec * Wed Dec 03 2025 John Doe - 1.3.2-1 - Uncommitted changes ## END: Generated by rpmautospec