From: Aredridel Date: 2003-06-26T10:47:49+09:00 Subject: Re: RPM for 1.8.0 --=-99bha9GC+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. > --=-99bha9GC+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): =A5=AA=A5=D6=A5=B8=A5=A7=A5=AF=A5=C8=BB=D8=B8=FE=B8=C0=B8=ECRu= by=A5=A4=A5=F3=A5=BF=A5=D7=A5=EA=A5=BF Summary(pl): Ruby - interpretowany j=EAzyk skryptowy Summary(pt_BR): Linguagem de script orientada a objeto Summary(zh_CN): ruby - =D2=BB=D6=D6=BF=EC=CB=D9=B8=DF=D0=A7=B5=C4=C3=E6=CF= =F2=B6=D4=CF=F3=BD=C5=B1=BE=B1=E0=B3=CC=D3=EF=D1=D4 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.g= z Source2: http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/%{name}-uguide-981= 227.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 >=3D 1.8.3 BuildRequires: ncurses-devel BuildRequires: readline-devel >=3D 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=A4=CF=A5=B7=A5=F3=A5=D7=A5=EB=A4=AB=A4=C4=B6=AF=CE=CF=A4=CA=A5=AA=A5= =D6=A5=B8=A5=A7=A5=AF=A5=C8=BB=D8=B8=FE=A5=B9=A5=AF=A5=EA=A5=D7=A5=C8=B8=C0= =B8=EC=A4=C7=A4=B9=A1=A5Ruby=A4=CF=BA=C7=BD=E9 =A4=AB=A4=E9=BD=E3=BF=E8=A4=CA=A5=AA=A5=D6=A5=B8=A5=A7=A5=AF=A5=C8=BB=D8=B8= =FE=B8=C0=B8=EC=A4=C8=A4=B7=A4=C6=C0=DF=B7=D7=A4=B5=A4=EC=A4=C6=A4=A4=A4=DE= =A4=B9=A4=AB=A4=E9=A1=A4=A5=AA=A5=D6=A5=B8=A5=A7=A5=AF=A5=C8 =BB=D8=B8=FE=A5=D7=A5=ED=A5=B0=A5=E9=A5=DF=A5=F3=A5=B0=A4=F2=BC=EA=B7=DA=A4= =CB=B9=D4=A4=A6=BB=F6=A4=AC=BD=D0=CD=E8=A4=DE=A4=B9=A1=A5=A4=E2=A4=C1=A4=ED= =A4=F3=C4=CC=BE=EF=A4=CE=BC=EA=C2=B3=A4=AD=B7=BF=A4=CE=A5=D7 =A5=ED=A5=B0=A5=E9=A5=DF=A5=F3=A5=B0=A4=E2=B2=C4=C7=BD=A4=C7=A4=B9=A1=A5 Ruby=A4=CF=A5=C6=A5=AD=A5=B9=A5=C8=BD=E8=CD=FD=B4=D8=B7=B8=A4=CE=C7=BD=CE= =CF=A4=CA=A4=C9=A4=CB=CD=A5=A4=EC=A1=A4Perl=A4=C8=C6=B1=A4=B8=A4=AF=A4=E9= =A4=A4=B6=AF=CE=CF=A4=C7=A4=B9=A1=A5=A4=B5=A4=E9 =A4=CB=A5=B7=A5=F3=A5=D7=A5=EB=A4=CA=CA=B8=CB=A1=A4=C8=A1=A4=CE=E3=B3=B0=BD= =E8=CD=FD=A4=E4=A5=A4=A5=C6=A5=EC=A1=BC=A5=BF=A4=CA=A4=C9=A4=CE=B5=A1=B9=BD= =A4=CB=A4=E8=A4=C3=A4=C6=A1=A4=A4=E8=A4=EA=CA=AC=A4=AB=A4=EA =A4=E4=A4=B9=A4=A4=A5=D7=A5=ED=A5=B0=A5=E9=A5=DF=A5=F3=A5=B0=A4=AC=BD=D0=CD= =E8=A4=DE=A4=B9=A1=A5 %description -l pl Ruby to interpretowany j=EAzyk skryptowy, w sam raz dla =B3atwego i szybkiego pisania zorientowanych obiektowo program=F3w. Ma wiele funkcji u=B3atwiaj=B1cych przetwarzanie plik=F3w tekstowych i wykonywanie prac zwi=B1zanych z zarz=B1dzaniem systemu (podobnie jak Perl). Jest prosty, rozszerzalny i przeno=B6ny. %description -l pt_BR Ruby =E9 uma linguagem de script interpretada de programa=E7=E3o orientada a objeto. Possui diversas caracter=EDsticas para processamento de texto. =C9 simples, extens=EDvel 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}/%{na= me}-%{version}} %{__make} install DESTDIR=3D$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=3D"C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team All persons listed below can be reached at @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 translatin= g 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 - initial build for Powertools --=-99bha9GC+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 --=-99bha9GC+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=true +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=true elsif have_header("curses_colr/curses.h") and have_library("cur_colr", "initscr") Only in ruby-1.8.0/ext/curses: extconf.rb~ --=-99bha9GC+WyEo1bF2lrW--