[#16113] Strange idea... exporting from a scope — "Hal E. Fulton" <hal9000@...>
Hello...
Hi,
matz@zetabits.com (Yukihiro Matsumoto) writes:
Hi,
matz@zetabits.com (Yukihiro Matsumoto) writes:
On Thu, 7 Jun 2001, Dave Thomas wrote:
[#16140] (?i:) in regexp — ts <decoux@...>
>>>>> "Y" == Yukihiro Matsumoto <matz@zetabits.com> writes:
[#16144] Re: Strange idea... exporting from a scope — hfulton@...
> |> I'm too lazy to type in "exprt" and variable name. so I'm
Hi,
[#16155] Re: Block arguments vs method arguments — hfulton@...
> | { | local, :up | }
[#16172] The Block Problem -A suggestion — Chris Moline <ugly-daemon@...>
Hi, I was thinking about our discussion and came up with an idea that might
[#16229] Re: String#scan strange behavior — ts <decoux@...>
>>>>> "W" == Wayne Blair <wayne.blair@relian.com> writes:
[#16245] line numbers in multiline regular expressions. — jonas <jonas.bulow@...>
Hi,
[#16259] Timezone in Time::{local,gm} — Stoned Elipot <Stoned.Elipot@...>
Hello,
[#16271] Re: odd obj.send behaviour — ts <decoux@...>
>>>>> "P" == Patrik Sundberg <ps@radiac.mine.nu> writes:
[#16283] ruby and fox — Albert Wagner <alwagner@...>
Just curious if anyone else in ruby-talk is attempting to use the fox GUI. I
[#16317] Re: ruby regex — ts <decoux@...>
>>>>> "D" == David Thiel <dthiel@nexprise.com> writes:
[#16325] Tcl string map lookalike — Wilbert Berendsen <wbsoft@...4all.nl>
Hi,
[#16364] Re: Garbage Collection? — Michael Davis <mdavis@...>
Windows 2000 and linux (RedHat 6.2). I have run these tests on both OSs.
[#16380] Method objects fail equivalence — mirian@... (Mirian Crzig Lennox)
I was surprised to observe the following:
Hi,
[#16400] Symbolic Computation III — Mathieu Bouchard <matju@...>
> ----- Original Message -----
>----- Original Message -----
On Tue, 12 Jun 2001, Wayne Blair wrote:
[#16415] Ruby - Objective C - GNUstep — Laurent Julliard <Laurent.Julliard@...>
So here is my story:
[#16433] Re: Inital Q's on Ruby grammar — ts <decoux@...>
>>>>> "R" == Robert Feldt <feldt@ce.chalmers.se> writes:
[#16462] Opinion sought: parsing non-regular languages — Robert Feldt <feldt@...>
(This is a bit long...)
Robert Feldt <feldt@ce.chalmers.se> writes:
On Thu, 14 Jun 2001, Dave Thomas wrote:
[#16489] Verify correct lexing of delimited strings — Robert Feldt <feldt@...>
Hi all,
[#16502] Playing with Ruby Syntax (was: Initial thoughts about Ruby From a Smalltalk Programmer) — jweirich@...
Michael> Hi Everyone, I have to say I'm utterly fascinated by Ruby
jweirich@one.net writes:
[#16503] walking the ruby_frame list — victor <victor@...>
Hi,
Hi,
On Sat, Jun 16, 2001 at 10:56:30PM +0900, Yukihiro Matsumoto wrote:
[#16505] Smalltalk vs. Ruby — Steve Tuckner <SAT@...>
I have never used Smalltalk so I have no knowledge of its use on a day by
[#16528] why only nil and false are regarded as false? — Steven Haryanto <steven@...>
I would appreciate some explanation on why Ruby behaves like
[#16540] Trapping method defs — Robert Feldt <feldt@...>
Hi all,
[#16556] Method overloading - How? — Uwe Lammers <Uwe.Lammers@...>
Hi,
[#16565] Configuration file parsing — "Anders Johannsen" <anders@...>
I'm currently writing an application in Ruby, which needs a
[#16567] [TOY] reversed regexp — ts <decoux@...>
[#16583] Two (or more) dimensional arrays? — "Kirk Lowery" <klowery@...>
After reading my way through various documentation, I didn't find any
[#16591] RCR: Enumerable: every() and none() — Hugh Sasse Staff Elec Eng <hgs@...>
I've been off the list for a while but I'm dipping back in to suggest:
[#16599] RE: RCR: Enumerable: every() and none() — "Benjamin J. Tilly" <ben_tilly@...>
>===== Original Message From Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> =====
[#16604] Creating arrays — Chris Moline <ugly-daemon@...>
Hi, I was wondering why do we have to do this
[#16634] mascot — redwolf <arm3@...>
The Ruby Crowned Kinglet is perfect!!!
[#16640] Re: Commenting code — Alvaro Segura <asegura@...>
James Kanze wrote:
[#16646] Serial Communications — Wai-Sun Chia <waisun.chia@...>
Hello Rubyists,
[#16657] bag difference — Hugh Sasse Staff Elec Eng <hgs@...>
Is there an elegant way to do a bag diffeence between 2 arrays, rather
[#16661] Problem running irb with Ruby 1.6.4 under FreeBSD 4.0 — Bob Alexander <balexander@...>
I've installed Ruby 1.6.4 on a FreeBSD 4.0 machine, and get the
Yukihiro Matsumoto wrote:
Hi,
In article <993579597.067351.15583.nullmailer@ev.netlab.zetabits.com>,
[#16662] installation option — Hung-Hsien Chang <hubert@...>
Hi!
[#16669] how to call super from singleton method? — viisi@... (Andi Riedl)
hi!
[#16681] RE: embedding C++ — Wyss Clemens <WYS@...>
Have you tried using SWIG?
[#16686] opening db files made by apache dbmmanage — Fritz Heinrichmeyer <fritz.heinrichmeyer@...>
[#16714] DBI 0.0.5 problem — "Krzysztof P. Jasiutowicz" <kpj@...>
Krzysztof P. Jasiutowicz wrote:
[#16715] File.flock blocks forever — Michael Witrant <mike@...>
Hello,
[#16723] setsockopt options — Joseph McDonald <joe@...>
Hi,
Hi,
[#16726] Simulating call-by-reference in Ruby — senderista@... (Tobin Baker)
I'm currently working on Ruby bindings for ORBit and thought that it
[#16737] socket bug — Joseph McDonald <joe@...>
Joseph McDonald <joe@vpop.net> writes:
[#16763] uniq and "equivalence" — Hugh Sasse Staff Elec Eng <hgs@...>
Array.uniq seems to rely on deleting multiple references to the same object.
>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
On Fri, 22 Jun 2001, ts wrote:
>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> writes:
[#16788] pretty printing with enscript? — Albert Wagner <alwagner@...>
By chance, has anyone done a pretty printing file for ruby in enscript?
[#16792] wrapping structures — Martin Chase <stillflame@...>
hey ruby hackers,
[#16799] Problems compiling FOX for Ruby (FXRuby) on NetBSD — Michael Neumann <neumann@...>
Hi,
[#16801] rb_define_class() vs Class.new() — Kero van Gelder <kero@...4050.upc-d.chello.nl>
Hi,
>>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:
> K> From C, rb_define_class() defines a named class, however, on the Ruby
>>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:
> >>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:
>>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:
> irb> B = a
>>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:
[#16810] [BUG?] Kernel::load wrap parameter — Patrik Sundberg <ps@...>
(CC any replies to me please - not subscribed and have crappy newsserver)
[#16841] RE: national characters is strings — "Aleksei Guzev" <aleksei.guzev@...>
Next week I'll try to rebuild Ruby with Unicode strings. But it would be
Hi,
That's good enough. But I'm afraid this could ( not would ) cause string
Hi,
I'll help as soon as You call. I like C++ much more than Assembler :)))
Hi,
I've taken a look at m17n.
[#16861] Re: Problems compiling FOX for Ruby (FXRuby) on NetBSD — "Lyle Johnson" <ljohnson@...>
> I didn't get FXRuby (Ruby interface for FOX GUI Toolkit) available from
[#16868] Something strange with Ruby's inheritance mechanism — Eric Jacoboni <jaco@...>
As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've
On Tue, 26 Jun 2001, Aleksei Guzev wrote:
[#16869] Something strange with Ruby's inheritance mechanism — Eric Jacoboni <jaco@...>
As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've
[#16881] — "Aleksei Guzev" <aleksei.guzev@...>
Hi,
On Wed, 27 Jun 2001, Yukihiro Matsumoto wrote:
Hi,
On Thu, 28 Jun 2001, Yukihiro Matsumoto wrote:
Hi,
ts <decoux@moulon.inra.fr> writes:
Hi,
[#16885] Re: Something strange with Ruby's inheritance mechanism — Eric Jacoboni <jaco@...>
>>>>> "Mathieu" == Mathieu Bouchard <matju@sympatico.ca> writes:
[#16888] finalizers, destructors and whatnot — "David Leal" <david@...>
Hi all,
[#16973] Extension building — Tony Smith <tony@...>
I'm just getting started with Ruby and my first comment is "at last!". I've
[#16976] Introspection and 'where's the source'? — Johann Hibschman <johann@...>
Hi,
[#16982] RCR for the String class — Joseph McDonald <joe@...>
[#16991] eruby (or equiv) for windows? — "Derek Hamilton" <derek@...>
I am new to ruby so forgive me if this question has already been =
[#17002] FOX subclassing FXTextField and messages — Ralf Canis <rc@...>
Hello,
[#17004] the evolution of Ruby itself — Tobias Reif <tobiasreif@...>
Hi all;
Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
[#17008] Re: Poll results — Srecko.Howard@... (Srecko Howard)
Hi all
[#17020] Re: RCR for the String class — Steve Tuckner <SAT@...>
> While I'm complaining, I prefer Java's IO class hierarchy to Ruby's, too.
[#17027] sigprocmask — Joseph McDonald <joe@...>
[#17037] keeping an Exception object alive — David Alan Black <dblack@...>
Hello --
Hi,
Hello --
Hi,
Hello --
Hi,
Hello --
>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:
Hello --
>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:
On Mon, 2 Jul 2001, ts wrote:
[#17059] "cvs commit" from within ruby — Clemens Wyss <wys@...>
I am trying to commit a file from within a ruby script (automation
[#17069] Is the ruby GC compacting ? — Lothar Scholz <llothar@...>
Or can i safely assume that a reference to a Ruby object is always the
[#17080] (cvs?) configure / make problems — Kero van Gelder <kero@...4050.upc-d.chello.nl>
Hi!
> > fails
[#17091] ensure block not being executed — Joseph McDonald <joe@...>
I'm afraid You stop not the script but You stop the interpreter with ^C.
"Aleksei Guzev" <aleksei.guzev@bigfoot.com> writes:
Then what is MessageQueue? (I haven't foud it at my Ruby sources )
[#17102] Ruby on a PDA — Tobias Reif <tobiasreif@...>
Hi all;
[#17110] Re: Ruby on a PDA — Kent Dahl <kentda@...>
Tobias Reif wrote:
[ruby-talk:16300] RPM .spec for Ruby and friends
Hello, I'm a fairly new Rubyist, and have just completed my first Ruby program (which is a data convertor shuttling rows betwween a Postgres and Oracle dbs). I'm impressed by the speed of which the solution flowed from my head into code.. ;-) Most of the time I'm happy not to think about stuff like malloc'ing and freeing stuff (have you ever tried OCI programming in 'C'? Don't!). As a contribution back to the Ruby community, here's a couple of spec files (so that you can make your own RPMs) that I've used successfully to build RPM packages for my Redhat system. Attached are the spec files for the following Ruby extensions: * Ruby (this is a hacked version from Mandrake, RH's version sucked) * Oracle * PostgreSQL * XML * Gnome HTH. Keep on Rubying! -- Wai-Sun "Squidster" Chia Unix/Web Developer/RHCE Professional Services
Attachments (5)
Summary: Object Oriented Script Language
Name: ruby
Version: 1.6.4
%define subver 1.6
Release: 1
License: GPL
Group: Development/Other
BuildRequires: XFree86-devel gpm-devel ncurses-devel readline-devel tcl tk
Source: ftp://ftp.netlab.co.jp/pub/lang/ruby/ruby-1.6.4.tar.bz2
Source1: http://www.pragprog.com:8080/rubyfaq/rubyfaqall.html.bz2
Source2: http://www.rubycentral.com/downloads/files/ProgrammingRuby-0.2.tar.bz2
URL: http://www.ruby-lang.org/
Packager: Pixel <pixel@mandrakesoft.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%ifarch ppc
%define my_target_cpu powerpc
%else
%define my_target_cpu %{_target_cpu}
%endif
%package doc
Summary: Documentation for the powerful language Ruby
Group: Development/Other
Requires: %{name} = %version-%release
%package devel
Summary: Development file for the powerful language Ruby
Group: Development/Other
Requires: %{name} = %version-%release
%package tk
Summary: Tk extension for the powerful language Ruby
Group: Development/Other
Requires: %{name} = %version-%release
%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, and extensible.
%description doc
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, and extensible.
This package contains the Ruby's documentation
%description devel
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, and extensible.
This package contains the Ruby's devel files.
%description tk
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, and extensible.
This package contains the Tk extension for Ruby.
%prep
%setup -q
#FILELIST="ruby.1 \
# ext/extmk.rb.in \
# ext/curses/*.rb \
# ext/tcltklib/demo/*.* ext/tcltklib/sample/*.rb ext/tcltklib/*.euc \
# ext/tk/sample/*.rb \
# sample/*.*"
#for i in ${FILELIST}; do
# sed -e s#/usr/local/bin/#%{_bindir}/#g $i >$i.$$
# mv $i.$$ $i
#done
%build
%configure --with-default-kcode=none --enable-shared
make
make test
%install
rm -rf %buildroot
make DESTDIR=%buildroot install
install -d %buildroot%{_docdir}/%{name}-%{version}
cp -a COPYING* ChangeLog README* ToDo sample %buildroot%{_docdir}/%{name}-%{version}
bzcat %{SOURCE1} > %buildroot%{_docdir}/%{name}-%{version}/FAQ.html
install -d %buildroot%{_datadir}/emacs/site-lisp
cp -a misc/ruby-mode.el %buildroot%{_datadir}/emacs/site-lisp
install -d %buildroot%{_sysconfdir}/emacs/site-start.d
cat <<EOF >%buildroot%{_sysconfdir}/emacs/site-start.d/%{name}.el
(autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
(add-to-list 'auto-mode-alist '("\\\\.rb$" . ruby-mode))
(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
EOF
(cd %buildroot%{_docdir}/%{name}-%{version} ; tar xfj %{SOURCE2} ; cd Pro*; mv -f html/* . ; rm -rf html xml)
(cd %buildroot ; find usr/lib/%{name}/%{subver} ! -type d -printf "/%%p\n") > %{name}.list
(cd %buildroot ; find usr/lib/%{name}/%{subver} -type d -printf "%%%%dir /%%p\n") >> %{name}.list
perl -ni -e 'print if !m|/(tcl)?tk|' %{name}.list
perl -ni -e 'print if !m|%{my_target_cpu}-%{_host_os}/.*[ha]$|' %{name}.list
%clean
rm -rf %buildroot
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.list
%defattr(-, root, root)
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/README
%{_bindir}/*
%dir %{_libdir}/%{name}/
%{_mandir}/*/*
%{_datadir}/emacs/site-lisp/*
%config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
%files doc
%defattr(-, root, root)
%{_docdir}/%{name}-%{version}/COPYING*
%{_docdir}/%{name}-%{version}/ChangeLog
%{_docdir}/%{name}-%{version}/README.*
%{_docdir}/%{name}-%{version}/FAQ.html
%{_docdir}/%{name}-%{version}/ToDo
%{_docdir}/%{name}-%{version}/sample
%{_docdir}/%{name}-%{version}/ProgrammingRuby*
%files devel
%defattr(-, root, root)
%{_libdir}/%{name}/%{subver}/%{my_target_cpu}-%{_host_os}/*.[ah]
%{_libdir}/libruby.so*
%files tk
%defattr(-, root, root)
%{_libdir}/%{name}/%{subver}/%{my_target_cpu}-%{_host_os}/tcltk*
%{_libdir}/%{name}/%{subver}/%{my_target_cpu}-%{_host_os}/tk*
%{_libdir}/%{name}/%{subver}/tcltk*
%{_libdir}/%{name}/%{subver}/tk*
%changelog
* Wed Jun 6 2001 Squidster <squidster@msa.dec.com> 1.6.4-1
- Added in shared library, libruby.so* into the devel package
* Mon Jun 4 2001 Pixel <pixel@mandrakesoft.com> 1.6.4-1mdk
- new version
* Fri May 25 2001 Pixel <pixel@mandrakesoft.com> 1.6.3-4mdk
- directories-are-not-executables
* Fri May 18 2001 Pixel <pixel@mandrakesoft.com> 1.6.3-3mdk
- fix dadou fucking up things (irb and emacs mode were not there anymore!)
* Fri Apr 20 2001 David BAUDENS <baudens@mandrakesoft.com> 1.6.3-2mdk
- Fix build on PPC
* Sun Mar 25 2001 Pixel <pixel@mandrakesoft.com> 1.6.3-1mdk
- new version
* Mon Mar 19 2001 Pixel <pixel@mandrakesoft.com> 1.6.2.2-2mdk
- fix the ruby.el (\\. -> \\\\.)
* Thu Jan 25 2001 Pixel <pixel@mandrakesoft.com> 1.6.2.2-1mdk
- new stable snapshot
* Wed Dec 27 2000 Pixel <pixel@mandrakesoft.com> 1.6.2-2mdk
- fix extensions
- create %{name}-devel
- remove %{name}-extensions, but create %{name}-tk
* Tue Dec 26 2000 Pixel <pixel@mandrakesoft.com> 1.6.2-1mdk
- new version
* Mon Nov 27 2000 Pixel <pixel@mandrakesoft.com> 1.6.1-4mdk
- build again full optflags
* Wed Nov 8 2000 Pixel <pixel@mandrakesoft.com> 1.6.1-3mdk
- build without -fomit-frame-pointer for time being
- capitalize summaries
* Mon Oct 2 2000 Pixel <pixel@mandrakesoft.com> 1.6.1-2mdk
- fix mispelling
* Thu Sep 28 2000 Pixel <pixel@mandrakesoft.com> 1.6.1-1mdk
- new version
- remove "--with-default-kcode=none", not more needed
- remove setting optflags to -O2, ruby doesn't crashes any more
* Tue Sep 19 2000 Pixel <pixel@mandrakesoft.com> 1.6.0-1mdk
- new version
* Wed Aug 23 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-6mdk
- add packager
* Tue Aug 22 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-5mdk
- nicer site-start.d/ruby.el (use add-to-list)
* Tue Aug 22 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-4mdk
- fix missing %%config
* Tue Aug 22 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-3mdk
- use %{_sysconfdir}/emacs/site-start.d for the ruby-mode.el
* Fri Aug 18 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-2mdk
- rebuild (fredlsux)
* Fri Aug 18 2000 Pixel <pixel@mandrakesoft.com> 1.4.6-1mdk
- new version
- remove menu
* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4.5-6mdk
- automatically added BuildRequires
* Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 1.4.5-5mdk
- rebuild with clean clean_menus
* Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 1.4.5-4mdk
- macroization
- BM
* Thu Jul 13 2000 Pixel <pixel@mandrakesoft.com> 1.4.5-3mdk
- fix %%URL
* Sun Jun 25 2000 Pixel <pixel@mandrakesoft.com> 1.4.5-2mdk
- rebuild (src.rpm got lost :( )
* Fri Jun 23 2000 Pixel <pixel@mandrakesoft.com> 1.4.5-1mdk
- new version
* Wed Jun 14 2000 Pixel <pixel@mandrakesoft.com> 1.4.4-1mdk
- new version
* Mon Apr 10 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-6mdk
- fix group for doc
* Mon Mar 27 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-5mdk
- add menu
* Sat Mar 25 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-4mdk
- new group + cleanup
* Wed Feb 16 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-3mdk
- build with no charset conversion (was kanji :)
* Mon Feb 14 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-2mdk
- added the reference manual and FAQ in doc
- moved the lib/README in ext
* Mon Feb 14 2000 Pixel <pixel@mandrakesoft.com> 1.4.3-1mdk
- mandrake adaptation and spliting in -/doc/extensions
* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.4.3
* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.4.2 (Sep 18)
* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.4.2
* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.4.0
* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- 2nd release
- Updated to version 1.2.6(15 Jul 1999)
- striped %{prefix}/bin/ruby
* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.2.6(21 Jun 1999)
* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.2.5
* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
- Updated to version 1.2.4
* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
- Version up to 1.2 stable.
* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
- Version up to 1.1c9.
* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
- Version up to 1.1c8, however it appear short life :-P
* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
- Version up.
end of changelog shortened, hope you japs won't kill a froggy for this :)
%define name ruby-oracle
%define version 0.2.11
%define release 1
Summary: Ruby extension library to access Oracle Databases
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.yoshidam.net/oracle-0.2.11.tar.gz
Copyright: GPL
Group: Development/Other
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Requires: ruby >= 1.6
BuildRequires: ruby-devel
%description
Ruby extension library to access Oracle Databases.
%prep
%setup -q -n oracle
%build
ruby extconf.rb
CFLAGS=${RPM_OPT_FLAGS} make
%install
rm -rf %buildroot
libdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["libdir"]'`
archdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["archdir"]'`
make install libdir=$libdir archdir=$archdir
install -d %buildroot%{_docdir}/%{name}-%{version}
cp -a MANIFEST README *.def samples %buildroot%{_docdir}/%{name}-%{version}
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{_libdir}/*/*/*.rb
%{_libdir}/*/*/*/*.so
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/*
%changelog
* Thu Jun 07 2001 Squidster <squidster@msa.dec.com> 0.6.4-1
- first release
# end of file
%define name ruby-postgres
%define version 0.6.4
%define release 1
Summary: Ruby extension library to access PostgreSQL Databases
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.jp.postgresql.org/interfaces/ruby/archive/ruby-postgres-0.6.4.tar.gz
Copyright: GPL
Group: Development/Other
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Requires: ruby >= 1.6, postgresql >= 7.0
BuildRequires: ruby-devel, postgresql, postgresql-libs, postgresql-devel
%description
Ruby extension library to access PostgreSQL Databases.
%prep
%setup -q -n %{name}-%{version}
%build
ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql
CFLAGS=${RPM_OPT_FLAGS} make
%install
rm -rf %buildroot
libdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["libdir"]'`
archdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["archdir"]'`
make install libdir=$libdir archdir=$archdir
install -d %buildroot%{_docdir}/%{name}-%{version}
cp -a ChangeLog MANIFEST README sample %buildroot%{_docdir}/%{name}-%{version}
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{_libdir}/*/*/*/*.so
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/*
%changelog
* Thu Jun 07 2001 Squidster <squidster@msa.dec.com> 0.6.4-1
- first release
# end of file
%define name ruby-xml
%define version 0.6.1
%define release 1
Summary: Ruby extension library for XML via Expat
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.yoshidam.net/xmlparser-0.6.1.tar.gz
Copyright: GPL
Group: Development/Other
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Requires: ruby >= 1.6, expat >= 1.0
BuildRequires: ruby-devel, expat, expat-devel
%description
Ruby extension library for XML via Expat
%prep
%setup -q -n xmlparser
%build
ruby extconf.rb
CFLAGS=${RPM_OPT_FLAGS} make
%install
rm -rf %buildroot
libdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["libdir"]'`
archdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["archdir"]'`
make install libdir=$libdir archdir=$archdir
install -d %buildroot%{_docdir}/%{name}-%{version}
cp -a MANIFEST README Encodings samples %buildroot%{_docdir}/%{name}-%{version}
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{_libdir}/*/*/*.rb
%{_libdir}/*/*/*/*.so
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/*
%changelog
* Thu Jun 07 2001 Squidster <squidster@msa.dec.com> 0.6.4-1
- first release
# end of file
%define name ruby-gnome
%define version 0.25
%define release 1
Summary: Ruby extension library to use Gnome/Gtk+.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.ruby-lang.org/gtk/download/gnome-ruby-0.25.tar.bz2
Copyright: GPL
Group: Development/Other
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Requires: ruby >= 1.6, gtk+ >= 1.2.8
BuildRequires: ruby-devel, gtk+-devel XFree86-devel imlib-devel gnome-libs-devel gdk-pixbuf-devel
%description
Ruby extension library to use Gnome/Gtk+.
%prep
%setup -q -n gnome-ruby-0.25
%build
ruby extconf.rb
CFLAGS=${RPM_OPT_FLAGS} make
%install
rm -rf %buildroot
libdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["libdir"]'`
archdir=%buildroot`ruby -e 'require "mkmf" ; print Config::CONFIG["archdir"]'`
make install libdir=$libdir archdir=$archdir
install -d %buildroot%{_docdir}/%{name}-%{version}
install -d %buildroot%{_docdir}/%{name}-%{version}/gdkimlib
install -d %buildroot%{_docdir}/%{name}-%{version}/gdkpixbuf
install -d %buildroot%{_docdir}/%{name}-%{version}/gnome
install -d %buildroot%{_docdir}/%{name}-%{version}/gtk
cp -a ChangeLog MANIFEST %buildroot%{_docdir}/%{name}-%{version}
cp -a gdkimlib/ChangeLog gdkimlib/MANIFEST gdkimlib/sample %buildroot%{_docdir}/%{name}-%{version}/gdkimlib
cp -a gdkpixbuf/ChangeLog gdkpixbuf/MANIFEST gdkpixbuf/README gdkpixbuf/sample %buildroot%{_docdir}/%{name}-%{version}/gdkpixbuf
cp -a gnome/ChangeLog gnome/MANIFEST gnome/README gnome/doc gnome/sample %buildroot%{_docdir}/%{name}-%{version}/gnome
cp -a gtk/BUGS gtk/ENVIRONMENT gtk/README gtk/ToDo gtk/doc gtk/sample %buildroot%{_docdir}/%{name}-%{version}/gtk
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%{_libdir}/*/*/*.rb
%{_libdir}/*/*/*/*.so
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/*
%changelog
* Thu May 24 2001 Michal Rokos <m.rokos@sh.cvut.cz> 0.25-1mdk
- new version
* Sat Apr 21 2001 Michal Rokos <m.rokos@sh.cvut.cz> 0.24-1mdk
- official gnome-ruby-0.24
- added more examples
* Mon Feb 12 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.23-5mdk
- use snapshot, to work with Ruby 1.6
- experimental support for Gnome, GdkImlib, GdkPixbuf
* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.23-4mdk
- automatically added BuildRequires
* Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 0.23-3mdk
- BM + macros
* Sat Mar 25 2000 Pixel <pixel@mandrakesoft.com> 0.23-2mdk
- new group + cleanup
* Mon Feb 14 2000 Pixel <pixel@mandrakesoft.com> 0.23-1mdk
- first release
# end of file