]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- initial PLD version
authormis <mis@pld-linux.org>
Sat, 30 Dec 2000 15:46:59 +0000 (15:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby.spec -> 1.1

ruby.spec [new file with mode: 0644]

diff --git a/ruby.spec b/ruby.spec
new file mode 100644 (file)
index 0000000..5c2d53e
--- /dev/null
+++ b/ruby.spec
@@ -0,0 +1,72 @@
+Summary:       Ruby is an interpreted scripting language
+Name:          ruby
+Version:       1.6.2
+Release:       1
+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
+BuildRequires: tcl-devel
+BuildRequires: tk-devel
+BuildRequires: readline-devel
+BuildRequires: ncurses-devel
+BuildRequires: XFree86-devel
+
+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.
+
+%prep
+%setup -q -T -b 0
+%setup -q -T -D -a 1
+%setup -q -T -D -a 2
+%setup -q -T -D -a 3
+
+%build
+%configure --enable-shared
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install %{name}-texi-1.4-en/ruby.info* $RPM_BUILD_ROOT%{_infodir}
+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)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/%{name}
+%{_infodir}/*
+%{_examplesdir}/%{name}
+%doc {README,ToDo}.gz
+%doc guide
+%doc faq
+%doc misc
+
+%{_mandir}/*/*
This page took 0.250994 seconds and 4 git commands to generate.