Author: aredridel Date: Wed Feb 23 07:07:18 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added
---- Files affected: SPECS: ruby-ZenTest.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-ZenTest.spec diff -u /dev/null SPECS/ruby-ZenTest.spec:1.1 --- /dev/null Wed Feb 23 08:07:18 2005 +++ SPECS/ruby-ZenTest.spec Wed Feb 23 08:07:13 2005 @@ -0,0 +1,49 @@ +# $Revision$, $Date$ +Summary: Ruby Testing framework +Name: ruby-ZenTest +Version: 2.3.0 +Release: 1 +License: GPL +Group: Development/Languages +Source0: http://rubyforge.org/frs/download.php/1944/ZenTest-%{version}.tar.gz +# Source0-md5: f94eed12075025c3e7090520b95e8eab +BuildRequires: perl +Requires: ruby +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. + +For auditing, ZenTest provides an excellent means of finding methods that have slipped through the testing process. I've run it against my own software and found I missed a lot in a well tested package. Writing those tests found 4 bugs I had no idea existed. + +%prep +%setup -q -n ZenTest-%{version} + +%build +make +find . -name '*.rb' | xargs perl -pi -e "s#local/bin/ruby#bin/ruby#" + + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install ZenTest.rb $RPM_BUILD_ROOT%{_bindir}/ZenTest +install unit_diff.rb $RPM_BUILD_ROOT%{_bindir}/unit_diff + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/02/23 07:07:13 aredridel +- added + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
