File: python-biggles.spec

package info (click to toggle)
python-biggles 1.6.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 628 kB
  • ctags: 789
  • sloc: python: 3,728; ansic: 1,103; makefile: 85; pascal: 42
file content (89 lines) | stat: -rw-r--r-- 2,986 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# $Id: python-biggles.spec,v 1.24 2004/03/08 23:40:25 mrnolta Exp $
#
# Copyright (C) 2001 Mike Nolta <mrnolta@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA  02111-1307, USA.
#
Version: 1.6.4
Release: 1
Name: python-biggles
Summary: high-level scientific plotting module for Python
Packager: Michael Nolta <mrnolta@users.sourceforge.net>
Source: http://download.sourceforge.net/biggles/python-biggles-%{version}.tar.gz
URL: http://biggles.sourceforge.net/
Copyright: GPL
Group: Applications/Graphics
Requires: plotutils
Requires: python >= 1.5.2
BuildRoot: /var/tmp/%{name}-%{version}-buildroot
Prefix: /usr

%define bigglesdir %{prefix}/lib/python1.5/site-packages/biggles

%description

Biggles is a Python module for creating publication-quality 2D scientific
plots. It supports multiple output formats (postscript, x11, png, svg, gif),
understands simple TeX, and sports a high-level, elegant interface. It's
intended for technical users with sophisticated plotting needs.

%prep
%setup -q

%build
make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{bigglesdir}
install -m644 src/config.ini %{buildroot}%{bigglesdir}/config.ini
install -m644 src/*.py  %{buildroot}%{bigglesdir}/
install -m644 src/*.pyc %{buildroot}%{bigglesdir}/
install -m755 src/*.so  %{buildroot}%{bigglesdir}/
mkdir -p %{buildroot}%{bigglesdir}/libplot
install -m644 src/libplot/*.py  %{buildroot}%{bigglesdir}/libplot
install -m644 src/libplot/*.pyc %{buildroot}%{bigglesdir}/libplot
install -m755 src/libplot/*.so  %{buildroot}%{bigglesdir}/libplot

%files
%defattr(-,root,root)
%doc COPYING CREDITS ChangeLog README examples
%dir %{bigglesdir}
%config %{bigglesdir}/config.ini
%{bigglesdir}/*.py
%{bigglesdir}/*.pyc
%{bigglesdir}/*.so
%dir %{bigglesdir}/libplot
%{bigglesdir}/libplot/*.py
%{bigglesdir}/libplot/*.pyc
%{bigglesdir}/libplot/*.so

%changelog
* Sat Nov 03 2001 Michael Nolta <mrnolta@users.sourceforge.net>
- Removed *.pyo files. Made code slower.

* Fri Oct 26 2001 Michael Nolta <mrnolta@users.sourceforge.net>
- Updated for new file layout. Added *.pyo files.

* Sun Jan 25 2001 Michael Nolta <mrnolta@users.sourceforge.net>
- Added support for *.so files.

* Sun Dec 17 2000 Michael Nolta <mrnolta@users.sourceforge.net>
- Added *.pyc files.

* Tue Nov 24 2000 Michael Nolta <mrnolta@users.sourceforge.net>
- Created.