Package ruby-gettext: 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 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | # vim: set ft=spec: -*- rpm-spec -*- Name: ruby-gettext Version: 2.1.0 Release: alt2.qa1.2.M80C.1 Summary: Native Language Support Library for Ruby Group: Development/Ruby License: LGPL Url: http://rubyforge.org/projects/gettext/ BuildArch: noarch Obsoletes: %name-cgi Obsoletes: %name-erb Provides: %name-cgi = %version-%release Provides: %name-erb = %version-%release # Automatically added by buildreq on Wed May 06 2009 (-bi) BuildRequires: rpm-build-ruby ruby-locale ruby-racc-runtime ruby-rake ruby-tool-rdoc ruby-tool-setup BuildRequires: ruby-test-unit Source: %name-package-%version.tar Patch: %name-%version-%release.patch %description Ruby GetText Package is Native Language Support Library and Tools which modeled after GNU gettext package. Features: * Simple APIs(similar GNU gettext) * rgettext creates po-files from ruby scripts. The po-file is compatible to GNU gettext. * rmsgfmt creates a mo-file from a po-file. %package utils Summary: GetText utils Group: Development/Ruby %description utils GetText utils %package doc Summary: Documentation files for %name Group: Documentation %description doc Documentation files for %name %prep %setup -n %name-package-%version %patch -p1 %update_setup_rb %build %ruby_config %ruby_build %install %ruby_install %rdoc lib/ %find_lang rgettext # It is the file in the package whose name matches the format emacs or vim uses # for backup and autosave files. It may have been installed by accident. find $RPM_BUILD_ROOT \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete # failsafe cleanup if the file is declared as %%doc find . \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete %check %if %(rpmvercmp %version 2.0) < 0 cd test %ruby_vendor -I../lib -e 'require "gettext/tools"; GetText.create_mofiles(:mo_root => "locale")' find . -name 'test_*.rb' -print0 | xargs -r0 -n 1 %ruby_test_unit -I../lib -I./ %endif %files %ruby_sitelibdir/* %exclude %ruby_sitelibdir/gettext/parser %exclude %ruby_sitelibdir/gettext/tools %exclude %ruby_sitelibdir/gettext/tools.rb %exclude %ruby_sitelibdir/gettext/utils.rb %doc README.rdoc %files -f rgettext.lang utils %_bindir/rgettext %_bindir/rmsgfmt %_bindir/rmsgmerge %ruby_sitelibdir/gettext/parser %ruby_sitelibdir/gettext/tools %ruby_sitelibdir/gettext/tools.rb %ruby_sitelibdir/gettext/utils.rb %files doc %doc samples ChangeLog* %ruby_ri_sitedir/GetText* %changelog * Mon May 14 2018 Andrey Cherepanov <cas@altlinux.org> 2.1.0-alt2.qa1.2.M80C.1 - Rebuild with Ruby 2.4.4 * Fri Mar 14 2014 Led <led@altlinux.ru> 2.1.0-alt2.qa1.2 - fixed build without system iconv module - remove using deprecated 'all_load_paths' - disable %%check for ruby >= 2.0 - iconv.rb: set encoding UTF-8 * Sun Dec 09 2012 Led <led@altlinux.ru> 2.1.0-alt2.qa1.1 - Rebuilt with ruby-1.9.3-alt1 - fixed BuildRequires * Mon Aug 27 2012 Repocop Q. A. Robot <repocop@altlinux.org> 2.1.0-alt2.qa1 - NMU (by repocop). See http://www.altlinux.org/Tools/Repocop - applied repocop fixes: * backup-file-in-package for ruby-gettext-doc * Mon Mar 21 2011 Andriy Stepanov <stanv@altlinux.ru> 2.1.0-alt2 - Rebuild with new version. * Sun Apr 11 2010 Alexey I. Froloff <raorn@altlinux.org> 2.1.0-alt1 - [2.1.0] * Tue Oct 13 2009 Alexey I. Froloff <raorn@altlinux.org> 2.0.4-alt1 - [2.0.4] * Wed May 06 2009 Alexey I. Froloff <raorn@altlinux.org> 2.0.1-alt1 - [2.0.1] * Sun Aug 31 2008 Sir Raorn <raorn@altlinux.ru> 1.92.0-alt2 - Rebuilt wth new rpm-build-ruby * Wed Aug 13 2008 Sir Raorn <raorn@altlinux.ru> 1.92.0-alt1 - [1.92.0] * Sun Jul 13 2008 Sir Raorn <raorn@altlinux.ru> 1.91.0-alt1 - [1.91.0] * Mon Mar 31 2008 Sir Raorn <raorn@altlinux.ru> 1.90.0-alt1 - [1.90.0] - Package made noarch * Wed Jan 23 2008 Sir Raorn <raorn@altlinux.ru> 1.10.0-alt3 - Added doc subpackage * Sun Jan 13 2008 Sir Raorn <raorn@altlinux.ru> 1.10.0-alt2 - Split package to pieces: + ruby-gettext - common modules + utils - development utilites + rails - Ruby on Rails gettext support + cgi - CGI gettext support + erb - eRuby gettext support - Removed obsolete be rmsgfmt translation - Removed 'gettext/iconv', use 'iconv' module - Removed win32 support * Wed Aug 22 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.10.0-alt1 - 1.10.0 source tree. * Tue May 08 2007 Pavlov Konstantin <thresh@altlinux.ru> 1.9.0-alt1 - 1.9.0. * Fri Apr 21 2006 Vital Khilko <vk@altlinux.ru> 1.4.0-alt1 - 1.4.0 * Tue Nov 15 2005 Vital Khilko <vk@altlinux.ru> 1.0.0-alt1 - 1.0.0 * Thu Sep 08 2005 Vital Khilko <vk@altlinux.ru> 0.6.1-alt2 - fixed locale dir * Tue Sep 28 2004 Vital Khilko <vk@altlinux.ru> 0.5.3-alt3 - fixed locale.rb for new global variable RUBY_PLATFORM * Mon Sep 27 2004 Vital Khilko <vk@altlinux.ru> 0.5.3-alt2 - rebuilded with new ruby * Wed Mar 31 2004 Vital Khilko <vk@altlinux.ru> 0.5.3-alt1 - initial build for altlinux sisyphus. - added belarusian translation |