packages: rubinius/rubinius.spec - 1.2.0 - add ruby subpackage, providing r...

aredridel aredridel at pld-linux.org
Mon Dec 27 04:33:40 CET 2010


Author: aredridel                    Date: Mon Dec 27 03:33:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 1.2.0
- add ruby subpackage, providing ruby executables

---- Files affected:
packages/rubinius:
   rubinius.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/rubinius/rubinius.spec
diff -u packages/rubinius/rubinius.spec:1.2 packages/rubinius/rubinius.spec:1.3
--- packages/rubinius/rubinius.spec:1.2	Tue Jun  1 07:45:13 2010
+++ packages/rubinius/rubinius.spec	Mon Dec 27 04:33:34 2010
@@ -2,20 +2,20 @@
 
 Summary:	Ruby Interpreter
 Name:		rubinius
-Version:	1.0.0
+Version:	1.2.0
 Release:	1
 License:	BSD
-Group:		Libraries
+Group:		Development/Languages
 URL:		http://rubini.us/
-Source0:	http://asset.rubini.us/%{name}-%{version}-20100514.tar.gz
-# Source0-md5:	b05f4e791d3712c5a50b3d210dac6eb0
+Source0:	http://asset.rubini.us/%{name}-%{version}-20101221.tar.gz
+# Source0-md5:	4284c2660f1f648942de35d4fc871f70
 %if "%{pld_release}" == "ac"
 BuildRequires:	gcc >= 5:4.0
 %else
 BuildRequires:	gcc >= 6:4.0
 %endif
 BuildRequires:	llvm-devel
-BuildRequires:	rake
+BuildRequires:	ruby-rake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,12 +23,22 @@
 performance balanced with accessibility, focusing on improving
 programming productivity
 
+%package ruby
+Summary:	Rubinius as "ruby"
+Group:		Development/Languages
+Requires:	%{name} = %{version}
+Provides:	ruby
+
+%description ruby
+"gem", "irb", "rake", "rdoc", "ri" and "ruby" executables that invoke
+the Rubinius runtime.
+
 %prep
 %setup -q
 RELEASE=true \
 	./configure --prefix=%{_prefix} \
 	--bindir=%{_bindir} \
-	--includedir=%{_includedir}/%{name}/1.0 \
+	--includedir=%{_includedir}/%{name}/1.2 \
 	--libdir=%{_libdir} \
 	--mandir=%{_mandir} \
 	--gemsdir=%{_libdir}
@@ -49,19 +59,35 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/rbx
 %dir %{_includedir}/rubinius
-%{_includedir}/rubinius/1.0
+%{_includedir}/rubinius/1.2
 %dir %{_libdir}/rubinius
-%dir %{_libdir}/rubinius/1.0
-%{_libdir}/rubinius/1.0/lib
-%{_libdir}/rubinius/1.0/runtime
+%dir %{_libdir}/rubinius/1.2
+%{_libdir}/rubinius/1.2/lib
+%{_libdir}/rubinius/1.2/runtime
 %{_libdir}/rubinius/preinstalled
 
+%files ruby
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gem
+%attr(755,root,root) %{_bindir}/irb
+%attr(755,root,root) %{_bindir}/rake
+%attr(755,root,root) %{_bindir}/rdoc
+%attr(755,root,root) %{_bindir}/ri
+%attr(755,root,root) %{_bindir}/ruby
+%{_libdir}/bin/rake
+%{_libdir}/bin/rdoc
+%{_libdir}/bin/ri
+
 %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.3  2010/12/27 03:33:34  aredridel
+- 1.2.0
+- add ruby subpackage, providing ruby executables
+
 Revision 1.2  2010/06/01 05:45:13  aredridel
 - working
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rubinius/rubinius.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list