Package gem-patron: 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 | %define gemname patron Name: gem-patron Version: 0.13.3.1 Release: alt1.1 Summary: Patron HTTP Client License: MIT Group: Development/Ruby Url: https://github.com/toland/patron Vcs: https://github.com/toland/patron.git Packager: Pavel Skrylev <majioa@altlinux.org> Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby BuildRequires: libcurl-devel %if_with check BuildRequires: gem(rake) >= 12.3.3 BuildRequires: gem(bundler) >= 0 BuildRequires: gem(rspec) >= 2.3.0 BuildRequires: gem(simplecov) >= 0.10 BuildRequires: gem(yard) >= 0.9.20 BuildRequires: gem(rack) >= 2.1.4 BuildRequires: gem(puma) >= 3.11 BuildRequires: gem(rake-compiler) >= 0 BuildConflicts: gem(simplecov) >= 1 BuildConflicts: gem(yard) >= 0.10 BuildConflicts: gem(rack) >= 3 BuildConflicts: gem(puma) >= 6 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rack >= 2.2.2,rack < 3 %ruby_use_gem_dependency puma >= 5.2.2,puma < 6 Provides: gem(patron) = 0.13.3.1 %ruby_use_gem_version patron:0.13.3.1 %description Patron is a Ruby HTTP client library based on libcurl. It does not try to expose the full "power" (read complexity) of libcurl but instead tries to provide a sane API while taking advantage of libcurl under the hood. %package -n gem-patron-doc Version: 0.13.3.1 Release: alt1.1 Summary: Patron HTTP Client documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета patron Group: Development/Documentation BuildArch: noarch Requires: gem(patron) = 0.13.3.1 %description -n gem-patron-doc Patron HTTP Client documentation files. Patron is a Ruby HTTP client library based on libcurl. It does not try to expose the full "power" (read complexity) of libcurl but instead tries to provide a sane API while taking advantage of libcurl under the hood. %description -n gem-patron-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета patron. %package -n gem-patron-devel Version: 0.13.3.1 Release: alt1.1 Summary: Patron HTTP Client development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета patron Group: Development/Ruby BuildArch: noarch Requires: gem(patron) = 0.13.3.1 Requires: gem(rake) >= 12.3.3 Requires: gem(bundler) >= 0 Requires: gem(rspec) >= 2.3.0 Requires: gem(simplecov) >= 0.10 Requires: gem(yard) >= 0.9.20 Requires: gem(rack) >= 2.1.4 Requires: gem(puma) >= 3.11 Requires: gem(rake-compiler) >= 0 Conflicts: gem(simplecov) >= 1 Conflicts: gem(yard) >= 0.10 Conflicts: gem(rack) >= 3 Conflicts: gem(puma) >= 6 %description -n gem-patron-devel Patron HTTP Client development package. Patron is a Ruby HTTP client library based on libcurl. It does not try to expose the full "power" (read complexity) of libcurl but instead tries to provide a sane API while taking advantage of libcurl under the hood. %description -n gem-patron-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета patron. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %ruby_gemextdir %files -n gem-patron-doc %doc README.md %ruby_gemdocdir %files -n gem-patron-devel %doc README.md %ruby_includedir/* %changelog * Thu Jan 26 2023 Pavel Skrylev <majioa@altlinux.org> 0.13.3.1-alt1.1 - ! closes build deps under check condition * Wed Sep 21 2022 Pavel Skrylev <majioa@altlinux.org> 0.13.3.1-alt0.1 - ^ 0.13.3 -> 0.13.3[1] * Thu Jul 01 2021 Pavel Skrylev <majioa@altlinux.org> 0.13.3-alt1 - + packaged gem with Ruby Policy 2.0 |