1 Summary: Ruby is an interpreted scripting language
6 Group: Development/Languages
7 Group(de): Entwicklung/Sprachen
8 Group(pl): Programowanie/Jêzyki
9 URL: http://www.ruby-lang.org
10 Source0: ftp://ftp.netlab.co.jp/pub/lang/ruby/%{name}-%{version}.tar.gz
11 Source1: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}-texi-1.4-en.tar.gz
12 Source2: http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/%{name}-uguide-981227.tar.gz
13 Source3: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}faq-990927.tar.gz
14 BuildRequires: tcl-devel
15 BuildRequires: tk-devel
16 BuildRequires: readline-devel
17 BuildRequires: ncurses-devel
18 BuildRequires: XFree86-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Ruby is the interpreted scripting language for quick and easy
24 object-oriented programming. It has many features to process text
25 files and to do system management tasks (as in Perl). It is simple,
26 straight-forward, extensible, and portable.
35 %configure --enable-shared
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}}
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42 install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
43 install %{name}-texi-1.4-en/ruby.info* $RPM_BUILD_ROOT%{_infodir}
44 mv -f ruby-uguide guide
46 gzip -9nf README README.EXT ChangeLog ToDo
49 rm -rf $RPM_BUILD_ROOT
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
56 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %attr(755,root,root) %{_libdir}/lib*.so.*.*
63 %attr(755,root,root) %{_libdir}/lib*.so
66 %{_examplesdir}/%{name}