File rubygem-stomp.spec of Package rubygem-stomp
# norootforbuild
Name: rubygem-stomp
Version: 1.0.6
Release: 1
#
Group: Development/Languages/Ruby
License: BSD 3-Clause
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
# BuildRequires: swig
Requires: rubygems >= 0.8.11
%define mod_name stomp
#
URL: http://rubyforge.org/projects/stomp/
Source: stomp-%{version}.gem
Source1: rubygem-native-rpmlintrc
#
Summary: A Ruby interface stomp
%description
Stuff
%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