You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.4 KiB
69 lines
1.4 KiB
13 years ago
|
# Generated from test_declarative-0.0.5.gem by gem2rpm -*- rpm-spec -*-
|
||
|
%global gem_name test_declarative
|
||
|
%global rubyabi 1.9.1
|
||
|
|
||
|
Summary: Simply adds a declarative test method syntax to test/unit
|
||
|
Name: rubygem-%{gem_name}
|
||
|
Version: 0.0.5
|
||
|
Release: 1%{?dist}
|
||
|
Group: Development/Languages
|
||
|
License: MIT
|
||
|
URL: http://github.com/svenfuchs/test_declarative
|
||
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
|
Requires: ruby(abi) = %{rubyabi}
|
||
|
Requires: ruby(rubygems)
|
||
|
BuildRequires: ruby(abi) = %{rubyabi}
|
||
|
BuildRequires: rubygems-devel
|
||
|
BuildRequires: rubygem(minitest)
|
||
|
BuildArch: noarch
|
||
|
Provides: rubygem(%{gem_name}) = %{version}
|
||
|
|
||
|
%description
|
||
|
Simply adds a declarative test method syntax to test/unit.
|
||
|
|
||
|
|
||
|
%package doc
|
||
|
Summary: Documentation for %{name}
|
||
|
Group: Documentation
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description doc
|
||
|
Documentation for %{name}
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c -T
|
||
|
mkdir -p .%{gem_dir}
|
||
|
gem install --local --install-dir .%{gem_dir} \
|
||
|
--force %{SOURCE0}
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}%{gem_dir}
|
||
|
cp -a .%{gem_dir}/* \
|
||
|
%{buildroot}%{gem_dir}/
|
||
|
|
||
|
%check
|
||
|
pushd .%{gem_instdir}
|
||
|
testrb test
|
||
|
popd
|
||
|
|
||
|
%files
|
||
|
%dir %{gem_instdir}
|
||
|
%exclude %{gem_cache}
|
||
|
%{gem_libdir}
|
||
|
%{gem_spec}
|
||
|
%doc %{gem_instdir}/MIT-LICENSE
|
||
|
|
||
|
%files doc
|
||
|
%doc %{gem_docdir}
|
||
|
%doc %{gem_instdir}/README.textile
|
||
|
%{gem_instdir}/test
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jan 20 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.0.5-1
|
||
|
- Initial package
|