update to 2.0.2 [release 2.0.2-1mamba;Sat Nov 06 2021]
This commit is contained in:
parent
3d08258cd1
commit
30d786fccb
35
giws.spec
35
giws.spec
@ -1,20 +1,17 @@
|
|||||||
Name: giws
|
Name: giws
|
||||||
Version: 1.2.1
|
Version: 2.0.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Generate C++ class wrappers to call Java methods/objects
|
Summary: Generate C++ class wrappers to call Java methods/objects
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.scilab.org/products/other/giws
|
URL: https://www.scilab.org/software/other/giws
|
||||||
# http://forge.scilab.org/index.php/p/giws/downloads/182/get/
|
Source: https://forge.scilab.org/index.php/p/giws/downloads/get/giws-%{version}.tar.gz
|
||||||
Source: giws-%{version}.tar.gz
|
|
||||||
License: CeCILL
|
License: CeCILL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython27-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Giws is basically doing the same stuff as SWIG but the opposite.
|
Giws is basically doing the same stuff as SWIG but the opposite.
|
||||||
@ -26,31 +23,33 @@ Giws hides this complexity through a C++ class which wraps the Java class.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%{__python} setup.py build
|
%{__python27} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%{__python} setup.py install \
|
%{__python27} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch}
|
--install-lib=%{python27_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
#sed -i ",__pycache__/.*.pyc$,d" %{name}.filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/giws
|
%{python27_sitearch}/giws-%{version}-py%{python27_version}.egg-info
|
||||||
%{python_sitearch}/*.py*
|
|
||||||
%{python_sitearch}/classRepresentation/*.py*
|
|
||||||
%{python_sitearch}/datatypes/*.py*
|
|
||||||
%{python_sitearch}/giws-%{version}-py%{python_version}.egg-info
|
|
||||||
%doc AUTHORS COPYING LICENSE
|
%doc AUTHORS COPYING LICENSE
|
||||||
#BUGS README README-DEV TODO examples
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
||||||
|
- update to 2.0.2
|
||||||
|
|
||||||
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
||||||
- rebuilt with python 2.7
|
- rebuilt with python 2.7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user