1 Summary: Ruby - interpreted scripting language
2 Summary(pl): Ruby - interpretowany jêzyk skryptowy
7 Group: Development/Languages
8 Group(de): Entwicklung/Sprachen
9 Group(pl): Programowanie/Jêzyki
10 URL: http://www.ruby-lang.org
11 Source0: ftp://ftp.netlab.co.jp/pub/lang/ruby/%{name}-%{version}.tar.gz
12 Source1: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}-texi-1.4-en.tar.gz
13 Source2: http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/%{name}-uguide-981227.tar.gz
14 Source3: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}faq-990927.tar.gz
15 Patch0: %{name}-info.patch
16 BuildRequires: autoconf
17 BuildRequires: gdbm-devel
18 BuildRequires: ncurses-devel
19 BuildRequires: readline-devel >= 4.2
20 BuildRequires: texinfo
21 BuildRequires: tk-devel
22 Prereq: /sbin/ldconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Ruby is the interpreted scripting language for quick and easy
27 object-oriented programming. It has many features to process text
28 files and to do system management tasks (as in Perl). It is simple,
29 straight-forward, extensible, and portable.
32 Ruby to interpretowany jêzyk skryptowy, w sam raz dla ³atwego i
33 szybkiego pisania zorientowanych obiektowo programów. Ma wiele funkcji
34 u³atwiaj±cych przetwarzanie plików tekstowych i wykonywanie prac
35 zwi±zanych z zarz±dzaniem systemu (podobnie jak Perl). Jest prosty,
36 rozszerzalny i przeno¶ny.
50 %{__make} -C ruby-texi-1.4-en
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}-%{version}}
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
58 install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59 install %{name}-texi-1.4-en/ruby.info* $RPM_BUILD_ROOT%{_infodir}
60 mv -f ruby-uguide guide
63 gzip -9nf README README.EXT ChangeLog ToDo
66 rm -rf $RPM_BUILD_ROOT
69 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
73 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
77 %defattr(644,root,root,755)
78 %doc guide faq misc *.gz
79 %attr(755,root,root) %{_bindir}/*
80 %attr(755,root,root) %{_libdir}/lib*.so.*.*
81 %attr(755,root,root) %{_libdir}/lib*.so
84 %{_examplesdir}/%{name}-%{version}