/[packages]/cauldron/python-qwt/current/SPECS/python-qwt.spec
ViewVC logotype

Contents of /cauldron/python-qwt/current/SPECS/python-qwt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 319494 - (show annotations) (download)
Sun Nov 18 16:55:54 2012 UTC (6 years, 5 months ago) by fwang
File size: 1385 byte(s)
br qwt5
1 %define module PyQwt
2
3 Name: python-qwt
4 Version: 5.2.0
5 Release: %mkrel 2
6 Url: http://pyqwt.sourceforge.net/
7 License: GPLv2+
8 Group: Development/Python
9 Summary: Python bindings for Qwt (Qt Widgets for Technical applications)
10 Source0: http://belnet.dl.sourceforge.net/sourceforge/pyqwt/%{module}-%{version}.tar.gz
11 Provides: PyQwt = %{version}-%{release}
12 Requires: python-qt4
13 Requires: python-sip
14 Requires: python-numpy
15 %py_requires -d
16 BuildRequires: libqwt5-devel >= 5.2.0
17 BuildRequires: python-numpy-devel
18 BuildRequires: python-qt4
19 BuildRequires: python-sip
20
21 %description
22 Qwt is an extension to the Qt GUI library. The Qwt library contains
23 widgets and components which are primarily useful for technical and
24 scientific purposes. It includes a 2-D plotting widget, different
25 kinds of sliders, and much more.
26
27 PyQwt implements almost all of the functionality of the Qwt library.
28
29 %prep
30 %setup -q -n %{module}-%{version}
31
32 %build
33
34 cd configure
35 python configure.py %_smp_mflags \
36 --extra-cflags="%{optflags}" \
37 --extra-cxxflags="%{optflags}" \
38 --extra-lflags="%{?ldflags}" \
39 --extra-libs="python%{py_ver}" \
40 -I/usr/include/qwt \
41 --disable-numeric \
42 --disable-numarray
43
44 %make
45
46 %install
47 %makeinstall_std -C configure
48
49 %files
50 %doc README ANN* qt4examples
51 %{py_platsitedir}/*
52 %_datadir/sip/PyQt4/Qwt5/*

  ViewVC Help
Powered by ViewVC 1.1.26