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