diff --git a/giws.spec b/giws.spec index 4f67eb7..0104b67 100644 --- a/giws.spec +++ b/giws.spec @@ -1,20 +1,17 @@ Name: giws -Version: 1.2.1 -Release: 2mamba +Version: 2.0.2 +Release: 1mamba Summary: Generate C++ class wrappers to call Java methods/objects Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.scilab.org/products/other/giws -# http://forge.scilab.org/index.php/p/giws/downloads/182/get/ -Source: giws-%{version}.tar.gz +URL: https://www.scilab.org/software/other/giws +Source: https://forge.scilab.org/index.php/p/giws/downloads/get/giws-%{version}.tar.gz License: CeCILL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython27-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description 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 -%{__python} setup.py build +%{__python27} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python27} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --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 [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f %{name}.filelist %defattr(-,root,root) -%{_bindir}/giws -%{python_sitearch}/*.py* -%{python_sitearch}/classRepresentation/*.py* -%{python_sitearch}/datatypes/*.py* -%{python_sitearch}/giws-%{version}-py%{python_version}.egg-info +%{python27_sitearch}/giws-%{version}-py%{python27_version}.egg-info %doc AUTHORS COPYING LICENSE -#BUGS README README-DEV TODO examples %changelog +* Sat Nov 06 2021 Silvan Calarco 2.0.2-1mamba +- update to 2.0.2 + * Sat Aug 03 2013 Silvan Calarco 1.2.1-2mamba - rebuilt with python 2.7