SPECS: ruby-htree.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Wed Dec 6 02:53:55 CET 2006
Author: aredridel Date: Wed Dec 6 01:53:55 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-htree.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-htree.spec
diff -u /dev/null SPECS/ruby-htree.spec:1.1
--- /dev/null Wed Dec 6 02:53:55 2006
+++ SPECS/ruby-htree.spec Wed Dec 6 02:53:49 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary: An HTML parser
+Name: ruby-htree
+Version: 0.4
+Release: 1
+License: Ruby's
+Group: Development/Languages
+Source0: http://cvs.m17n.org/viewcvs/ruby/htree.tar.gz
+# Source0-md5: 8f9b47308463d267753a91e901b68c32
+URL: http://cvs.m17n.org/~akr/htree/
+BuildRequires: rake
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: setup.rb = 3.3.1
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+htree provides a tree data structure which represent HTML and XML data.
+
+%prep
+%setup -q -n htree
+cp %{_datadir}/setup.rb .
+
+%build
+mkdir lib
+mv htree.rb htree lib/
+ruby setup.rb config \
+ --rbdir=%{ruby_rubylibdir} \
+ --sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+# rdoc crashes on _why's craaazy code.
+#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
+%{ruby_rubylibdir}/htree*
+#%{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 2006/12/06 01:53:49 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list