packages: plplot/plplot.spec - build tcl/tk bindings with itcl/itk support ...
qboosh
qboosh at pld-linux.org
Fri Dec 2 20:05:23 CET 2011
Author: qboosh Date: Fri Dec 2 19:05:23 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- build tcl/tk bindings with itcl/itk support
- package .pyc/.pyo files
---- Files affected:
packages/plplot:
plplot.spec (1.55 -> 1.56)
---- Diffs:
================================================================
Index: packages/plplot/plplot.spec
diff -u packages/plplot/plplot.spec:1.55 packages/plplot/plplot.spec:1.56
--- packages/plplot/plplot.spec:1.55 Sun Nov 20 10:24:33 2011
+++ packages/plplot/plplot.spec Fri Dec 2 20:05:18 2011
@@ -1,6 +1,6 @@
# $Revision$, $Date$
# TODO:
-# - java, itcl, perl_pdl - why disabled?
+# - java, perl_pdl - why disabled?
# - bindings: ada, d, gnome2, java, lua, ocaml, tk-x-plat?
# NOTES:
# aqt driver is Darwin-only
@@ -13,7 +13,7 @@
%bcond_without gnome2 # GNOME 2 and pygtk bindings
%bcond_with perl_pdl # enable perl examples in tests
%bcond_with java # build Java binding
-%bcond_with itcl # build iTCL binding
+%bcond_without itcl # [incr Tcl]/[incr Tk] support in Tcl/Tk binding
#
Summary: PLplot - a library of functions that are useful for making scientific plots
Summary(pl.UTF-8): PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych
@@ -41,7 +41,8 @@
BuildRequires: freetype-devel >= 2.1.0
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
-%{?with_itcl:BuildRequires: itcl-devel}
+%{?with_itcl:BuildRequires: itcl-devel >= 3.4.1}
+%{?with_itcl:BuildRequires: itk-devel >= 3.4}
BuildRequires: jadetex
%{?with_java:BuildRequires: jdk}
BuildRequires: lapack-devel
@@ -68,6 +69,7 @@
BuildRequires: qt4-build
BuildRequires: qt4-qmake
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.605
BuildRequires: sed >= 4.0
BuildRequires: sip
BuildRequires: swig
@@ -563,6 +565,10 @@
mv $RPM_BUILD_ROOT%{_libdir}/java/plplot/core/README.javaAPI installed-docs
%endif
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -848,10 +854,10 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{py_sitedir}/_plplotcmodule.so
%attr(755,root,root) %{py_sitedir}/plplot_widgetmodule.so
-%{py_sitedir}/Plframe.py
-%{py_sitedir}/plplotc.py
-%{py_sitedir}/plplot.py
-%{py_sitedir}/TclSup.py
+%{py_sitedir}/Plframe.py[co]
+%{py_sitedir}/plplotc.py[co]
+%{py_sitedir}/plplot.py[co]
+%{py_sitedir}/TclSup.py[co]
%files -n python-plplot-qt4
%defattr(644,root,root,755)
@@ -868,6 +874,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2011/12/02 19:05:18 qboosh
+- build tcl/tk bindings with itcl/itk support
+- package .pyc/.pyo files
+
Revision 1.55 2011/11/20 09:24:33 qboosh
- build pdf driver (based on libharu)
- wxwidgets driver doesn't need plplot wxwidgets binding
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/plplot/plplot.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list