File rubygem-needle.spec of Package rubygem-needle

#
# spec file for package rubygem-needle (Version 1.3.0)
#
# Copyright (c) 2006 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:           rubygem-needle
%define mod_name needle
#
Version:        1.3.0
Release:        2
#
Group:          Development/Languages/Ruby
License:        BSD
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems >= 0.8.11
#
URL:            http://needle.rubyforge.org
Source:         http://rubyforge.org/frs/download.php/7842/needle-1.3.0.gem
#
Summary:        A Dependency Injection/Inversion of Control container for Ruby

%description
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to provide
a rich and flexible approach to injecting dependencies



Authors:
--------
    Jamis Buck <jamis@37signals.com>

%prep

%build

%install
gem install --build-root=%{buildroot} %{S:0}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/

%changelog -n rubygem-needle
* Wed Jun 21 2006 - mrueckert@suse.de
- use rubygems_with_buildroot_patch instead of the versioned
  buildrequires
* Mon Jun 19 2006 - mrueckert@suse.de
- Initial package version 1.3.0
openSUSE Build Service is sponsored by