Package gem-libyajl2: 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 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname libyajl2 Name: gem-libyajl2 Version: 2.1.0.2 Release: alt0.1 Summary: gem to install the libyajl2 c-library for distributions which do not have it License: Apache-2.0 Group: Development/Ruby Url: https://github.com/chef/libyajl2-gem Vcs: https://github.com/chef/libyajl2-gem.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> Source: %name-%version.tar Patch: fix-extconf-rb.patch BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(bundler) >= 0 BuildRequires: gem(rake) >= 0 BuildRequires: gem(rake-compiler) >= 0 BuildRequires: gem(rspec) >= 0 BuildRequires: gem(ffi) >= 1.9 BuildRequires: gem(chefstyle) >= 0 BuildConflicts: gem(ffi) >= 2 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* Provides: gem(libyajl2) = 2.1.0.2 %ruby_use_gem_version libyajl2:2.1.0.2 %description gem to install the libyajl2 c-library for distributions which do not have it. %if_enabled doc %package -n gem-libyajl2-doc Version: 2.1.0.2 Release: alt0.1 Summary: gem to install the libyajl2 c-library for distributions which do not have it documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета libyajl2 Group: Development/Documentation BuildArch: noarch Requires: gem(libyajl2) = 2.1.0.2 %description -n gem-libyajl2-doc gem to install the libyajl2 c-library for distributions which do not have it documentation files. %description -n gem-libyajl2-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета libyajl2. %endif %if_enabled devel %package -n gem-libyajl2-devel Version: 2.1.0.2 Release: alt0.1 Summary: gem to install the libyajl2 c-library for distributions which do not have it development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета libyajl2 Group: Development/Ruby BuildArch: noarch Requires: gem(libyajl2) = 2.1.0.2 Requires: gem(bundler) >= 0 Requires: gem(rake) >= 0 Requires: gem(rake-compiler) >= 0 Requires: gem(rspec) >= 0 Requires: gem(ffi) >= 1.9 Requires: gem(chefstyle) >= 0 Conflicts: gem(ffi) >= 2 %description -n gem-libyajl2-devel gem to install the libyajl2 c-library for distributions which do not have it development package. %description -n gem-libyajl2-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета libyajl2. %endif %prep %setup %autopatch %build %ruby_build %install %ruby_install %check %ruby_test %files %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %if_enabled doc %files -n gem-libyajl2-doc %ruby_gemdocdir %endif %if_enabled devel %files -n gem-libyajl2-devel %endif %changelog * Wed Feb 14 2024 Pavel Skrylev <majioa@altlinux.org> 2.1.0.2-alt0.1 - ^ 2.1.0 -> 2.1.0p2 * Mon Oct 11 2021 Pavel Skrylev <majioa@altlinux.org> 2.1.0-alt2 - + fix to extconf.rb allowing to use system variable without pass arg to ENV - ! spec * Thu Sep 02 2021 Pavel Skrylev <majioa@altlinux.org> 2.1.0-alt1 - ^ 1.2.0 -> 2.1.0 * Tue Feb 05 2019 Pavel Skrylev <majioa@altlinux.org> 1.2.0-alt1 - Initial build to ALT of 1.2.0 with usage of Ruby Policy 2.0. |