SPECS: ruby-qt4-qtruby.spec (NEW) - added
twittner
twittner at pld-linux.org
Sun Aug 17 19:56:43 CEST 2008
Author: twittner Date: Sun Aug 17 17:56:43 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-qt4-qtruby.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-qt4-qtruby.spec
diff -u /dev/null SPECS/ruby-qt4-qtruby.spec:1.1
--- /dev/null Sun Aug 17 19:56:43 2008
+++ SPECS/ruby-qt4-qtruby.spec Sun Aug 17 19:56:38 2008
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - file /usr/bin/rbqtapi from install of ruby-qt4-qtruby-1.4.10-0.1.pentium4 conflicts with file from package kdebindings-ruby-qt-3.5.9-2.i686
+# - switch to ruby_vendor{lib,arch}dirs - probably there is a problem with /usr/share/cmake/Modules/FindRuby.cmake:41: \
+# EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
+# - complete spec (BRs,...)
+# - fix qwt issue
+#
+%define _pnam qt4-qtruby
+Summary: Ruby bindings for the Qt4 GUI library
+#Summary(pl.UTF-8): -
+Name: ruby-%{_pnam}
+Version: 1.4.10
+Release: 0.1
+License: GPL v2
+Group: Development/Languages
+Source0: http://rubyforge.org/frs/download.php/36331/%{_pnam}-%{version}.tgz
+# Source0-md5: 3bbc8f869ad50123e61e493795dab38a
+Patch0: %{name}-debian.patch
+URL: http://rubyforge.org/projects/korundum/
+BuildRequires: cmake >= 2.6.0
+BuildRequires: qscintilla2-devel
+BuildRequires: qt4-qmake
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: ruby-devel
+BuildConflicts: qwt-devel
+%{?ruby_mod_ver_requires_eq}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby bindings for the Qt4 GUI library.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{_pnam}-%{version}
+%patch0 -p1
+
+%build
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+ -DRUBY_EXECUTABLE="%{__ruby}" \
+ -DCMAKE_VERBOSE_MAKEFILE=1 \
+ .
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/*
+%{_libdir}/libsmokeqt.so
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%{ruby_rubylibdir}/Qt.rb
+%dir %{ruby_rubylibdir}/Qt
+%{ruby_rubylibdir}/Qt/active_item_model.rb
+%{ruby_rubylibdir}/Qt/active_table_model.rb
+%{ruby_rubylibdir}/Qt/qtruby4.rb
+%{ruby_rubylibdir}/Qt3.rb
+%{ruby_rubylibdir}/Qt4.rb
+%attr(755,root,root) %{ruby_archdir}/qtruby4.so
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/08/17 17:56:38 twittner
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list