File rubygems.spec of Package rubygems
#
# spec file for package rubygems (Version 1.2.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rubygems
Version: 1.2.0
Release: 3.pzb
#
License: Other uncritical OpenSource License
Group: Development/Languages/Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-devel ruby_with_187_vendor
Requires: ruby-devel
Requires: ruby(abi) = %{rb_ver}
#
URL: http://rubyforge.org/projects/rubygems/
Source0: %{name}-%{version}.tgz
Source1: gem_build_cleanup
Source10: rubygems-rpmlintrc
Patch1: rubygems-1.2.0-vendor.patch
#
Summary: The Ruby standard for publishing and managing third party libraries
%description
RubyGems is the Ruby standard for publishing and managing third party
libraries.
Authors:
--------
Rich Kilmer <rich@infoether.com>
Chad Fowler <chad@chadfowler.com>
David Black <dblack@wobblini.net>
Paul Brannan <paul@atdesk.com>
Jim Weirich <jim@weirichhouse.org>
Gavin Sinclair <gsinclair@soyabean.com.au>
George Marrows <george.marrows@ntlworld.com>
Dick Davies <rasputnik@hellooperator.net>
Mauricio Fernandez <batsman.geo@yahoo.com>
Simon Strandgaard <neoneye@adslhome.dk>
Dave Glasser <glasser@mit.edu>
Paul Duncan <pabs@pablotron.org>
Ville Aine <vaine@cs.helsinki.fi>
Ryan Davis
Eric Hodel <drbrain@segment7.net>
%prep
%setup
%patch1 -p1
find test -type f -perm /111 -print0 | xargs -0 chmod -v a-x
%install
ruby setup.rb --vendor --destdir="%{buildroot}"
%{__install} -D -m 0755 %{S:1} %{buildroot}%{_bindir}/gem_build_cleanup
%clean
%{__rm} -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc ChangeLog GPL.txt LICENSE.txt README TODO
%doc test/ pkgs/
%{_bindir}/*
%{_libdir}/ruby/gems
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/rbconfig
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/*.rb
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/rubygems
%changelog
* Tue Aug 12 2008 pzb@novell.com
- Add gem_build_cleanup script from darix's package
- Minor spec tweaks
* Mon Aug 11 2008 pzb@novell.com
- Back to arch specific
- Remove gem --destdir patch; latest versions work fine with
--bindir and --install-dir
* Fri Aug 1 2008 pzb@novell.com
- Add backwards compatibility patch to allow -B/--build-root
- Make noarch
* Fri Jul 25 2008 pzb@novell.com
- Update to 1.2.0
- Create destdir patch based on darix's buildroot patch
- Remove check for ruby 1.8.7 to use --vendor