Package gem-erubis: 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 | %define pkgname erubis Name: gem-%pkgname Version: 2.7.0 Release: alt5 Summary: A fast and extensible eRuby implementation License: MIT Group: Development/Ruby Url: http://www.kuwata-lab.com/erubis/ Vcs: https://github.com/kwatch/erubis.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %description Erubis is a fast, secure, and very extensible implementation of eRuby. It has the following features: * Very fast, almost three times faster than ERB and about ten percent faster than eruby (implemented in C). * File caching of converted Ruby script support. * Auto escaping (sanitizing) support, it means that '<%%= %%>' can be escaped in default. It is desirable for web application. * Spaces around '<%% %%>' are trimmed automatically only when '<%%' is at the beginning of line and '%%>' is at the end of line. * Embedded pattern changeable (default '<%% %%>'), for example '[%% %%]' or '<? ?>' are available. * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>'). This is desirable for XML/HTML than '<%% .. %%>' because the latter breaks HTML design but the former doesn't. * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript). * Context object available and easy to combine eRuby template with YAML datafile (see the below example). * Print statement available. * Easy to expand and customize in subclass * Ruby on Rails support. * Mod_ruby support. %package doc Summary: Documentation files for %gemname gem Summary(ru_RU.UTF-8): Файлы сведений для самоцвета %gemname Group: Development/Documentation BuildArch: noarch %description doc Documentation files for %gemname gem. %description doc -l ru_RU.UTF8 Файлы сведений для %gemname самоцвета. %package -n %pkgname Summary: Library file for %gemname gem Summary(ru_RU.UTF-8): Библиотеки для самоцвета %gemname Group: Development/Ruby BuildArch: noarch %description -n %pkgname Library file for %gemname gem. %description -n %pkgname -l ru_RU.UTF8 Библиотеки для %gemname самоцвета. %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc README* %ruby_gemspec %ruby_gemlibdir %files -n %pkgname %doc README* %_bindir/%gemname %files doc %ruby_gemdocdir %changelog * Wed Jul 08 2020 Pavel Skrylev <majioa@altlinux.org> 2.7.0-alt5 - + upstream gear repo - ! spec tags * Wed Jul 10 2019 Pavel Skrylev <majioa@altlinux.org> 2.7.0-alt4 - > Ruby Policy 2.0 * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 2.7.0-alt3.1 - Rebuild with new Ruby autorequirements. * Fri Feb 09 2018 Andrey Cherepanov <cas@altlinux.org> 2.7.0-alt3 - Fix ruby(compiler) unmet and remove Rails helper * Tue Oct 04 2016 Andrey Cherepanov <cas@altlinux.org> 2.7.0-alt2 - Rebuild without ruby-actionpack * Mon Feb 16 2015 Andrey Cherepanov <cas@altlinux.org> 2.7.0-alt1 - Initial build for ALT Linux (without tests) |