]> www.wagner.pp.ru Git - openssl-gost/rpm.git/blob - openssl-gost-engine.spec
Added gostsum rpm package
[openssl-gost/rpm.git] / openssl-gost-engine.spec
1 Name:   openssl-gost-engine
2 Version:        
3 Release:        1%{?dist}
4 Summary: Loadable module for openssl implementing GOST cryptoalgoritms  
5
6 Group:  Libraries/Cryptography  
7 License: OpenSSL        
8 URL: https://github.com/gost-engine/engine              
9 Source0: %{name}-%{version}.tar.bz2     
10
11 BuildRequires: cmake, openssl-devel     
12 Requires: openssl-libs  
13
14
15 %description
16
17 This package contains openssl module with software implementation of GOST cryptoalgorithms.
18
19 %package -n gostsum
20 Summary: utilities to compute GOST hashes
21 Group: Utilities/Cryptography
22 License: OpenSSL
23
24 %description -n gostsum
25 Gostsum and gost12sum are utilities, similar to md5sum or sha1sum which computes
26
27
28 %prep
29 %setup -q
30
31
32 %build
33 cmake .
34 make %{?_smp_mflags}
35
36
37 %install
38 install -d -m 755 %{buildroot}%{_libdir}/engines-1.1
39 install -c -m 755 bin/gost.so %{buildroot}%{_libdir}/engines-1.1
40 install -d -m 755 %{buildroot}%{_bindir}
41 install -d -m 755 %{buildroot}%{_mandir}/man1
42 install -c -m 755 bin/gostsum %{buildroot}%{_bindir}
43 install -c -m 755 bin/gost12sum %{buildroot}%{_bindir}
44 install -c -m 644 gostsum.1 %{buildroot}%{_mandir}/man1
45 install -c -m 644 gost12sum.1 %{buildroot}%{_mandir}/man1
46
47 %files
48 %doc README.gost
49 %doc README.md
50 %dir %{_libdir}/engines-1.1
51 %{_libdir}/engines-1.1/gost.so
52
53 %files -n gostsum
54 %{_bindir}/gostsum
55 %{_bindir}/gost12sum
56 %{_mandir}/man1/gostsum.1*
57 %{_mandir}/man1/gost12sum.1*
58
59 %changelog
60
61 * Wed Aug  2 2017 Victor Wagner <vitus@wagner.pp.ru>
62 - initial release
63