File dba-ruby-rubygems-193.spec.tmpl of Package dba-ruby-rubygems-193
#
# !!!!!
#
# DO NOT EDIT the .spec file directly, edit the .tmpl instead and call _run_me.sh
# then TEST-BUILD, "osc addremove *" and commit
#
# !!!!!
#
%define pkg_name dba-ruby-rubygems
%define real_vers 1.9.3
%define pkg_vers 193
%define dba_ruby_pkg dba-ruby-193
%define dba_ruby_path /DBA/ruby/1.9.3
%define prefix %{dba_ruby_path}
%define gempath %{dba_ruby_path}/lib/ruby/gems/1.9.1
Name: %{pkg_name}-%{pkg_vers}
Version: %{real_vers}
Summary: Ruby GEMS built for %{dba_ruby_pkg}
Release: 1%{?dist}
Epoch: 1
Vendor: %{?_host_vendor}
License: ASL 2.0/various
Group: System Environment/Base
URL: http://rubygems.org/downloads/
###sed_source###
BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build
Prefix: %{prefix}
Requires: ruby(abi) >= 1.9
Requires: %{dba_ruby_pkg}
BuildRequires: %{dba_ruby_pkg}
%if 0%{?suse_version}
BuildRequires: -post-build-checks
BuildRequires: dba-openssl-098r
%endif
%description
Ruby GEMS built for %{dba_ruby_pkg}
GEMs from http://rubygems.org/downloads/
%package all
Summary: Metapackage: install all Ruby GEMs built for %{dba_ruby_pkg}
Group: System Environment/Base
###sed_meta###
%description all
Metapackage to install all GEMs together
Ruby GEMS built for %{dba_ruby_pkg}
GEMs from http://rubygems.org/downloads/
###sed_package###
%prep
cd %{_builddir}
gempath=$(%{dba_ruby_path}/bin/gem environment gempath | awk 'BEGIN {FS=":"} { print $1}')
###sed_prep###
ls %{_builddir}
%build
%install
mkdir -p %{buildroot}
mkdir -p %{buildroot}%{gempath}
###sed_install###
%clean
%{__rm} -rf %{buildroot}
%files all
%defattr(-,root,root,-)
###sed_files###
%changelog