-- 9bha9GC+WyEo1bF2lrW Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2003-06-25 at 19:44, John Carter wrote: > I would like to get / build a Mandrake 9.1 RPM for Ruby-1.8.0 Preview 3 > for distribution to a bunch of machines. > > Does anybody have such a beast or a 1.8 .spec file? > > Thanks, > > > John Carter Phone : (64)(3) 358 6639 > Tait Electronics Fax : (64)(3) 359 4632 > PO Box 1645 Christchurch Email : john.carter / tait.co.nz > New Zealand > > A Million Monkeys can inflict worse things than just Shakespeare on > your system. > -- 9bha9GC+WyEo1bF2lrW Content-Disposition: attachment; filename=ruby.spec Content-Type: text/plain; name=ruby.spec; charset=UTF-8 Content-Transfer-Encoding: quoted-printable # $Revision: 1.30 $, $Date: 2003/04/02 21:16:21 $ Summary: Ruby - interpreted scripting language Summary(ja): ¥ª¥Ö¥¸¥§¥¯¥È»Ø¸þ¸À¸ìRuby¥¤¥ó¥¿¥×¥ê¥¿ Summary(pl): Ruby - interpretowany jóÛyk skryptowy Summary(pt_BR): Linguagem de script orientada a objeto Summary(zh_CN): ruby - ¥á¥µ¥è¥è¥½øÍ¥ë¥¯¡¬¥ß¥¡¥ª¥È¥ÆìÑò¶ÔÏó½Å±¾±à³ÌÓïÑName: ruby Version: 1.8.0preview3 Release: 3 License: GPL Group: Development/Languages Source0: ftp://ftp.ruby-lang.org/pub/ruby/%{name}-1.8.0-preview3.tar.gz Source1: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}-texi-1.4-en.tar.gz Source2: http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/%{name}-uguide-981227.tar.gz Source3: ftp://ftp.ruby-lang.org/pub/ruby/doc/%{name}faq-990927.tar.gz Source4: irb.1 Patch0: %{name}-info.patch Patch1: %{name}-curses-terminfo.patch URL: http://www.ruby-lang.org/ BuildRequires: autoconf BuildRequires: gdbm-devel >= 1.8.3 BuildRequires: ncurses-devel BuildRequires: readline-devel >= 4.2 BuildRequires: texinfo BuildRequires: tk-devel Requires(post,postun):/sbin/ldconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: ruby-doc %description Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable. %description -l ja Ruby¤Ï¥·¥ó¥×¥ë¤«¤Ä¶¯ÎϤʥª¥Ö¥¸¥§¥¯¥È»Ø¸þ¥¹¥¯¥ê¥×¥È¸À¸ì¤Ç¤¹¡¥Ruby¤ÏºÇ½é ¤«¤é½ã¿è¤Ê¥ª¥Ö¥¸¥§¥¯¥È»Ø¸þ¸À¸ì¤È¤·¤ÆÀ߷פµ¤ì¤Æ¤¤¤Þ¤¹¤«¤é¡¤¥ª¥Ö¥¸¥§¥¯¥È »Ø¸þ¥×¥í¥°¥é¥ß¥ó¥°¤ò¼ê·Ú¤Ë¹Ô¤¦»ö¤¬½ÐÍè¤Þ¤¹¡¥¤â¤Á¤í¤óÄ̾ï¤Î¼ê³¤·¿¤Î¥× ¥í¥°¥é¥ß¥ó¥°¤â²Äǽ¤Ç¤¹¡¥ Ruby¤Ï¥Æ¥¥¹¥È½èÍý´Ø·¸¤ÎǽÎϤʤɤËÍ¥¤ì¡¤Perl¤ÈƱ¤¸¤¯¤é¤¤¶¯ÎϤǤ¹¡¥¤µ¤é ¤Ë¥·¥ó¥×¥ë¤Êʸˡ¤È¡¤Îã³°½èÍý¤ä¥¤¥Æ¥ì¡¼¥¿¤Ê¤É¤Îµ¡¹½¤Ë¤è¤Ã¤Æ¡¤¤è¤êʬ¤«¤ê ¤ä¤¹¤¤¥×¥í¥°¥é¥ß¥ó¥°¤¬½ÐÍè¤Þ¤¹¡¥ %description -l pl Ruby to interpretowany jóÛyk skryptowy, w sam raz dla ¥¦atwego i szybkiego pisania zorientowanych obiektowo program. Ma wiele funkcji utwiaj¥¢cych przetwarzanie plik tekstowych i wykonywanie prac zwianych z zarz¥¢dzaniem systemu (podobnie jak Perl). Jest prosty, rozszerzalny i przeno¥«ny. %description -l pt_BR Ruby uma linguagem de script interpretada de programaîåo orientada a objeto. Possui diversas caracterùÔticas para processamento de texto. ¥Î simples, extensù×el e direta. %package devel Group: Development/Languages Summary: Ruby development libraries %description devel Ruby development libraries %prep %setup -q -a1 -a2 -a3 -n ruby-1.8.0 %patch0 -p1 %patch1 -p1 perl -pi -e "s#local/bin/ruby#bin/ruby#" sample/* %build #%{__autoconf} %configure2_13 \ --enable-shared %{__make} %{__make} info -C %{name}-texi-1.4-en %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}} %{__make} install DESTDIR=$RPM_BUILD_ROOT install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} install %{name}-texi-1.4-en/ruby.info* $RPM_BUILD_ROOT%{_infodir} install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1 mv -f ruby-uguide guide mv -f rubyfaq faq %clean rm -rf $RPM_BUILD_ROOT %post [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 /sbin/ldconfig %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 /sbin/ldconfig %files %defattr(644,root,root,755) %doc guide faq misc README README.EXT ChangeLog ToDo %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.*.* %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/%{name} %{_mandir}/*/* %{_infodir}/* %{_examplesdir}/%{name}-%{version} %files devel %attr(644,root,root) %{_libdir}/lib*a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback / pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: ruby.spec,v $ Revision 1.30 2003/04/02 21:16:21 qboosh - updated to 1.6.8, updated ac25x patch Revision 1.29 2003/04/02 12:14:51 trojan - s#local/bin/ruby#bin/ruby# Revision 1.28 2003/03/31 09:45:51 qboosh - updated Source1 and Source3 URL Revision 1.27 2003/03/26 16:44:21 wiget - rebuild with new gdbm - release 2 Revision 1.26 2003/01/02 03:18:56 kloczek - merge translations from MIZI and TurboLinux. Revision 1.25 2002/12/24 17:15:12 qboosh - more specific Requires() Revision 1.24 2002/05/22 20:28:43 qboosh - added ac25x patch needed for autoconf 2.53 - removed workaround for ac - mkconfig.rb supports ac 2.52 now - longer info patch, fixed info pages are back - new %%doc Revision 1.23 2002/05/21 23:14:40 kloczek perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \ s/^automake -a -c -f/\%\{__automake\}/; \ s/^autoconf/\%\{__autoconf\}/" Revision 1.22 2002/05/20 07:50:36 pioklo - up to 1.6.7,STBR Revision 1.21 2002/05/20 07:07:42 pioklo -up to 1.6.7,STBR Revision 1.20 2002/05/18 20:26:41 mmazur - fixed error while building docs (that is turned of building docs :) though they seem to build anyhow. Well... no matah... STBR. - P.S. I'm not responsible... bite rmf if you don't like this "fix" :) Revision 1.19 2002/02/23 04:32:21 kloczek - adapterized. Revision 1.18 2002/02/22 23:29:42 kloczek - removed all Group fields translations (oure rpm now can handle translating Group field using gettext). Revision 1.17 2002/01/18 02:14:50 kloczek perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/" Revision 1.16 2002/01/03 05:28:10 kloczek - updated to 1.6.6 (bug fix release), - new Source url. Revision 1.15 2002/01/03 04:47:13 kloczek - release 5: ruby-doc added to Obsoletes for allow upgrade from MDK. Revision 1.14 2001/09/08 19:11:55 kloczek - release 4. Revision 1.13 2001/09/08 18:27:36 qboosh - added workaround for syntax errors on rbconfig.rb processing Revision 1.12 2001/09/06 23:13:47 kloczek - removed double listed files. Revision 1.11 2001/09/06 22:31:04 kloczek - bump release to release 3, - added irb(1) man page (stolen from RH resources). Revision 1.10 2001/09/06 22:20:42 kloczek - updated to 1.6.4, - regenerate ac files, - removed obsoletes readline patch. Revision 1.9 2001/07/27 20:22:32 migo '- added missing (pl) in pl Summary' Revision 1.8 2001/07/26 05:42:23 saq - reverting last change: removing new macros from %p{re,ost}{,un} Revision 1.6 2001/07/23 18:37:00 migo - added pl summary and/or description Revision 1.5 2001/04/13 16:32:15 wiget add patch to compile with readline 4.2; release 2 Revision 1.4 2001/03/29 07:58:45 mis - autoupdated to 1.6.3 Revision 1.3 2001/02/15 21:18:40 kloczek - added /sbin/ldconfig to Prereq, - added info patch with ruby info index entry fixes (added texinfo to BuildRequires), - few small cosmetics. NOTE: IMHO some files and dosumentations can be separated into devel subpackage. Revision 1.2 2001/02/15 17:35:23 qboosh - BuildRequires: gdbm-devel - removed XFree86-devel and tcl-devel from BR (tk-devel implies them) Revision 1.1 2000/12/30 15:46:59 mis - initial PLD version * Wed Nov 22 2000 Tim Powers <timp / redhat.com> - initial build for Powertools -- 9bha9GC+WyEo1bF2lrW Content-Disposition: attachment; filename=ruby-info.patch Content-Type: text/x-patch; name=ruby-info.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -Nru ruby-1.6.2/ruby-texi-1.4-en/Ruby.texi ruby-1.6.2.new/ruby-texi-1.4-en/Ruby.texi --- ruby-1.6.2/ruby-texi-1.4-en/Ruby.texi Sun Sep 26 19:16:22 1999 +++ ruby-1.6.2.new/ruby-texi-1.4-en/Ruby.texi Thu Feb 15 22:01:36 2001 @@ -23,9 +23,9 @@ @c c Part II: Summary Description and Copyright @ifinfo -@dircategory Languages +@dircategory Programming Languages: @direntry -* ruby: (ruby). Ruby Language Reference Manual (English) +* ruby: (ruby). Ruby Language Reference Manual @end direntry @quotation diff -Nru ruby-1.6.2/ruby-texi-1.4-en/Ruby.texi.in ruby-1.6.2.new/ruby-texi-1.4-en/Ruby.texi.in --- ruby-1.6.2/ruby-texi-1.4-en/Ruby.texi.in Sun Sep 26 18:32:38 1999 +++ ruby-1.6.2.new/ruby-texi-1.4-en/Ruby.texi.in Thu Feb 15 22:00:27 2001 @@ -23,9 +23,9 @@ @c c Part II: Summary Description and Copyright @ifinfo -@dircategory Languages +@dircategory Programming Languages: @direntry -* ruby: (ruby). Ruby Language Reference Manual (English) +* ruby: (ruby). Ruby Language Reference Manual @end direntry @quotation --- ruby-1.6.7/ruby-texi-1.4-en/socket.texi.orig Sun Sep 26 19:16:23 1999 +++ ruby-1.6.7/ruby-texi-1.4-en/socket.texi Wed May 22 21:53:54 2002 @@ -347,7 +347,7 @@ @code{recv} (@pxref{BasicSocket}). @end defmethod -@defmethod @code{UDPSocket} send (@var{mesg}, @var{flags[, }@var{host}, @var{port}]) +@defmethod @code{UDPSocket} send (@var{mesg}, @var{flags}[, @var{host}, @var{port}]) Sends the @var{mesg} through the socket. See @samp{send(2)} for detail. You have to specify the @@ -400,7 +400,7 @@ Receives data from the socket and returns the pair of data and the path of the sender. For arguments, see -@code{recv} (@pxref{}). +@code{recv} (@pxref{BasicSocket}). @end defmethod @page @@ -524,5 +524,5 @@ Receives data from the socket and returns the pair of data and the address of the sender. For arguments, see -@code{recv} (@pxref{}). +@code{recv} (@pxref{BasicSocket}). @end defmethod --- ruby-1.6.7/ruby-texi-1.4-en/thread.texi.orig Sun Sep 26 19:16:26 1999 +++ ruby-1.6.7/ruby-texi-1.4-en/thread.texi Wed May 22 21:56:35 2002 @@ -168,7 +168,7 @@ Waits for the thread to terminate and returns the evaluated value of the block, which is given to the -@code{Thread.create} (@pxref{}). +@code{Thread.create} (@pxref{Thread}). @end defmethod @defmethod @code{Thread} wakeup -- 9bha9GC+WyEo1bF2lrW Content-Disposition: attachment; filename=ruby-curses-terminfo.patch Content-Type: text/x-patch; name=ruby-curses-terminfo.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -ur ruby-1.8.0-orig/ext/curses/extconf.rb ruby-1.8.0/ext/curses/extconf.rb --- ruby-1.8.0-orig/ext/curses/extconf.rb 2002-01-30 01:44:11.000000000 -0700 +++ ruby-1.8.0/ext/curses/extconf.rb 2003-06-25 12:40:18.000000000 -0600 @@ -8,6 +8,7 @@ have_library("mytinfo", "tgetent") if /bow/ RUBY_PLATFORM if have_header("ncurses.h") and have_library("ncurses", "initscr") make ue +elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") and have_library("tinfo", "tgetent") elsif have_header("ncurses/curses.h") and have_library("ncurses", "initscr") make ue elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr") Only in ruby-1.8.0/ext/curses: extconf.rb~ -- 9bha9GC+WyEo1bF2lrW--