File: python-libplot.spec

package info (click to toggle)
python2.2-libplot 1.0.2-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 100 kB
  • ctags: 182
  • sloc: ansic: 372; python: 178; makefile: 72; sh: 3
file content (48 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (4)
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
%define pysite /usr/lib/python1.5/site-packages

Version: 1.0.2
Release: 2
Name: python-libplot
Summary: Python wrapper for GNU libplot
Packager: Michael Nolta <mrnolta@users.sourceforge.net>
Source: http://download.sourceforge.net/biggles/python-libplot-%{version}.tar.gz
URL: http://biggles.sourceforge.net/libplot/
Copyright: GPL
Group: Applications/Graphics
BuildRoot: /var/tmp/%{name}-%{version}-buildroot
Requires: plotutils == 2.4.1
Requires: python == 1.5.2

%description
This is a Python wrapper for the libplot library included in the GNU
plotutils package. 

%prep
%setup -q

%build
make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{pysite}
install -s -m755 _libplot.so %{buildroot}%{pysite}/_libplot.so
install -m644 libplot.py %{buildroot}%{pysite}/libplot.py
install -m644 libplot.pyc %{buildroot}%{pysite}/libplot.pyc

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING gosperc.py
%{pysite}/_libplot.so
%{pysite}/libplot.py
%{pysite}/libplot.pyc

%changelog
* Sun Nov 23 2000 Michael Nolta <mrnolta@users.sourceforge.net>
- Added libplot.pyc.

* Mon Nov 20 2000 Michael Nolta <mrnolta@users.sourceforge.net>
- Created.