Package gem-x25519: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname x25519 Name: gem-x25519 Version: 1.0.10 Release: alt1 Summary: Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function License: BSD-3-Clause Group: Development/Ruby Url: https://cr.yp.to/ecdh.html Vcs: https://github.com/rubycrypto/x25519.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> Source: %name-%version.tar Patch: fix-arches.patch BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(bundler) >= 2.1 BuildRequires: gem(rake) >= 0 BuildRequires: gem(rake-compiler) >= 1.0 BuildRequires: gem(rspec) >= 3.10 BuildRequires: gem(rubocop) >= 1.15.0 BuildConflicts: gem(bundler) >= 3 BuildConflicts: gem(rake-compiler) >= 2 BuildConflicts: gem(rspec) >= 4 BuildConflicts: gem(rubocop) >= 2 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rubocop >= 1.15.0,rubocop < 2 Provides: gem(x25519) = 1.0.10 %description An efficient public key cryptography library for Ruby providing key exchange/agreement via the X25519 (a.k.a. Curve25519) Elliptic Curve Diffie-Hellman function as described in RFC 7748. %if_enabled doc %package -n gem-x25519-doc Version: 1.0.10 Release: alt1 Summary: Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета x25519 Group: Development/Documentation BuildArch: noarch Requires: gem(x25519) = 1.0.10 %description -n gem-x25519-doc Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function documentation files. An efficient public key cryptography library for Ruby providing key exchange/agreement via the X25519 (a.k.a. Curve25519) Elliptic Curve Diffie-Hellman function as described in RFC 7748. %description -n gem-x25519-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета x25519. %endif %if_enabled devel %package -n gem-x25519-devel Version: 1.0.10 Release: alt1 Summary: Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета x25519 Group: Development/Ruby BuildArch: noarch Requires: gem(x25519) = 1.0.10 Requires: gem(bundler) >= 2.1 Requires: gem(rake) >= 0 Requires: gem(rake-compiler) >= 1.0 Requires: gem(rspec) >= 3.10 Requires: gem(rubocop) >= 1.15.0 Conflicts: gem(bundler) >= 3 Conflicts: gem(rake-compiler) >= 2 Conflicts: gem(rspec) >= 4 Conflicts: gem(rubocop) >= 2 %description -n gem-x25519-devel Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function development package. An efficient public key cryptography library for Ruby providing key exchange/agreement via the X25519 (a.k.a. Curve25519) Elliptic Curve Diffie-Hellman function as described in RFC 7748. %description -n gem-x25519-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета x25519. %endif %prep %setup %autopatch %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %if_enabled doc %files -n gem-x25519-doc %doc README.md %ruby_gemdocdir %endif %if_enabled devel %files -n gem-x25519-devel %doc README.md %ruby_includedir/* %endif %changelog * Thu Apr 18 2024 Pavel Skrylev <majioa@altlinux.org> 1.0.10-alt1 - + packaged gem with Ruby Policy 2.0 |