Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
slycot
Slycot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Slycot.spec of Package slycot
# sitelib for noarch packages, sitearch for others (remove the unneeded one) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Summary: Slycot: a wrapper for the SLICOT control and systems library Name: Slycot Version: 0.3.2 Release: 0 Source0: %{name}-%{version}.tar.bz2 # Patch0: fixes.patch License: GPLv2 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} Vendor: Slycot developers <python-control-discuss@lists.sourceforge.net> Url: https://github.com/python-control/Slycot BuildRequires: python-devel BuildRequires: lapack-devel BuildRequires: blas-devel %if 0%{?fedora_version} BuildRequires: gcc-gfortran BuildRequires: python-numpy-f2py BuildRequires: python3-numpy-f2py %else BuildRequires: gcc-fortran BuildRequires: python-numpy-devel BuildRequires: python3-numpy-devel %endif BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: python-setuptools BuildRequires: python3-setuptools %description Slycot wraps the SLICOT library which is used for control and systems analysis. %package -n python-Slycot Summary: Slycot: a wrapper for the SLICOT control and systems library Group: Development/Libraries %description -n python-Slycot Slycot wraps the SLICOT library which is used for control and systems analysis. %package -n python3-Slycot Summary: Slycot: a wrapper for the SLICOT control and systems library Group: Development/Libraries %description -n python3-Slycot Slycot wraps the SLICOT library which is used for control and systems analysis. %prep %setup -q -n %{name}-%{version} # %patch0 -p1 %build env CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" python setup.py build %install env CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ python setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot} \ --record=INSTALLED_FILES2 env CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ python3 setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot} \ --record=INSTALLED_FILES3 %clean rm -rf $RPM_BUILD_ROOT %files %doc README.rst %files -n python-Slycot -f INSTALLED_FILES2 %defattr(-,root,root) %dir %{python_sitearch}/slycot %dir %{python_sitearch}/slycot/tests %files -n python3-Slycot -f INSTALLED_FILES3 %defattr(-,root,root) %dir %{python3_sitearch}/slycot %dir %{python3_sitearch}/slycot/tests %dir %{python3_sitearch}/slycot/__pycache__ %dir %{python3_sitearch}/slycot/tests/__pycache__
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor