]> git.pld-linux.org Git - packages/python-matplotlib.git/blame - python-matplotlib.spec
- converted to UTF-8
[packages/python-matplotlib.git] / python-matplotlib.spec
CommitLineData
0daef324 1# TODO:
3b1e1355 2# - use system fonts (cm*.ttf) and metrics in mpl-data dir?
0daef324 3%define module matplotlib
db475c22 4Summary: Matlab(TM) style Python plotting package
617bcdd8 5Summary(pl.UTF-8): Pakiet do rysowania w Pythonie podobny do Matlaba(TM)
0daef324 6Name: python-%{module}
414ffa10 7Version: 0.90.0
a4b67024 8Release: 0.1
0daef324
AM
9License: GPL
10Group: Libraries/Python
11Source0: http://dl.sourceforge.net/matplotlib/%{module}-%{version}.tar.gz
414ffa10 12# Source0-md5: 31ea12395826080b5be9c1e292cda6f1
0daef324 13URL: http://matplotlib.sourceforge.net/
0daef324 14BuildRequires: freetype-devel
6466a51f 15BuildRequires: libstdc++-devel
db475c22 16BuildRequires: ncurses-devel
414ffa10 17BuildRequires: python >= 2.4
6466a51f 18BuildRequires: python-dateutil
0daef324 19BuildRequires: python-devel
414ffa10
RT
20BuildRequires: python-numpy-FFT
21BuildRequires: python-numpy-devel >= 1:1.0.1
22BuildRequires: python-numpy-numarray-devel
3a76081b 23BuildRequires: python-pygtk-devel
6466a51f 24BuildRequires: python-pytz
a4b67024 25BuildRequires: tk-devel
db475c22 26%pyrequires_eq python-modules
6466a51f 27Requires: python-dateutil
414ffa10 28Requires: python-numpy-FFT >= 1:1.0.1
6466a51f 29Requires: python-pytz
0daef324
AM
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33matplotlib strives to produce publication quality 2D graphics using
34matlab plotting for inspiration. Although the main lib is object
35oriented, there is a functional interface "pylab" for people coming
36from Matlab.
37
617bcdd8
JR
38%description -l pl.UTF-8
39matplotlib usiłuje tworzyć grafikę 2D o jakości publikacji przy użyciu
40wykresów matlaba jako inspiracji. Chociaż główna biblioteka jest
db475c22 41zorientowana obiektowo, jest interfejs funkcyjny "pylab" dla ludzi
617bcdd8 42przechodzących z Matlaba.
db475c22 43
0daef324
AM
44%prep
45%setup -q -n %{module}-%{version}
46
47%build
48python setup.py build
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53python setup.py install \
54 --root=$RPM_BUILD_ROOT \
55 --optimize=2
56
6466a51f 57find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py | xargs rm -f
0daef324 58
3b1e1355
JB
59# matplotlib can use system fonts, so drop these copies
60rm -f $RPM_BUILD_ROOT%{py_sitedir}/matplotlib/mpl-data/Vera*.ttf
61
0daef324
AM
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc CHANGELOG KNOWN_BUGS NUMARRAY_ISSUES README TODO
6466a51f
JB
68%dir %{py_sitedir}/matplotlib
69%{py_sitedir}/matplotlib/*.py[co]
70%attr(755,root,root) %{py_sitedir}/matplotlib/*.so
71%dir %{py_sitedir}/matplotlib/backends
72%{py_sitedir}/matplotlib/backends/*.py[co]
73%attr(755,root,root) %{py_sitedir}/matplotlib/backends/*.so
74%dir %{py_sitedir}/matplotlib/enthought
75%{py_sitedir}/matplotlib/enthought/*.py[co]
76%{py_sitedir}/matplotlib/enthought/resource
77%dir %{py_sitedir}/matplotlib/enthought/traits
78%{py_sitedir}/matplotlib/enthought/traits/*.py[co]
79%attr(755,root,root) %{py_sitedir}/matplotlib/enthought/traits/*.so
80%{py_sitedir}/matplotlib/enthought/traits/ui
81%{py_sitedir}/matplotlib/enthought/util
82%{py_sitedir}/matplotlib/mpl-data
83%{py_sitedir}/matplotlib/numerix
84%{py_sitedir}/matplotlib/toolkits
85%{py_sitedir}/pylab.py[co]
This page took 0.165357 seconds and 4 git commands to generate.