SPECS: ruby.spec - bcond tk
aredridel
aredridel at pld-linux.org
Tue Feb 20 05:24:20 CET 2007
Author: aredridel Date: Tue Feb 20 04:24:20 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bcond tk
---- Files affected:
SPECS:
ruby.spec (1.150 -> 1.151)
---- Diffs:
================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.150 SPECS/ruby.spec:1.151
--- SPECS/ruby.spec:1.150 Mon Feb 12 23:09:14 2007
+++ SPECS/ruby.spec Tue Feb 20 05:24:15 2007
@@ -15,6 +15,7 @@
# Conditional build:
%bcond_without doc # skip generating docs (which is time-consuming). Intended for speed up test builds
%bcond_without emacs # skip building package with ruby-mode for emacs
+%bcond_without tk # skip building package with Tk bindings
#
%define ruby_ver 1.8
%define ruby_ridir %{_datadir}/ri/%{ruby_ver}/system
@@ -65,7 +66,9 @@
BuildRequires: readline-devel >= 4.2
BuildRequires: sed >= 4.0
BuildRequires: texinfo
+%if %{with tk}
BuildRequires: tk-devel
+%endif
BuildRequires: unzip
Requires(post,postun): /sbin/ldconfig
Provides: ruby(ver) = %{ruby_ver}
@@ -135,6 +138,7 @@
- ri - interaktywna dokumentacja Ruby
- testrb - automatyczny runner dla Ruby Test::Unit
+%if %{with tk}
%package tk
Summary: Ruby/Tk bindings
Summary(pl.UTF-8): Wiązania Ruby/Tk
@@ -147,6 +151,8 @@
%description tk -l pl.UTF-8
Ten pakiet zawiera wiązania Ruby/Tk.
+%endif
+
%package devel
Summary: Ruby development libraries
Summary(pl.UTF-8): Biblioteki programistyczne interpretera języka Ruby
@@ -358,6 +364,7 @@
%defattr(644,root,root,755)
%{_libdir}/lib*.a
+%if %{with tk}
%files tk
%defattr(644,root,root,755)
%{_libdir}/%{name}/%{ruby_ver}/tcltk.rb
@@ -365,6 +372,7 @@
%{_libdir}/%{name}/%{ruby_ver}/tk
%{_libdir}/%{name}/%{ruby_ver}/tkextlib
%attr(755,root,root) %{_libdir}/%{name}/%{ruby_ver}/*-linux*/t*.so
+%endif
%files modules
%defattr(644,root,root,755)
@@ -453,6 +461,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.151 2007/02/20 04:24:15 aredridel
+- bcond tk
+
Revision 1.150 2007/02/12 22:09:14 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ruby.spec?r1=1.150&r2=1.151&f=u
More information about the pld-cvs-commit
mailing list