libsodium-vl.spec 2.0 KB

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