source: projects/specs/trunk/lib/libs/libsodium/libsodium-vl.spec @ 12327

Revision 12327, 2.0 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

dovecot-2.3.10-1

libsodium-1.0.18-1

screen-4.8.0-1

wireshark-3.2.2-1

Line 
1Summary: a modern and easy-to-use crypto library
2Summary(ja): モダンで手軽に使える暗号化ライブラリー
3Name: libsodium
4Version: 1.0.18
5Release: 1%{?_dist_release}
6Group: System Environment/Libraries
7License: ISC
8URL: https://github.com/jedisct1/libsodium
9Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz
10
11#BuildRequires:
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14Vendor: Project Vine
15Distribution: Vine Linux
16Packager: iwaim
17
18
19%description
20Sodium is a new, easy-to-use software library for encryption, decryption,
21signatures, password hashing and more.
22
23It is a portable, cross-compilable, installable, packageable fork of NaCl,
24with a compatible API, and an extended API to improve usability even further.
25
26Its goal is to provide all of the core operations needed to build
27higher-level cryptographic tools.
28
29%package devel
30Summary: Development files for %{name}
31Summary(ja): %{name} の開発ファイル
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36The %{name}-devel package contains libraries and header files for
37developing applications that use %{name}.
38
39
40%prep
41%setup -q
42
43
44%build
45./autogen.sh
46%configure --enable-shared --disable-static
47%{__make} %{?_smp_mflags}
48
49
50%install
51%{__rm} -rf ${RPM_BUILD_ROOT}
52%{__make} install DESTDIR=${RPM_BUILD_ROOT}
53
54%{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/libsodium.la
55
56
57%clean
58%{__rm} -rf ${RPM_BUILD_ROOT}
59
60
61%check
62make check
63
64
65%post -p /sbin/ldconfig
66
67%postun -p /sbin/ldconfig
68
69
70%files
71%defattr(-,root,root)
72%license LICENSE
73%doc AUTHORS ChangeLog THANKS README.*
74%{_libdir}/libsodium.so.*
75
76%files devel
77%defattr(-,root,root)
78%license LICENSE
79%doc AUTHORS ChangeLog THANKS README.*
80%{_libdir}/pkgconfig/libsodium.pc
81%{_libdir}/libsodium.so
82%{_includedir}/sodium.h
83%{_includedir}/sodium
84
85
86%changelog
87* Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-1
88- new upstream release.
89
90* Mon Jun  5 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.12-1
91- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.