File rubygem-git.spec of Package rubygem-git
# norootforbuild
Name: rubygem-git
Version: 1.0.7
Release: 1
#
Group: Development/Languages/Ruby
License: BSD 3-Clause
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
BuildRequires: git-core
# BuildRequires: swig
Requires: rubygems >= 0.8.11
Requires: git >= 1.5
%define mod_name schacon-git
#
URL: http://sqlite-ruby.rubyforge.org/
Source: http://gems.github.com/gems/schacon-git-1.0.7.gem
Source1: rubygem-native-rpmlintrc
#
Summary: A Ruby interface for git
%description
A ruby interface for git.
%prep
%build
%install
gem install --build-root=%{buildroot} %{S:0}
gem_build_cleanup %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%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