39 lines
1.1 KiB
RPMSpec
39 lines
1.1 KiB
RPMSpec
# originally from openSUSE, modified for integration with openEuelr package architecture
|
|
%global gem_name abstract_method
|
|
Name: rubygem-abstract_method
|
|
Version: 1.2.1
|
|
Release: 0
|
|
%define mod_name abstract_method
|
|
%define mod_full_name %{mod_name}-%{version}
|
|
BuildRequires: ruby-macros >= 5
|
|
BuildRequires: ruby
|
|
BuildRequires: rubygem-gem2rpm
|
|
BuildRequires: rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean)
|
|
Url: https://github.com/openSUSE/abstract_method
|
|
Source: http://rubygems.org/gems/%{mod_full_name}.gem
|
|
Summary: Tiny library enabling you to define abstract methods in Ruby classes
|
|
License: MIT
|
|
Group: Development/Languages/Ruby
|
|
|
|
%description
|
|
Abstract Method is a tiny library enabling you to define abstract methods in
|
|
Ruby classes and modules.
|
|
|
|
%prep
|
|
|
|
%build
|
|
%gem_install
|
|
%install
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
cp -a .%{gem_dir}/* \
|
|
%{buildroot}%{gem_dir}/
|
|
%files
|
|
%dir %{gem_instdir}
|
|
%license %{gem_instdir}/MIT-LICENSE
|
|
%{gem_libdir}
|
|
%exclude %{gem_cache}
|
|
%{gem_spec}
|
|
|
|
|
|
%changelog
|