Author: glen Date: Mon Feb 7 23:39:04 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/ruby-rbtree: ruby-rbtree.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ruby-rbtree/ruby-rbtree.spec diff -u /dev/null packages/ruby-rbtree/ruby-rbtree.spec:1.1 --- /dev/null Tue Feb 8 00:39:04 2011 +++ packages/ruby-rbtree/ruby-rbtree.spec Tue Feb 8 00:38:59 2011 @@ -0,0 +1,50 @@ +# $Revision$, $Date$ +Summary: Ruby/RBTree +Name: ruby-rbtree +Version: 0.3.0 +Release: 1 +License: BSD +Group: Development/Languages +Source0: http://rubyforge.org/frs/download.php/67118/rbtree-%{version}.tar.gz +# Source0-md5: 1bb99fba5b15bcfeaae75271c3c60043 +URL: http://raa.ruby-lang.org/project/ruby-rbtree/ +Requires: ruby >= 1:1.8 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +RBTree is a sorted associative collection that is implemented with +Red-Black Tree. The elements of RBTree are ordered and its interface +is the almost same as Hash, so simply you can consider RBTree sorted +Hash. + +%prep +%setup -qn rbtree-%{version} + +%build +%{__ruby} extconf.rb +%{__make} \ + CC="%{__cc}" \ + LDFLAGS="%{rpmldflags}" \ + CFLAGS="%{rpmcflags} -fPIC" + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog LICENSE README test.rb +%attr(755,root,root) %{ruby_sitearchdir}/rbtree.so + +%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 2011/02/07 23:38:59 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
