rpms/plplot/devel plplot.spec,1.34,1.35
Orion Poplawski (orion)
fedora-extras-commits at redhat.com
Tue Aug 7 16:40:58 UTC 2007
Author: orion
Update of /cvs/pkgs/rpms/plplot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20308
Modified Files:
plplot.spec
Log Message:
- Disable octave until plplot supports octave 2.9.11+
- Update license to LGPLv2+
- Exclude psttfc test until fixed
Index: plplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plplot/devel/plplot.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- plplot.spec 12 Jul 2007 19:54:29 -0000 1.34
+++ plplot.spec 7 Aug 2007 16:40:26 -0000 1.35
@@ -1,6 +1,7 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?octave_api: %define octave_api %(octave-config -p API_VERSION || echo 0)}
%{!?build_doc:%define build_doc 0}
+%{!?with_octave:%define with_octave 0}
Name: plplot
Version: 5.7.3
@@ -8,7 +9,7 @@
Summary: Library of functions for making scientific plots
Group: Applications/Engineering
-License: LGPL
+License: LGPLv2+
URL: http://plplot.sourceforge.net/
Source0: http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
Patch1: plplot-5.6.1-octave.patch
@@ -27,8 +28,13 @@
%else
%define build_ada %{nil}
%endif
+%if %{with_octave}
+BuildRequires: octave-devel
+%else
+Obsoletes: %{name}-octave < %{version}-%{release}
+%endif
BuildRequires: java-devel, libgcj-devel
-BuildRequires: freetype-devel, octave-devel, qhull-devel , ncurses-devel
+BuildRequires: freetype-devel, qhull-devel , ncurses-devel
BuildRequires: gd-devel, tcl-devel, tk-devel, itcl-devel, itk-devel
BuildRequires: python-devel, pygtk2-devel, python-numeric
BuildRequires: libgnomeui-devel, libgnomeprintui22-devel, gnome-python2-devel
@@ -130,6 +136,7 @@
%{summary}.
+%if %{with_octave}
%package octave
Summary: Functions for scientific plotting with Octave
Group: Development/Libraries
@@ -138,6 +145,7 @@
%description octave
%{summary}.
+%endif
%package tk
@@ -240,16 +248,13 @@
cat tclIndex.hd tclIndex > ${file}
done
-#Don't want MANIFESTs
-rm $RPM_BUILD_ROOT%{_infodir}/INFO-MANIFEST*
-rm $RPM_BUILD_ROOT%{_mandir}/man3/MAN-MANIFEST*
-
%check
cd fedora
#Hack
export ITCL_LIBRARY=%{_libdir}/itcl3.3
-ctest -V
+# Exclude psttfc test for now
+ctest -V -E psttfc
%clean
@@ -271,9 +276,11 @@
%postun gnome -p /sbin/ldconfig
+%if %{with_octave}
%post octave -p /sbin/ldconfig
%postun octave -p /sbin/ldconfig
+%endif
%post tk -p /sbin/ldconfig
@@ -418,6 +425,7 @@
%{_datadir}/plplot%{version}/examples/java/
%{_datadir}/plplot%{version}/examples/test_java.sh
+%if %{with_octave}
%files octave
%defattr(-,root,root,-)
%{_datadir}/plplot_octave/
@@ -426,6 +434,7 @@
%{_datadir}/plplot%{version}/examples/lena.img
%{_datadir}/plplot%{version}/examples/octave/
%{_datadir}/plplot%{version}/examples/test_octave.sh
+%endif
%files tk
%defattr(-,root,root,-)
@@ -463,6 +472,9 @@
- Disable Ada interface on ppc64 until available (bug #241233)
- Add svn patch to fix ada bindings on x86_64 and other issues
- Add build_doc conditional to test doc builds
+- Disable octave until plplot supports octave 2.9.11+
+- Update license to LGPLv2+
+- Exclude psttfc test until fixed
* Mon Apr 16 2007 - Orion Poplawski <orion at cora.nwra.com> - 5.7.3-2
- Use cmake macros
More information about the scm-commits
mailing list