LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File rubygem-activeresource-2_3_8.spec of Package rubygem-activeresource-2_3_8 (Project home:a_kireev:ruby)

#norootforbuild

Name:           rubygem-activeresource-2_3_8
Version:        2.3.8
Release:        1.0
%define mod_name activeresource
#
Group:          Development/Languages/Ruby
License:        X11/MIT
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems > 0.9
Provides:       rubygem-%{mod_name} = %{version}-%{release}
# Obsoletes:      rubygem-%{mod_name} < %{version}
BuildRequires:  rubygem-activesupport-2_3_8 = 2.3.8
Requires:       rubygem-activesupport-2_3_8 = 2.3.8
#
Url:            http://rubyforge.org/projects/activerecord/
Source:         activeresource-2.3.8.gem
#
Summary:        Active Resource
%description
Think Active Record for web resources.

Authors:
--------
    rails development team

%prep

%build

%install
gem install --local --build-root=%{buildroot} %{S:0}
find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -name \*.bak -print0 | xargs -r0 rm -v

%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