Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:misc
python-meep
python-meep.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-meep.spec of Package python-meep
# # spec file for package python-meep # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %define modname meep Summary: Python Bindings for the meep FDTD simulator License: GPL-3.0 Group: Productivity/Scientific/Physics Name: python-%modname Version: 1.4.2 Release: 0 Url: https://launchpad.net/python-meep Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: hdf5-devel BuildRequires: meep BuildRequires: python BuildRequires: python-devel BuildRequires: python-numpy BuildRequires: python-numpy-devel BuildRequires: python-scipy # TODO: Is weave really needed? BuildRequires: python-weave BuildRequires: swig Requires: meep Requires: python-matplotlib Requires: python-numpy Requires: python-scipy %description Python-meep is a wrapper around libmeep. It allows the scripting of Meep-simulations with Python. %prep %setup -q -n %{name} %build CFLAGS="%{optflags}" python setup.py build_ext -I%{_includedir},%{python_sitearch}/numpy/core/include -L%{_libdir} %install python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README AUTHORS COPYRIGHT %{python_sitearch}/_%{modname}.so %{python_sitearch}/%{modname}.py* %{python_sitearch}/custom.hpp %{python_sitearch}/python_%{modname}-1.4-py%{py_ver}.egg-info %changelog
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