/[packages]/cauldron/ruby/current/SPECS/ruby.spec
ViewVC logotype

Diff of /cauldron/ruby/current/SPECS/ruby.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5220 by pterjan, Mon Jan 10 01:15:19 2011 UTC revision 25806 by rtp, Thu Jan 20 15:04:00 2011 UTC
# Line 46  Buildroot:     %{_tmppath}/%{name}-%{version Line 46  Buildroot:     %{_tmppath}/%{name}-%{version
46  %define my_target_cpu x86_64  %define my_target_cpu x86_64
47  %endif  %endif
48    
49    # we're building for eabi
50    %ifarch %arm
51    %define abi -eabi
52    %else
53    %define abi %{nil}
54    %endif
55    
56  %package        doc  %package        doc
57  Summary:        Documentation for the powerful language Ruby  Summary:        Documentation for the powerful language Ruby
58  Group:          Development/Ruby  Group:          Development/Ruby
# Line 142  EOF Line 149  EOF
149    && find usr/lib/ruby/%{subver} \    && find usr/lib/ruby/%{subver} \
150            \( -not -type d -printf "/%%p\n" \) \            \( -not -type d -printf "/%%p\n" \) \
151            -or \( -type d -printf "%%%%dir /%%p\n" \) \            -or \( -type d -printf "%%%%dir /%%p\n" \) \
152  ) | egrep -v '/(tcl)?tk|(%{my_target_cpu}-%{_target_os}/.*[ha]$)' > %{name}.list  ) | egrep -v '/(tcl)?tk|(%{my_target_cpu}-%{_target_os}%{abi}/.*[ha]$)' > %{name}.list
153    
154  # Fix scripts permissions and location  # Fix scripts permissions and location
155  find %buildroot sample -type f | file -i -f - | grep text | cut -d: -f1 >text.list  find %buildroot sample -type f | file -i -f - | grep text | cut -d: -f1 >text.list
# Line 189  rm -rf %buildroot Line 196  rm -rf %buildroot
196    
197  %files devel  %files devel
198  %defattr(-, root, root)  %defattr(-, root, root)
199  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}/*.[ah]  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}%{abi}/*.[ah]
200  %{_libdir}/libruby-static.a  %{_libdir}/libruby-static.a
201  %{_libdir}/libruby.so  %{_libdir}/libruby.so
202    
203  %files tk  %files tk
204  %defattr(-, root, root)  %defattr(-, root, root)
205  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}/tcltk*  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}%{abi}/tcltk*
206  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}/tk*  %{_prefix}/lib/%{name}/%{subver}/%{my_target_cpu}-%{_target_os}%{abi}/tk*
207  %{_prefix}/lib/%{name}/%{subver}/tcltk*  %{_prefix}/lib/%{name}/%{subver}/tcltk*
208  %{_prefix}/lib/%{name}/%{subver}/tk*  %{_prefix}/lib/%{name}/%{subver}/tk*
209  %{_prefix}/lib/%{name}/%{subver}/test/unit/ui/tk  %{_prefix}/lib/%{name}/%{subver}/test/unit/ui/tk

Legend:
Removed from v.5220  
changed lines
  Added in v.25806

  ViewVC Help
Powered by ViewVC 1.1.30