[packages/ruby] - pl for -rdoc and -rubygems (what should be rubygems epoch BTW?) - use _target_cpu instead of _arch
qboosh
qboosh at pld-linux.org
Sun Apr 7 16:10:41 CEST 2013
commit 3349e6ba258be2dd04134405f83665c3bfea6c92
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 7 16:10:47 2013 +0200
- pl for -rdoc and -rubygems (what should be rubygems epoch BTW?)
- use _target_cpu instead of _arch in legacy*archdir definitions (for rpm 4.5/5.x compatibility)
ruby.spec | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index e185b79..9f275cd 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -118,13 +118,13 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# TODO: drop legacy loadpaths after all ruby modules rebuilt in Th
%define legacy_libdir %{_libdir}/%{name}/%{ruby_version}
-%define legacy_archdir %{_libdir}/%{name}/%{ruby_version}/%{_arch}-linux
+%define legacy_archdir %{_libdir}/%{name}/%{ruby_version}/%{_target_cpu}-linux
%define legacy_sitedir %{_libdir}/%{name}/%{sitedir}
%define legacy_sitelibdir %{_libdir}/%{name}/%{sitedir}/%{ruby_version}
-%define legacy_sitearchdir %{_libdir}/%{name}/%{sitedir}/%{ruby_version}/%{_arch}-linux
+%define legacy_sitearchdir %{_libdir}/%{name}/%{sitedir}/%{ruby_version}/%{_target_cpu}-linux
%define legacy_vendordir %{_libdir}/%{name}/%{vendordir}
%define legacy_vendorlibdir %{_libdir}/%{name}/%{vendordir}/%{ruby_version}
-%define legacy_vendorarchdir%{_libdir}/%{name}/%{vendordir}/%{ruby_version}/%{_arch}-linux
+%define legacy_vendorarchdir %{_libdir}/%{name}/%{vendordir}/%{ruby_version}/%{_target_cpu}-linux
%define legacy_siteloadpath %{legacy_sitelibdir}\\0%{legacy_sitearchdir}\\0%{legacy_sitedir}
%define legacy_vendorloadpath %{legacy_vendorarchdir}
@@ -265,6 +265,7 @@ Przykłady programów w języku Ruby.
# IMPORTANT: keep this as last package, as we reset Epoch
%package rdoc
Summary: A tool to generate HTML and command-line documentation for Ruby projects
+Summary(pl.UTF-8): Narzędzie do generowania dokumentacji HTML i linii poleceń dla projektów w Rubym
Version: %{rdoc_ver}
Epoch: 0
License: GPL v2 and Ruby and MIT
@@ -276,8 +277,14 @@ RDoc produces HTML and command-line documentation for Ruby projects.
RDoc includes the 'rdoc' and 'ri' tools for generating and displaying
online documentation.
+%description rdoc -l pl.UTF-8
+RDoc tworzy dokumentację HTML i linii poleceń dla projektów w języku
+Ruby. RDoc zawiera narzędzia 'rdoc' i 'ri' do generowania i
+wyświetlania dokumentacji online.
+
%package rubygems
-Summary: The Ruby standard for packaging ruby libraries
+Summary: RubyGems - the Ruby standard for packaging Ruby libraries
+Summary(pl.UTF-8): RubyGems - standard Ruby'ego pakietowania bibliotek
Version: %{rubygems_ver}
License: Ruby or MIT
Group: Development/Libraries
@@ -292,6 +299,10 @@ BuildArch: noarch
RubyGems is the Ruby standard for publishing and managing third party
libraries.
+%description rubygems -l pl.UTF-8
+RubyGems to standardowe narzędzie języka Ruby do publikowania i
+zarządzania zewnętrznymi bibliotekami.
+
%prep
%if %{with bootstrap}
%setup -q -n %{name}-%{basever}-p%{patchlevel} -a1 -a2 -a3 -a100
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/3349e6ba258be2dd04134405f83665c3bfea6c92
More information about the pld-cvs-commit
mailing list