Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 7c346e63cc98d72d3776ef884b7ea3e1 > files > 3

python-jpype-0.5.4.2-3.mga4.src.rpm

%define module	JPype
%define tarname	JPype
%define name	python-jpype
%define version	0.5.4.2
%define release	%mkrel 3
%define debug_package %{nil}


Summary:	Allow python programs full access to java class libraries
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	http://sourceforge.net/projects/jpype/files/JPype/0.5.4/%{tarname}-%{version}.zip
Patch0:		jpype-args.patch
License:	BSD
Group:		Development/Python
Url:		http://jpype.sourceforge.net/
BuildRequires:	python-setuptools, python-sphinx
BuildRequires:	java
BuildRequires:	java-devel
%py_requires -d

%description
JPype is an effort to allow python programs full access to java
class libraries. This is achieved not through re-implementing
Python, as Jython/JPython has done, but rather through interfacing
at the native level in both Virtual Machines.

%prep
%setup -q -n %{tarname}-%{version}
sed -i 's/^\(ez_setup.use_setuptools\)/#\1/' setup.py
%apply_patches

%build
JAVA_HOME=/usr/lib/jvm/java \
  %__python setup.py build

%install
%__python setup.py install --root=%{buildroot}
find %{buildroot} -name "*.pyc" -delete

%files
%{_libdir}/*



%changelog
* Tue Oct 22 2013 umeabot <umeabot> 0.5.4.2-3.mga4
+ Revision: 543742
- Mageia 4 Mass Rebuild

* Tue Oct 15 2013 pterjan <pterjan> 0.5.4.2-2.mga4
+ Revision: 498782
- Rebuild to add different pythonegg provides for python 2 and 3

* Sun Jul 28 2013 joequant <joequant> 0.5.4.2-1.mga4
+ Revision: 459387
- set JAVA_HOME
- add java-devel
- add classpath-devel
- add java-devel
- remove period from summary
- imported package python-jpype