auto-import changelog data from ruby-1.6.7-1.src.rpm
Fri Mar 08 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-1 - New upstream release. - ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch: removed. these patches no longer should be needed. - ruby-1.6.7-500-marshal-proc.patch: applied a fix patch. (ruby-dev#16178: Marshal::dump should call Proc#call.) - ruby-1.6.7-501-class-var.patch: applied a fix patch. (ruby-talk#35157: class vars broken in 1.6.7) Wed Feb 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-5 - Disable alpha because nothing is xemacs for alpha now. Tue Feb 05 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-3 - Fixed the duplicate files. Tue Feb 05 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-2 - Fixed the missing %defattr Fri Feb 01 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-1 - New upstream release. - Applied bug fix patches: - ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock coloring. - ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix ruby-list#33047: regex bug PR#230: problem with -d in 1.6.6 - Added ruby-mode and ruby-mode-xemacs packages. - Ruby works fine for ia64. so re-enable to build with ia64. (probably it should be worked for alpha) Wed Jan 09 2002 Tim Powers <timp@redhat.com> - automated rebuild
This commit is contained in:
parent
1875f02ec0
commit
53133ba463
@ -1,4 +1,4 @@
|
|||||||
ruby-1.6.4.tar.bz2
|
ruby-1.6.7.tar.bz2
|
||||||
ruby-man-1.4.6-jp.tar.bz2
|
ruby-man-1.4.6-jp.tar.bz2
|
||||||
ruby-man-1.4.6.tar.bz2
|
ruby-man-1.4.6.tar.bz2
|
||||||
rubyfaq-990927.tar.bz2
|
rubyfaq-990927.tar.bz2
|
||||||
|
20
ruby-mode-init.el
Normal file
20
ruby-mode-init.el
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
;; ruby-mode-init.el
|
||||||
|
;; Created: 2002-02-01
|
||||||
|
;;
|
||||||
|
(if (featurep 'xemacs)
|
||||||
|
(setq load-path (cons "/usr/lib/xemacs/xemacs-packages/lisp/ruby-mode" load-path))
|
||||||
|
(setq load-path (cons "/usr/share/emacs/site-lisp/ruby-mode" load-path)))
|
||||||
|
|
||||||
|
|
||||||
|
(autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files" t)
|
||||||
|
(setq auto-mode-alist
|
||||||
|
(cons '("\\.rb$" . ruby-mode) auto-mode-alist))
|
||||||
|
(setq interpreter-mode-alist
|
||||||
|
(cons '("ruby" . ruby-mode) interpreter-mode-alist))
|
||||||
|
|
||||||
|
(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process")
|
||||||
|
(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
|
||||||
|
|
||||||
|
(add-hook 'ruby-mode-hook
|
||||||
|
'(lambda ()
|
||||||
|
(inf-ruby-keys)))
|
310
ruby.spec
310
ruby.spec
@ -1,27 +1,39 @@
|
|||||||
%ifarch alpha
|
|
||||||
%define optflags -O2 -mieee -g -Wall -pipe -D_GNU_SOURCE
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define manver 1.4.6
|
%define manver 1.4.6
|
||||||
Summary: An interpreter of object-oriented scripting language.
|
%define rubyxver 1.6
|
||||||
|
%define sitedir %{_prefix}/local/lib/site_ruby/%{rubyxver}
|
||||||
|
|
||||||
Name: ruby
|
Name: ruby
|
||||||
Version: 1.6.4
|
Version: 1.6.7
|
||||||
Release: 4
|
Release: 1
|
||||||
License: Dual-licensed GPL/Artistic-like
|
License: Distributable
|
||||||
Group: Development/Languages
|
|
||||||
Source0: ftp://ftp.ruby-lang.org/pub/lang/%{name}/%{name}-%{version}.tar.bz2
|
|
||||||
Source1: ftp://ftp.netlab.co.jp/pub/lang/%{name}/doc/%{name}-man-%{manver}.tar.bz2
|
|
||||||
Source2: ftp://ftp.netlab.co.jp/pub/lang/%{name}/doc/%{name}-man-%{manver}-jp.tar.bz2
|
|
||||||
Source3: ftp://ftp.netlab.co.jp/pub/lang/%{name}/doc/rubyfaq-990927.tar.bz2
|
|
||||||
Source4: ftp://ftp.netlab.co.jp/pub/lang/%{name}/doc/rubyfaq-jp-990927.tar.bz2
|
|
||||||
Source5: irb.1
|
|
||||||
URL: http://www.ruby-lang.org/
|
URL: http://www.ruby-lang.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl tk autoconf gcc
|
BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl tk XFree86-devel autoconf gcc
|
||||||
|
BuildPreReq: emacs xemacs
|
||||||
|
|
||||||
|
|
||||||
|
## all archives are re-compressed with bzip2 instead of gzip
|
||||||
|
##Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
##Source1: ftp://ftp.ruby-lang.org/pub/%{name}/doc/%{name}-man-%{manver}.tar.gz
|
||||||
|
Source1: %{name}-man-%{manver}.tar.bz2
|
||||||
|
##Source2: ftp://ftp.ruby-lang.org/pub/%{name}/doc/%{name}-man-%{manver}-jp.tar.gz
|
||||||
|
Source2: %{name}-man-%{manver}-jp.tar.bz2
|
||||||
|
##Source3: ftp://ftp.ruby-lang.org/pub/%{name}/doc/rubyfaq-990927.tar.gz
|
||||||
|
Source3: rubyfaq-990927.tar.bz2
|
||||||
|
##Source4: ftp://ftp.ruby-lang.org/pub/%{name}/doc/rubyfaq-jp-990927.tar.gz
|
||||||
|
Source4: rubyfaq-jp-990927.tar.bz2
|
||||||
|
Source5: irb.1
|
||||||
|
Source10: ruby-mode-init.el
|
||||||
|
|
||||||
|
Patch500: ruby-1.6.7-500-marshal-proc.patch
|
||||||
|
Patch501: ruby-1.6.7-501-class-var.patch
|
||||||
|
Patch900: ruby-1.6.6-900-XXX-strtod.patch
|
||||||
|
|
||||||
|
|
||||||
|
Summary: An interpreter of object-oriented scripting language
|
||||||
|
Group: Development/Languages
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Patch: ruby-1.6.4-warnings.patch
|
|
||||||
Patch1: ruby-1.6.4-mowarnings.patch
|
|
||||||
Patch2: ruby-1.6.4-stacklevel.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ruby is the interpreted scripting language for quick and easy
|
Ruby is the interpreted scripting language for quick and easy
|
||||||
@ -29,10 +41,10 @@ object-oriented programming. It has many features to process text
|
|||||||
files and to do system management tasks (as in Perl). It is simple,
|
files and to do system management tasks (as in Perl). It is simple,
|
||||||
straight-forward, and extensible.
|
straight-forward, and extensible.
|
||||||
|
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Libraries necessary to run Ruby.
|
Summary: Libraries necessary to run Ruby.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://www.ruby-lang.org/
|
|
||||||
Provides: libruby
|
Provides: libruby
|
||||||
Obsoletes: libruby
|
Obsoletes: libruby
|
||||||
|
|
||||||
@ -43,18 +55,17 @@ This package includes the libruby, necessary to run Ruby.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: A Ruby development environment.
|
Summary: A Ruby development environment.
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
URL: http://www.ruby-lang.org/
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files and libraries for building a extension library for the
|
Header files and libraries for building a extension library for the
|
||||||
Ruby or an application embedded Ruby.
|
Ruby or an application embedded Ruby.
|
||||||
|
|
||||||
|
|
||||||
%package tcltk
|
%package tcltk
|
||||||
Summary: Tcl/Tk interface for scripting language Ruby.
|
Summary: Tcl/Tk interface for scripting language Ruby.
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
URL: http://www.ruby-lang.org/
|
|
||||||
|
|
||||||
%description tcltk
|
%description tcltk
|
||||||
Tcl/Tk interface for the object-oriented scripting language Ruby.
|
Tcl/Tk interface for the object-oriented scripting language Ruby.
|
||||||
@ -63,86 +74,127 @@ Tcl/Tk interface for the object-oriented scripting language Ruby.
|
|||||||
%package -n irb
|
%package -n irb
|
||||||
Summary: The Intaractive Ruby.
|
Summary: The Intaractive Ruby.
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
URL: http://www.ruby-lang.org/
|
|
||||||
|
|
||||||
%description -n irb
|
%description -n irb
|
||||||
IRB, Interactive RuBy, evaluates ruby expressions from the terminal.
|
The irb is acronym for Interactive RuBy. It evaluates ruby expression
|
||||||
|
from the terminal.
|
||||||
|
|
||||||
|
|
||||||
%package docs
|
%package docs
|
||||||
Summary: Manuals and FAQs for scripting language Ruby.
|
Summary: Manuals and FAQs for scripting language Ruby.
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
URL: http://www.ruby-lang.org/
|
|
||||||
|
|
||||||
%description docs
|
%description docs
|
||||||
Manuals and FAQs for the object-oriented scripting language Ruby.
|
Manuals and FAQs for the object-oriented scripting language Ruby.
|
||||||
|
|
||||||
|
|
||||||
|
%package mode
|
||||||
|
Summary: Emacs Lisp ruby-mode for the scripting language Ruby
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: emacs
|
||||||
|
|
||||||
|
%description mode
|
||||||
|
Emacs Lisp ruby-mode for the object-oriented scripting language Ruby.
|
||||||
|
|
||||||
|
|
||||||
|
%package mode-xemacs
|
||||||
|
Summary: Emacs Lisp ruby-mode for the scripting language Ruby
|
||||||
|
Group: Applications/Editors
|
||||||
|
Requires: xemacs
|
||||||
|
ExcludeArch: alpha
|
||||||
|
|
||||||
|
%description mode-xemacs
|
||||||
|
Emacs Lisp ruby-mode for the object-oriented scripting language Ruby.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -a 1 -a 2 -a 3 -a 4
|
%setup -q -c -a 1 -a 2 -a 3 -a 4
|
||||||
%patch -p1
|
pushd %{name}-%{version}
|
||||||
%patch1 -p1
|
%patch500 -p1
|
||||||
%patch2 -p1
|
%patch501 -p1
|
||||||
|
%patch900 -p1
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd %{name}-%{version}
|
pushd %{name}-%{version}
|
||||||
%configure \
|
autoconf
|
||||||
|
|
||||||
|
%ifarch alpha ia64
|
||||||
|
rb_cv_func_strtod=no CFLAGS="-O0" CXXFLAGS="-O0" ./configure \
|
||||||
|
%else
|
||||||
|
rb_cv_func_strtod=no ./configure \
|
||||||
|
%endif
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--mandir='${prefix}/share/man' \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
|
--localstatedir=%{_localstatedir} \
|
||||||
|
--with-sitedir='${prefix}/local/lib/site_ruby/%{rubyxver}' \
|
||||||
--with-default-kcode=none \
|
--with-default-kcode=none \
|
||||||
--with-dbm-include=/usr/include/db1 \
|
--with-dbm-include=/usr/include/db1 \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--with-lookup-order-hack=INET
|
--with-lookup-order-hack=INET \
|
||||||
|
%{_target_cpu}-%{_target_os}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make
|
||||||
make %{?_smp_mflags} test
|
make test
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode
|
||||||
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
|
||||||
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/ruby-mode
|
||||||
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/site-start.d
|
||||||
|
|
||||||
# installing documents and exapmles...
|
# installing documents and exapmles...
|
||||||
mkdir tmp-ruby-docs
|
mkdir tmp-ruby-docs
|
||||||
cd tmp-ruby-docs
|
cd tmp-ruby-docs
|
||||||
|
|
||||||
# for ruby.rpm
|
# for ruby.rpm
|
||||||
mkdir ruby
|
mkdir ruby ruby-libs ruby-devel ruby-tcltk ruby-docs irb
|
||||||
cd ruby
|
cd ruby
|
||||||
(cd ../../%{name}-%{version} &&
|
(cd ../../%{name}-%{version} && tar cf - sample) | tar xvf -
|
||||||
tar cf - misc sample lib/README*) | tar xvf -
|
cd ..
|
||||||
|
|
||||||
|
# for ruby-libs
|
||||||
|
cd ruby-libs
|
||||||
|
(cd ../../%{name}-%{version} && tar cf - lib/README*) | tar xvf -
|
||||||
|
(cd ../../%{name}-%{version}/doc && tar cf - .) | tar xvf -
|
||||||
(cd ../../%{name}-%{version} &&
|
(cd ../../%{name}-%{version} &&
|
||||||
tar cf - `find ext \
|
tar cf - `find ext \
|
||||||
-mindepth 1 \
|
-mindepth 1 \
|
||||||
\( -path '*/sample/*' -o -path '*/demo/*' \) -o \
|
\( -path '*/sample/*' -o -path '*/demo/*' \) -o \
|
||||||
\( -name '*.rb' -not -path '*/lib/*' -not -name extconf.rb \) -o \
|
\( -name '*.rb' -not -path '*/lib/*' -not -name extconf.rb \) -o \
|
||||||
\( -name 'README*' -o -name '*.txt*' -o -name 'MANUAL*' \)`) | tar xvf -
|
\( -name 'README*' -o -name '*.txt*' -o -name 'MANUAL*' \)`) | tar xvf -
|
||||||
|
|
||||||
# fixing `#!' paths
|
|
||||||
for f in `find . -type f`
|
|
||||||
do
|
|
||||||
sed -e 's,^#![ ]*\([^ ]*\)/\(ruby\|with\|perl\|env\),#!/usr/bin/\2,' < $f > $f.n
|
|
||||||
mv -f $f.n $f
|
|
||||||
done
|
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
# for ruby-devel.rpm
|
|
||||||
mkdir ruby-devel
|
# for irb
|
||||||
|
cd irb
|
||||||
|
mv ../ruby-libs/irb/* .
|
||||||
|
rmdir ../ruby-libs/irb
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# for ruby-devel
|
||||||
cd ruby-devel
|
cd ruby-devel
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
# for ruby-tcltk.rpm
|
|
||||||
mkdir ruby-tcltk
|
# for ruby-tcltk
|
||||||
cd ruby-tcltk
|
cd ruby-tcltk
|
||||||
for target in tcltklib tk
|
for target in tcltklib tk
|
||||||
do
|
do
|
||||||
(cd ../ruby &&
|
(cd ../ruby-libs &&
|
||||||
tar cf - `find . -path "*/$target/*"`) | tar xvf -
|
tar cf - `find . -path "*/$target/*"`) | tar xvf -
|
||||||
(cd ../ruby &&
|
(cd ../ruby-libs &&
|
||||||
rm -rf `find . -name "$target" -type d`)
|
rm -rf `find . -name "$target" -type d`)
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
# for ruby-docs.rpm
|
|
||||||
mkdir ruby-docs
|
# for ruby-docs
|
||||||
cd ruby-docs
|
cd ruby-docs
|
||||||
mkdir doc-en doc-ja faq-en faq-ja
|
mkdir doc-en doc-ja faq-en faq-ja
|
||||||
(cd ../../ruby-man-`echo %{manver} | sed -e 's/\.[0-9]*$//'` && tar cf - .) | (cd doc-en && tar xvf -)
|
(cd ../../ruby-man-`echo %{manver} | sed -e 's/\.[0-9]*$//'` && tar cf - .) | (cd doc-en && tar xvf -)
|
||||||
@ -158,36 +210,78 @@ mkdir doc-en doc-ja faq-en faq-ja
|
|||||||
rm -f $f; \
|
rm -f $f; \
|
||||||
done)
|
done)
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# fixing `#!' paths
|
||||||
|
for f in `find . -type f`
|
||||||
|
do
|
||||||
|
sed -e 's,^#![ ]*\([^ ]*\)/\(ruby\|with\|perl\|env\),#!/usr/bin/\2,' < $f > $f.n
|
||||||
|
if ! cmp $f $f.n
|
||||||
|
then
|
||||||
|
mv -f $f.n $f
|
||||||
|
else
|
||||||
|
rm -f $f.n
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# done
|
# done
|
||||||
cd ../..
|
cd ..
|
||||||
|
|
||||||
# installing binaries ...
|
# installing binaries ...
|
||||||
cd %{name}-%{version}
|
cd %{name}-%{version}
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# XXX: installing irb
|
# XXX: installing irb
|
||||||
#mv tmp-ruby-docs/ruby/sample/irb.rb $RPM_BUILD_ROOT%{_bindir}/irb
|
|
||||||
chmod 555 $RPM_BUILD_ROOT%{_bindir}/irb
|
chmod 555 $RPM_BUILD_ROOT%{_bindir}/irb
|
||||||
install ${RPM_SOURCE_DIR}/irb.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
|
|
||||||
|
# installing ruby-mode
|
||||||
|
cd %{name}-%{version}
|
||||||
|
cp misc/*.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode
|
||||||
|
cp misc/*.el $RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/ruby-mode
|
||||||
|
|
||||||
|
## for ruby-mode
|
||||||
|
pushd $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode
|
||||||
|
cat <<EOF > path.el
|
||||||
|
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
||||||
|
EOF
|
||||||
|
emacs --no-site-file -q -batch -l path.el -f batch-byte-compile *.el
|
||||||
|
rm -f path.el*
|
||||||
|
popd
|
||||||
|
install -m 644 %{SOURCE10} \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
|
||||||
|
|
||||||
|
## for ruby-mode-xemacs
|
||||||
|
pushd $RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/ruby-mode
|
||||||
|
cat <<EOF > path.el
|
||||||
|
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
||||||
|
EOF
|
||||||
|
xemacs -no-site-file -q -batch -l path.el -f batch-byte-compile *.el
|
||||||
|
rm -f path.el*
|
||||||
|
popd
|
||||||
|
install -m 644 %{SOURCE10} \
|
||||||
|
$RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/site-start.d
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
# listing all files in ruby-all.files
|
# listing all files in ruby-all.files
|
||||||
(find $RPM_BUILD_ROOT%{_bindir} \
|
(find $RPM_BUILD_ROOT%{_bindir} \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir} \
|
||||||
$RPM_BUILD_ROOT%{_libdir} \
|
$RPM_BUILD_ROOT%{_libdir} \
|
||||||
$RPM_BUILD_ROOT%{_mandir} \
|
$RPM_BUILD_ROOT%{_mandir} \
|
||||||
-type f -o -type l) |
|
-type f -o -type l) |
|
||||||
sort | sed -e "s,^$RPM_BUILD_ROOT,," \
|
sort | uniq | sed -e "s,^$RPM_BUILD_ROOT,," \
|
||||||
-e "s,\(/man/man./.*\)$,\1*," > ruby-all.files
|
-e "s,\(/man/man./.*\)$,\1*," > ruby-all.files
|
||||||
egrep '(\.[ah]|libruby\.so)$' ruby-all.files > ruby-devel.files
|
egrep '(\.[ah]|libruby\.so)$' ruby-all.files > ruby-devel.files
|
||||||
|
|
||||||
# for ruby-tcltk.rpm
|
# for ruby-tcltk.rpm
|
||||||
cp /dev/null ruby-tcltk.files
|
cp /dev/null ruby-tcltk.files
|
||||||
for f in `cd %{name}-%{version}/ext/tk && find lib -type f; echo *.so`
|
for f in `find %{name}-%{version}/ext/tk/lib -type f; echo %{name}-%{version}/ext/tk/*.so`
|
||||||
do
|
do
|
||||||
grep "/`basename $f`$" ruby-all.files >> ruby-tcltk.files
|
grep "/`basename $f`$" ruby-all.files >> ruby-tcltk.files
|
||||||
done
|
done
|
||||||
for f in `cd %{name}-%{version}/ext/tcltklib && find lib -type f; echo *.so`
|
for f in `find %{name}-%{version}/ext/tcltklib/lib -type f; echo %{name}-%{version}/ext/tcltklib/*.so`
|
||||||
do
|
do
|
||||||
grep "/`basename $f`$" ruby-all.files >> ruby-tcltk.files
|
grep "/`basename $f`$" ruby-all.files >> ruby-tcltk.files
|
||||||
done
|
done
|
||||||
@ -198,31 +292,55 @@ fgrep 'irb' ruby-all.files > irb.files
|
|||||||
# for ruby-libs
|
# for ruby-libs
|
||||||
cp /dev/null ruby-libs.files
|
cp /dev/null ruby-libs.files
|
||||||
(fgrep '%{_libdir}' ruby-all.files;
|
(fgrep '%{_libdir}' ruby-all.files;
|
||||||
fgrep -h '%{_libdir}' ruby-devel.files ruby-tcltk.files irb.files) |
|
fgrep -h '%{_libdir}' ruby-devel.files ruby-tcltk.files irb.files) | egrep -v "elc?$" | \
|
||||||
sort | uniq -u > ruby-libs.files
|
sort | uniq -u > ruby-libs.files
|
||||||
|
|
||||||
|
# for ruby-mode
|
||||||
|
cp /dev/null ruby-mode.files
|
||||||
|
fgrep '.el' ruby-all.files | grep -v xemacs >> ruby-mode.files
|
||||||
|
|
||||||
|
# for ruby-mode-xemacs
|
||||||
|
cp /dev/null ruby-mode-xemacs.files
|
||||||
|
fgrep '.el' ruby-all.files | grep -v share >> ruby-mode-xemacs.files
|
||||||
|
|
||||||
# for ruby.rpm
|
# for ruby.rpm
|
||||||
sort ruby-all.files \
|
sort ruby-all.files \
|
||||||
ruby-libs.files ruby-devel.files ruby-tcltk.files irb.files |
|
ruby-libs.files ruby-devel.files ruby-tcltk.files irb.files ruby-mode.files ruby-mode-xemacs.files |
|
||||||
uniq -u > ruby.files
|
uniq -u > ruby.files
|
||||||
|
|
||||||
strip ${RPM_BUILD_ROOT}%{_bindir}/%{name}
|
strip $RPM_BUILD_ROOT%{_bindir}/%{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
rm -f *.files
|
rm -f *.files
|
||||||
rm -rf tmp-ruby-docs
|
rm -rf tmp-ruby-docs
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ -w %{_prefix}/local/lib -a ! -e %{sitedir} ]; then
|
||||||
|
mkdir -p %{sitedir} %{sitedir}/%{_target_cpu}-%{_target_os}
|
||||||
|
chown root.root %{sitedir} %{sitedir}/%{_target_cpu}-%{_target_os}
|
||||||
|
chmod 2775 %{sitedir} %{sitedir}/%{_target_cpu}-%{_target_os}
|
||||||
|
fi
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs
|
||||||
|
/sbin/ldconfig
|
||||||
|
if [ "$1" = 0 ]; then
|
||||||
|
if [ -w %{sitedir} -a -e %{sitedir}/%{_target_cpu}-%{_target_os} ]; then
|
||||||
|
rmdir %{sitedir}/%{_target_cpu}-%{_target_os} 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
if [ -w %{_prefix}/local/lib -a -e %{sitedir} ]; then
|
||||||
|
rmdir %{sitedir} 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%files -f ruby.files
|
%files -f ruby.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc %{name}-%{version}/README
|
%doc %{name}-%{version}/README
|
||||||
%lang(ja) %doc %{name}-%{version}/README.jp
|
%lang(ja) %doc %{name}-%{version}/README.ja
|
||||||
%doc %{name}-%{version}/COPYING*
|
%doc %{name}-%{version}/COPYING*
|
||||||
%doc %{name}-%{version}/ChangeLog
|
%doc %{name}-%{version}/ChangeLog
|
||||||
|
%doc %{name}-%{version}/LEGAL
|
||||||
%doc %{name}-%{version}/ToDo
|
%doc %{name}-%{version}/ToDo
|
||||||
%doc %{name}-%{version}/doc/NEWS
|
%doc %{name}-%{version}/doc/NEWS
|
||||||
%doc tmp-ruby-docs/ruby/*
|
%doc tmp-ruby-docs/ruby/*
|
||||||
@ -230,13 +348,16 @@ rm -rf tmp-ruby-docs
|
|||||||
%files devel -f ruby-devel.files
|
%files devel -f ruby-devel.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc %{name}-%{version}/README.EXT
|
%doc %{name}-%{version}/README.EXT
|
||||||
%lang(ja) %doc %{name}-%{version}/README.EXT.jp
|
%lang(ja) %doc %{name}-%{version}/README.EXT.ja
|
||||||
|
|
||||||
%files libs -f ruby-libs.files
|
%files libs -f ruby-libs.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc %{name}-%{version}/README
|
%doc %{name}-%{version}/README
|
||||||
%lang(ja) %doc %{name}-%{version}/README.jp
|
%lang(ja) %doc %{name}-%{version}/README.ja
|
||||||
%doc %{name}-%{version}/doc/NEWS
|
%doc %{name}-%{version}/COPYING*
|
||||||
|
%doc %{name}-%{version}/ChangeLog
|
||||||
|
%doc %{name}-%{version}/LEGAL
|
||||||
|
%doc tmp-ruby-docs/ruby-libs/*
|
||||||
|
|
||||||
%files tcltk -f ruby-tcltk.files
|
%files tcltk -f ruby-tcltk.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -244,14 +365,53 @@ rm -rf tmp-ruby-docs
|
|||||||
|
|
||||||
%files -n irb -f irb.files
|
%files -n irb -f irb.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%doc tmp-ruby-docs/irb/*
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc tmp-ruby-docs/ruby-docs/*
|
%doc tmp-ruby-docs/ruby-docs/*
|
||||||
|
|
||||||
|
%files mode -f ruby-mode.files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc %{name}-%{version}/misc/README
|
||||||
|
|
||||||
|
%files mode-xemacs -f ruby-mode-xemacs.files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc %{name}-%{version}/misc/README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 06 2001 Elliot Lee <sopwith@redhat.com> 1.6.4-4
|
* Fri Mar 8 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-1
|
||||||
- Added some patches to make it build on alpha
|
- New upstream release.
|
||||||
|
- ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch:
|
||||||
|
removed. these patches no longer should be needed.
|
||||||
|
- ruby-1.6.7-500-marshal-proc.patch: applied a fix patch.
|
||||||
|
(ruby-dev#16178: Marshal::dump should call Proc#call.)
|
||||||
|
- ruby-1.6.7-501-class-var.patch: applied a fix patch.
|
||||||
|
(ruby-talk#35157: class vars broken in 1.6.7)
|
||||||
|
|
||||||
|
* Wed Feb 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-5
|
||||||
|
- Disable alpha because nothing is xemacs for alpha now.
|
||||||
|
|
||||||
|
* Tue Feb 5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-3
|
||||||
|
- Fixed the duplicate files.
|
||||||
|
|
||||||
|
* Tue Feb 5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-2
|
||||||
|
- Fixed the missing %%defattr
|
||||||
|
|
||||||
|
* Fri Feb 1 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-1
|
||||||
|
- New upstream release.
|
||||||
|
- Applied bug fix patches:
|
||||||
|
- ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock
|
||||||
|
coloring.
|
||||||
|
- ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix
|
||||||
|
ruby-list#33047: regex bug
|
||||||
|
PR#230: problem with -d in 1.6.6
|
||||||
|
- Added ruby-mode and ruby-mode-xemacs packages.
|
||||||
|
- Ruby works fine for ia64. so re-enable to build with ia64.
|
||||||
|
(probably it should be worked for alpha)
|
||||||
|
|
||||||
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||||
|
- automated rebuild
|
||||||
|
|
||||||
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.6.4-2
|
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.6.4-2
|
||||||
- Remove Japanese description and summaries; they belong in specspo and
|
- Remove Japanese description and summaries; they belong in specspo and
|
||||||
|
2
sources
2
sources
@ -1,4 +1,4 @@
|
|||||||
5d8d806a11dd4318d8213d43308860c2 ruby-1.6.4.tar.bz2
|
024f31f2d4f4ac6ca9c6b524b74568a2 ruby-1.6.7.tar.bz2
|
||||||
4177aba36004e43afb22c983989c9006 ruby-man-1.4.6-jp.tar.bz2
|
4177aba36004e43afb22c983989c9006 ruby-man-1.4.6-jp.tar.bz2
|
||||||
8336b859400795ec51d05878c1a658b7 ruby-man-1.4.6.tar.bz2
|
8336b859400795ec51d05878c1a658b7 ruby-man-1.4.6.tar.bz2
|
||||||
7f3e181c0be9a1579e43a5a8b26372d6 rubyfaq-990927.tar.bz2
|
7f3e181c0be9a1579e43a5a8b26372d6 rubyfaq-990927.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user