libsodium-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Summary: a modern and easy-to-use crypto library
  2. Summary(ja): モダンで手軽に使える暗号化ライブラリー
  3. Name: libsodium
  4. Version: 1.0.20
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: iwaim
  10. License: ISC
  11. URL: https://github.com/jedisct1/libsodium
  12. Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz
  13. #BuildRequires:
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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: programming
  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. %debug_package
  31. %prep
  32. %setup -q
  33. %build
  34. ./autogen.sh
  35. %configure --enable-shared --disable-static
  36. %{__make} %{?_smp_mflags}
  37. %install
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  40. %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/libsodium.la
  41. %check
  42. make check
  43. %files
  44. %license LICENSE
  45. %doc AUTHORS ChangeLog THANKS README.*
  46. %{_libdir}/libsodium.so.*
  47. %files devel
  48. %license LICENSE
  49. %doc AUTHORS ChangeLog THANKS README.*
  50. %{_libdir}/pkgconfig/libsodium.pc
  51. %{_libdir}/libsodium.so
  52. %{_includedir}/sodium.h
  53. %{_includedir}/sodium
  54. %changelog
  55. * Fri Jul 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.20-1
  56. - new upstream release.
  57. * Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-2
  58. - rebuilt with current environment.
  59. - dropped ldconfig scriptlets.
  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