Группа :: Разработка/Ruby
Пакет: ruby-test-unit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
%define pkgname test-unit
Name: ruby-%pkgname
Version: 2.0.2
Release: alt1.1
Summary: Ruby unit testing framework
Group: Development/Ruby
License: MIT/Ruby
Url: http://rubyforge.org/projects/test-unit/
Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>
BuildArch: noarch
Obsoletes: ruby-module-test-unit
Provides: ruby-module-test-unit = %version-%release
Source: %pkgname-%version.tar
Patch: %pkgname-%version-%release.patch
# Automatically added by buildreq on Tue May 12 2009 (-bi)
BuildRequires: rpm-build-ruby ruby-tool-rdoc ruby-tool-setup
%description
Test::Unit 2.x - Improved version of Test::Unit bundled in
Ruby 1.8.x.
%package doc
Summary: Documentation files for %name
Group: Documentation
%description doc
Documentation files for %name
%prep
%setup -n %pkgname-%version
%patch -p1
%update_setup_rb
%build
%ruby_config
%ruby_build
ruby test/run-test.rb
%install
%ruby_install
%rdoc lib/
%files
%doc README.txt History.txt
%_bindir/testrb
%ruby_sitelibdir/*
%files doc
%ruby_ri_sitedir/Test*
%changelog
…
Полный changelog можно просмотреть здесь
%define pkgname test-unit
Name: ruby-%pkgname
Version: 2.0.2
Release: alt1.1
Summary: Ruby unit testing framework
Group: Development/Ruby
License: MIT/Ruby
Url: http://rubyforge.org/projects/test-unit/
Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>
BuildArch: noarch
Obsoletes: ruby-module-test-unit
Provides: ruby-module-test-unit = %version-%release
Source: %pkgname-%version.tar
Patch: %pkgname-%version-%release.patch
# Automatically added by buildreq on Tue May 12 2009 (-bi)
BuildRequires: rpm-build-ruby ruby-tool-rdoc ruby-tool-setup
%description
Test::Unit 2.x - Improved version of Test::Unit bundled in
Ruby 1.8.x.
%package doc
Summary: Documentation files for %name
Group: Documentation
%description doc
Documentation files for %name
%prep
%setup -n %pkgname-%version
%patch -p1
%update_setup_rb
%build
%ruby_config
%ruby_build
ruby test/run-test.rb
%install
%ruby_install
%rdoc lib/
%files
%doc README.txt History.txt
%_bindir/testrb
%ruby_sitelibdir/*
%files doc
%ruby_ri_sitedir/Test*
%changelog
…
Полный changelog можно просмотреть здесь