libsodium-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Summary: a modern and easy-to-use crypto library
  2. Summary(ja): モダンで手軽に使える暗号化ライブラリー
  3. Name: libsodium
  4. Version: 1.0.18
  5. Release: 2%{?_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. %clean
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %check
  44. make check
  45. %files
  46. %defattr(-,root,root)
  47. %license LICENSE
  48. %doc AUTHORS ChangeLog THANKS README.*
  49. %{_libdir}/libsodium.so.*
  50. %files devel
  51. %defattr(-,root,root)
  52. %license LICENSE
  53. %doc AUTHORS ChangeLog THANKS README.*
  54. %{_libdir}/pkgconfig/libsodium.pc
  55. %{_libdir}/libsodium.so
  56. %{_includedir}/sodium.h
  57. %{_includedir}/sodium
  58. %changelog
  59. * Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-2
  60. - rebuilt with current environment.
  61. - dropped ldconfig scriptlets.
  62. * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-1
  63. - new upstream release.
  64. * Mon Jun 5 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.12-1
  65. - initial build for Vine Linux