Author: cactus                       Date: Fri Nov 14 17:17:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lib64 patch
- rel 0.2

---- Files affected:
SPECS:
   ruby-qt4-qtruby.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ruby-qt4-qtruby.spec
diff -u SPECS/ruby-qt4-qtruby.spec:1.1 SPECS/ruby-qt4-qtruby.spec:1.2
--- SPECS/ruby-qt4-qtruby.spec:1.1      Sun Aug 17 19:56:38 2008
+++ SPECS/ruby-qt4-qtruby.spec  Fri Nov 14 18:17:14 2008
@@ -12,12 +12,13 @@
 #Summary(pl.UTF-8):    -
 Name:          ruby-%{_pnam}
 Version:       1.4.10
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Development/Languages
 Source0:       
http://rubyforge.org/frs/download.php/36331/%{_pnam}-%{version}.tgz
 # Source0-md5: 3bbc8f869ad50123e61e493795dab38a
 Patch0:                %{name}-debian.patch
+Patch1:                %{name}-lib64.patch
 URL:           http://rubyforge.org/projects/korundum/
 BuildRequires: cmake >= 2.6.0
 BuildRequires: qscintilla2-devel
@@ -36,20 +37,26 @@
 %prep
 %setup -q -n %{_pnam}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
+install -d build
+cd build
 %cmake \
        -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
        -DRUBY_EXECUTABLE="%{__ruby}" \
        -DCMAKE_VERBOSE_MAKEFILE=1 \
-       .
+%if "%{_lib}" == "lib64"
+       -DLIB_SUFFIX=64 \
+%endif
+       ../
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -63,6 +70,7 @@
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_libdir}/libsmokeqt.so
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.?
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %{ruby_rubylibdir}/Qt.rb
 %dir %{ruby_rubylibdir}/Qt
@@ -79,6 +87,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/11/14 17:17:14  cactus
+- lib64 patch
+- rel 0.2
+
 Revision 1.1  2008/08/17 17:56:38  twittner
 - added
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ruby-qt4-qtruby.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to