Пакет gem-jquery-turbolinks: 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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | %define gemname jquery-turbolinks Name: gem-jquery-turbolinks Version: 2.1.0.1 Release: alt0.1 Summary: jQuery plugin for drop-in fix binded events problem caused by Turbolinks License: MIT Group: Development/Ruby Url: https://github.com/kossnocorp/jquery.turbolinks Vcs: https://github.com/kossnocorp/jquery.turbolinks.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar Patch: turbolinks-gem.patch BuildRequires(pre): rpm-build-ruby %if_with check BuildRequires: gem(uglifier) >= 0 BuildRequires: gem(guard) >= 0 BuildRequires: gem(guard-rake) >= 0 BuildRequires: gem(talks) = 0.4.0 BuildRequires: gem(terminal-notifier) >= 0 BuildRequires: gem(railties) >= 3.1.0 BuildRequires: gem(gitlab-turbolinks-classic) >= 0 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* Requires: gem(railties) >= 3.1.0 Requires: gem(gitlab-turbolinks-classic) >= 0 Provides: gem(jquery-turbolinks) = 2.1.0.1 %description This gem does not work with Turbolinks 5+, and is not compatible with many jQuery plugins. We do not recommend using it. Instead, please consider writing your JavaScript in a way that makes it compatible with Turbolinks. These resources can help: * RSJS - A reasonable structure for JS, a document outlining how to write JavaScript as "behaviors" that will be compatible with Turbolinks. * onmount - 1kb library to run something when a DOM element appears and when it exits. Rationale: making jQuery plugins compatible with Turbolinks requires more than simply dropping in a library. It should be able to setup and teardown its changes as needed, which is something you can't automate. jQuery Turbolinks's approach worked well enough for many libraries back in 2013, but today this is no longer the case. Given its utility is very limited, we've decided to no longer maintain this library. %package -n gem-jquery-turbolinks-doc Version: 2.1.0.1 Release: alt0.1 Summary: jQuery plugin for drop-in fix binded events problem caused by Turbolinks documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета jquery-turbolinks Group: Development/Documentation BuildArch: noarch Requires: gem(jquery-turbolinks) = 2.1.0.1 %description -n gem-jquery-turbolinks-doc jQuery plugin for drop-in fix binded events problem caused by Turbolinks documentation files. This gem does not work with Turbolinks 5+, and is not compatible with many jQuery plugins. We do not recommend using it. Instead, please consider writing your JavaScript in a way that makes it compatible with Turbolinks. These resources can help: * RSJS - A reasonable structure for JS, a document outlining how to write JavaScript as "behaviors" that will be compatible with Turbolinks. * onmount - 1kb library to run something when a DOM element appears and when it exits. Rationale: making jQuery plugins compatible with Turbolinks requires more than simply dropping in a library. It should be able to setup and teardown its changes as needed, which is something you can't automate. jQuery Turbolinks's approach worked well enough for many libraries back in 2013, but today this is no longer the case. Given its utility is very limited, we've decided to no longer maintain this library. %description -n gem-jquery-turbolinks-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета jquery-turbolinks. %package -n gem-jquery-turbolinks-devel Version: 2.1.0.1 Release: alt0.1 Summary: jQuery plugin for drop-in fix binded events problem caused by Turbolinks development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета jquery-turbolinks Group: Development/Ruby BuildArch: noarch Requires: gem(jquery-turbolinks) = 2.1.0.1 Requires: gem(uglifier) >= 0 %description -n gem-jquery-turbolinks-devel jQuery plugin for drop-in fix binded events problem caused by Turbolinks development package. This gem does not work with Turbolinks 5+, and is not compatible with many jQuery plugins. We do not recommend using it. Instead, please consider writing your JavaScript in a way that makes it compatible with Turbolinks. These resources can help: * RSJS - A reasonable structure for JS, a document outlining how to write JavaScript as "behaviors" that will be compatible with Turbolinks. * onmount - 1kb library to run something when a DOM element appears and when it exits. Rationale: making jQuery plugins compatible with Turbolinks requires more than simply dropping in a library. It should be able to setup and teardown its changes as needed, which is something you can't automate. jQuery Turbolinks's approach worked well enough for many libraries back in 2013, but today this is no longer the case. Given its utility is very limited, we've decided to no longer maintain this library. %description -n gem-jquery-turbolinks-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета jquery-turbolinks. %prep %setup %autopatch %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README.md %ruby_gemspec %ruby_gemlibdir %files -n gem-jquery-turbolinks-doc %doc README.md %ruby_gemdocdir %files -n gem-jquery-turbolinks-devel %doc README.md %changelog * Thu Jan 26 2023 Pavel Skrylev <majioa@altlinux.org> 2.1.0.1-alt0.1 - ^ 2.1.0 -> 2.1.0[1] * Fri May 15 2020 Pavel Skrylev <majioa@altlinux.org> 2.1.0-alt1.1 - ! spec syntax, and tags - ! replace require dep to gitlab-turbolinks-classic * Thu Jun 06 2019 Pavel Skrylev <majioa@altlinux.org> 2.1.0-alt1 - Initial build for Sisyphus, packaged as a gem with usage Ruby Policy 2.0. |