Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (48 sloc) 1.73 KB
# Generated from rjb-1.2.0.gem by gem2rpm -*- rpm-spec -*-
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname rjb
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: Ruby Java bridge
Name: rubygem-%{gemname}
Version: 1.2.0
Release: 2%{?dist}
Group: Development/Languages
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.8
Requires: rubygems
Requires: java >= 1.5
BuildRequires: rubygems
BuildRequires: ruby-devel
BuildRequires: java-devel
Provides: rubygem(%{gemname}) = %{version}
RJB is a bridge program that connect between Ruby and Java with Java Native
%setup -q -c -T
JAVA_HOME=/usr/lib/jvm/java gem install --local \
--install-dir .%{gemdir} --force --rdoc %{SOURCE0}
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
cp -R . %{buildroot}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%doc %{gemdir}/doc/%{gemname}-%{version}
* Tue May 11 2010 Adam Young <> - 1.2.0-2
- Package now doe s the gem install in the build stage, as that causes all of the C based RPM magic to work, including the generation of the debuginfo package.
- Changed define to global
- added dependencies needed to build cleanly in a mock environment
* Wed Mar 31 2010 Adam Young <> - 1.2.0-1
- Initial package
Jump to Line
Something went wrong with that request. Please try again.