Summary: Ruby - interpreted scripting language Summary(pl): Ruby - interpretowany język skryptowy Name: ruby Version: 1.6.4 Release: 3 License: GPL Group: Development/Languages Group(de): Entwicklung/Sprachen Group(pl): Programowanie/Języki URL: http://www.ruby-lang.org Source0: ftp://ftp.netlab.co.jp/pub/lang/ruby/%{name}-%{version}.tar.gz Source1: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}-texi-1.4-en.tar.gz Source2: http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/%{name}-uguide-981227.tar.gz Source3: ftp://ftp.netlab.co.jp/pub/lang/ruby/doc/%{name}faq-990927.tar.gz Source4: irb.1 Patch0: %{name}-info.patch BuildRequires: autoconf BuildRequires: gdbm-devel BuildRequires: ncurses-devel BuildRequires: readline-devel >= 4.2 BuildRequires: texinfo BuildRequires: tk-devel Prereq: /sbin/ldconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 pl Ruby to interpretowany język skryptowy, w sam raz dla łatwego i szybkiego pisania zorientowanych obiektowo programów. Ma wiele funkcji ułatwiających przetwarzanie plików tekstowych i wykonywanie prac związanych z zarządzaniem systemu (podobnie jak Perl). Jest prosty, rozszerzalny i przenośny. %prep %setup -q -T -b 0 %setup -q -T -D -a 1 %setup -q -T -D -a 2 %setup -q -T -D -a 3 %patch0 -p1 %build autoconf %configure \ --enable-shared %{__make} %{__make} -C ruby-texi-1.4-en %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}} %{__make} install DESTDIR=$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 gzip -9nf README README.EXT ChangeLog ToDo %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 *.gz %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}