%global _unpackaged_files_terminate_build 1 Name: openpace Version: 1.1.4 Release: 1%{?dist} Summary: Cryptographic library for EAC version 2 Summary(ru): Криптобиблиотека для EAC версии 2 License: GPL-3.0-only URL: https://frankmorgner.github.io/openpace/ Source0: https://github.com/frankmorgner/openpace/releases/download/%{version}/openpace-%{version}.tar.gz Packager: NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 Vendor: NiceSOFT Distribution: NiceOS.Core BugURL: https://bugs.niceos.ru/ VCS: https://specs.niceos.ru/rmps/%{name} Patch0001: https://src.fedoraproject.org/rpms/openpace/raw/rawhide/f/openpace-1.1.3-unsupported-tests.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: pkgconfig Requires: openssl-libs%{?_isa} %description OpenPACE implements Extended Access Control (EAC) version 2 as specified in BSI TR-03110. OpenPACE comprises support for Password Authenticated Connection Establishment (PACE), Terminal Authentication (TA), and Chip Authentication (CA) protocols. It also supports Card Verifiable Certificates (CV Certificates) and signing requests as well as easy-to-use wrappers for using the established secure channels. %description -l ru OpenPACE реализует Extended Access Control (EAC) версии 2 согласно BSI TR-03110. Библиотека включает поддержку протоколов PACE (Password Authenticated Connection Establishment), TA (Terminal Authentication) и CA (Chip Authentication). Также поддерживаются CV-сертификаты и запросы на подпись, а также удобные обёртки для использования установленных защищённых каналов. %package devel Summary: Development files for OpenPACE Summary(ru): Файлы для разработки OpenPACE Requires: %{name}%{?_isa} = %{version}-%{release} Requires: openssl-devel%{?_isa} Requires: pkgconfig %description -n %{name}-devel Development files with header files to develop applications which support the EAC protocol. %description -l ru -n %{name}-devel Файлы для разработки (заголовочные файлы и pkg-config) для приложений, использующих протокол EAC. %package doc Summary: HTML documentation for OpenPACE Summary(ru): HTML-документация OpenPACE BuildArch: noarch Requires: %{name}%{?_isa} = %{version}-%{release} # RU: В NiceOS не тянем слабые зависимости по шрифтам. # EN: In NiceOS, avoid weak dependencies on fonts. %description -n %{name}-doc HTML documentation for OpenPACE. %description -l ru -n %{name}-doc HTML-документация по OpenPACE. %prep %setup -q %patch -P 1 -p1 -b .unsupported-tests %build autoreconf -fvi %set_build_flags CFLAGS="%{optflags} -Wno-deprecated-declarations" %configure --disable-static %make_build %check # RU: Для OpenSSL с недоверием к SHA1: включаем в тестах только локально. # EN: For OpenSSL setups that distrust SHA1: enable SHA1 signatures only for tests. export OPENSSL_ENABLE_SHA1_SIGNATURES=1 %make_build check V=1 %install %make_install # RU: Убираем libtool-мусор. # EN: Remove libtool artifacts. find %{buildroot}%{_libdir} -type f -name '*.la' -delete # RU: Удаляем лишнее из документации. # EN: Prune unnecessary documentation files. find %{buildroot}%{_docdir}/openpace -type f -name 'Makefile*' -delete find %{buildroot}%{_docdir}/openpace -type f -name '.nojekyll' -delete # RU: Удаляем примеры/тестовые бинарники (не часть runtime). # EN: Remove example/test binaries (not part of runtime). rm -f %{buildroot}%{_bindir}/example || : rm -f %{buildroot}%{_bindir}/eactest || : # RU: Удаляем шрифты из бандла документации. # EN: Remove bundled fonts from the documentation. rm -rf %{buildroot}%{_docdir}/openpace/_static/bootstrap-3.3.7/fonts rm -rf %{buildroot}%{_docdir}/openpace/_static/bootswatch-3.3.7/fonts %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %dir %{_sysconfdir}/eac %dir %{_sysconfdir}/eac/cvc %dir %{_sysconfdir}/eac/x509 %{_bindir}/cvc-create %{_bindir}/cvc-print %attr(0755,root,root) %{_libdir}/libeac.so.* %config(noreplace) %{_sysconfdir}/eac/cvc/DECVCAEPASS00102 %config(noreplace) %{_sysconfdir}/eac/cvc/DECVCAeID00102 %config(noreplace) %{_sysconfdir}/eac/cvc/DECVCAeSign00102 %config(noreplace) %{_sysconfdir}/eac/x509/ff3d20d2 %{_mandir}/man1/cvc-create.1* %{_mandir}/man1/cvc-print.1* %files -n %{name}-devel %dir %{_includedir}/eac %{_includedir}/eac/* %{_libdir}/libeac.so %{_libdir}/pkgconfig/libeac.pc %files -n %{name}-doc %doc %{_docdir}/openpace %changelog * Sun May 10 2026 NiceOS Team - 1.1.4-1 - EN: - Update openpace from 1.1.3 to 1.1.4. - Upstream notes mention a build-order fix for manpage generation, acceptance of BSI OIDs already registered in OpenSSL, and added CA v3 compatibility for parsing EF.CardAccess. - RU: - Обновить openpace с 1.1.3 до 1.1.4. - В upstream-релизе отмечены: исправление порядка сборки для генерации manpage, разрешение BSI OID, уже зарегистрированных в OpenSSL, и добавление совместимости CA v3 при разборе EF.CardAccess. * Mon Jan 12 2026 NiceOS Team - 1.1.3-1 - Initial build for NiceOS (Первая сборка для НАЙС.ОС)