Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 92ffe17ceffbcfd24e1ac011d847b271 > files > 2

giws-1.3.0-1.mga2.src.rpm

Summary:	Generate C++ class wrappers to call Java methods/objects
Name:		giws
Version:	1.3.0
Release:	%mkrel 1
License:	CeCILL
Group:		Development/Python
Url:		http://www.scilab.org/giws/
Source0:	%{name}-%{version}.tar.gz
BuildRequires:	python-devel
BuildArch:	noarch

%description
Giws is basically doing the same stuff as SWIG but the opposite.
Calling Java from C/C++ can be tricky: JNI calls are complicated 
especially when dealing with non primivite types or arrays, 
performance issues must be kept in mind all the time, 
the code can be redundant (checking exceptions, checking returns
of operations...).
Giws hides this complexity through a C++ class which wraps the
Java class.

%prep
%setup -q

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot} --record=INSTALLED_FILES

%files
%defattr(-,root,root)
%doc AUTHORS BUGS README LICENSE CHANGELOG
%{_bindir}/*
%py_puresitedir/*




%changelog

* Sun Nov 06 2011 grenoya <grenoya> 1.3.0-1.mga2
+ Revision: 164320
- new version 1.3.0

* Sat Apr 16 2011 grenoya <grenoya> 1.2.4-1.mga1
+ Revision: 86692
- update sources to 1.2.4

* Thu Mar 31 2011 grenoya <grenoya> 1.2.0-1.mga1
+ Revision: 79358
- imported package giws