SPECS: ruby-rcodetools.spec (NEW) - added

aredridel aredridel at pld-linux.org
Thu Mar 8 07:21:49 CET 2007


Author: aredridel                    Date: Thu Mar  8 06:21:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   ruby-rcodetools.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ruby-rcodetools.spec
diff -u /dev/null SPECS/ruby-rcodetools.spec:1.1
--- /dev/null	Thu Mar  8 07:21:49 2007
+++ SPECS/ruby-rcodetools.spec	Thu Mar  8 07:21:44 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+Summary:	A tiny web framework
+Name:		ruby-rcodetools
+Version:	0.4.0
+Release:	1
+License:	Ruby's
+Group:		Development/Languages
+Source0:	http://eigenclass.org/static/rcodetools/rcodetools-%{version}.tar.gz
+# Source0-md5:	514837196e2a9aab507dd325bc5753af
+URL:		http://eigenclass.org/hiki.rb?rcodetools
+BuildRequires:	rake
+BuildRequires:	rpmbuild(macros) >= 1.277
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+rcodetools is a collection of Ruby code manipulation tools. It
+includes xmpfilter and editor-independent Ruby development helper
+tools, as well as emacs and vim interfaces.
+
+Currently, rcodetools comprises:
+- xmpfilter: automagic Test::Unit assertions/RSpec expectations and
+  code annotations
+- rct-complete: 100% accurate method/class/constant etc. completion
+- rct-doc: document browsing and code navigator
+- rct-meth-args: precise method info (meta-prog. aware) and TAGS
+  generation
+
+
+%prep
+%setup -q -n rcodetools-%{version}
+
+%build
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc --op rdoc lib
+rdoc --ri --op ri lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+ruby setup.rb install \
+	--prefix=$RPM_BUILD_ROOT
+
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc README* THANKS
+%attr(755,root,root) %{_bindir}/*
+%{ruby_rubylibdir}/rcodetools
+%{ruby_rubylibdir}/method_analyzer.rb
+%{ruby_ridir}/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/08 06:21:44  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list