X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=openssl-gost-engine.spec;h=5fd64977eff95941fbc0e85417236badf54d4d3e;hb=refs%2Fheads%2Fmaster;hp=310d1ce84a36e99cd9e83f7bce19180479d3d757;hpb=366809d9347a6848e2ca0cf4bca3915b9b89e126;p=openssl-gost%2Frpm.git diff --git a/openssl-gost-engine.spec b/openssl-gost-engine.spec index 310d1ce..5fd6497 100644 --- a/openssl-gost-engine.spec +++ b/openssl-gost-engine.spec @@ -8,13 +8,23 @@ License: OpenSSL URL: https://github.com/gost-engine/engine Source0: %{name}-%{version}.tar.bz2 -BuildRequires: cmake, openssl-devel +BuildRequires: cmake, openssl-devel >= %{?rhel:1:}1.1 Requires: openssl-libs + %description This package contains openssl module with software implementation of GOST cryptoalgorithms. +%package -n gostsum +Summary: utilities to compute GOST hashes +Group: Utilities/Cryptography +License: OpenSSL + +%description -n gostsum +Gostsum and gost12sum are utilities, similar to md5sum or sha1sum which computes + + %prep %setup -q @@ -27,6 +37,12 @@ make %{?_smp_mflags} %install install -d -m 755 %{buildroot}%{_libdir}/engines-1.1 install -c -m 755 bin/gost.so %{buildroot}%{_libdir}/engines-1.1 +install -d -m 755 %{buildroot}%{_bindir} +install -d -m 755 %{buildroot}%{_mandir}/man1 +install -c -m 755 bin/gostsum %{buildroot}%{_bindir} +install -c -m 755 bin/gost12sum %{buildroot}%{_bindir} +install -c -m 644 gostsum.1 %{buildroot}%{_mandir}/man1 +install -c -m 644 gost12sum.1 %{buildroot}%{_mandir}/man1 %files %doc README.gost @@ -34,6 +50,12 @@ install -c -m 755 bin/gost.so %{buildroot}%{_libdir}/engines-1.1 %dir %{_libdir}/engines-1.1 %{_libdir}/engines-1.1/gost.so +%files -n gostsum +%{_bindir}/gostsum +%{_bindir}/gost12sum +%{_mandir}/man1/gostsum.1* +%{_mandir}/man1/gost12sum.1* + %changelog * Wed Aug 2 2017 Victor Wagner