Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > c405153b8e93302ac573defb0d05e6a9 > files > 2

pymathml-0.2-4mdk.src.rpm

%define version 0.2
%define release 4mdk

Summary:	Python MathML renderer
Name:		pymathml
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Sciences/Mathematics
URL:		http://pymathml.sf.net/
Source:		ftp://osdn.dl.sourceforge.net/pub/sourceforge/p/py/%{name}/%{name}-%{version}.tar.bz2
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:	noarch
BuildRequires:	python-devel
Requires:	libxml2-python
# rendering backends
Requires:	libnxplot-python
Requires:	pygtk2.0

%description
The goal of %{name} is to create a system-independent MathML
rendering engine in Python. This engine works with an abstract
'plotter' driver class, that can be subclassed for any rendering
device needed.

%prep
%setup -q

%build
python ./setup.py build

%install
rm -rf %{buildroot}
python ./setup.py install --root %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS NEWS PKG-INFO README
%{_libdir}/python?.?/site-packages/*

%changelog
* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.2-4mdk
- Rebuild for new python

* Thu Dec 02 2004 Abel Cheung <deaddog@mandrake.org> 0.2-3mdk
- Yet another fix...

* Sun Nov 21 2004 Abel Cheung <deaddog@mandrake.org> 0.2-2mdk
- Fix BuildRequires

* Thu Oct 28 2004 Abel Cheung <deaddog@mandrake.org> 0.2-1mdk
- First Mandrake package