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 Patch0: %{name}-info.patch
15 BuildRequires: gdbm-devel
16 BuildRequires: ncurses-devel
17 BuildRequires: readline-devel
18 BuildRequires: texinfo
19 BuildRequires: tk-devel
20 Prereq: /sbin/ldconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Ruby is the interpreted scripting language for quick and easy
25 object-oriented programming. It has many features to process text
26 files and to do system management tasks (as in Perl). It is simple,
27 straight-forward, extensible, and portable.
40 %{__make} -C ruby-texi-1.4-en
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}-%{version}}
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48 install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49 install %{name}-texi-1.4-en/ruby.info* $RPM_BUILD_ROOT%{_infodir}
50 mv -f ruby-uguide guide
53 gzip -9nf README README.EXT ChangeLog ToDo
56 rm -rf $RPM_BUILD_ROOT
59 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
63 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
67 %defattr(644,root,root,755)
68 %doc guide faq misc *.gz
69 %attr(755,root,root) %{_bindir}/*
70 %attr(755,root,root) %{_libdir}/lib*.so.*.*
71 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_examplesdir}/%{name}-%{version}