Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
libneurosim
libneurosim.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libneurosim.spec of Package libneurosim
# # spec file for package libneurosim # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %bcond_with mpi Name: libneurosim Version: 1.2.0 %define sonum 0 Release: 1 License: GPL-2.0-or-later Summary: Generic support library for neuronal simulators Group: Productivity/Scientific/Other URL: https://github.com/INCF/libneurosim Source0: https://github.com/INCF/libneurosim/archive/refs/tags/v%{version}.tar.gz#/libneurosim-%{version}.tar.gz Patch0: use_system_ltdl.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: gcc-c++ %if %{with mpi} BuildRequires: openmpi-devel %endif BuildRequires: python3-devel %description libneurosim is a general library that provides interfaces and common utility code for neuronal simulators. %package -n %{name}%{sonum} Summary: Generic support library for neuronal simulators Group: Productivity/Scientific/Other %description -n %{name}%{sonum} libneurosim is a general library that provides interfaces and common utility code for neuronal simulators. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name}%{sonum} = %{version} Requires: libpy3neurosim%{sonum} = %{version} %description devel Development libraries and headers needed to build packages using %{name} %package doc Summary: Documentation for %{name} Group: Productivity/Scientific/Other %description doc Documentation and help files for %{name} %package -n libpy3neurosim%{sonum} Summary: Support for connection generations written in Python3 Group: Development/Libraries/Python %description -n libpy3neurosim%{sonum} libneurosim is a general library that provides interfaces and common utility code for neuronal simulators. libpyneurosim is a library provided to support the usage of connection generators written in Python from a neuronal simulator written in C++. That is, it is not an extension library to the Python scripting language. %prep %autosetup -p1 # Add "foreign" as automake insists of needing a ChangeLog file sed -i -e '/^AUTOMAKE_OPTIONS/ s/$/ foreign/' Makefile.am %build autoreconf --force --install --verbose %configure \ %{?with_mpi:--with-mpi} \ --with-python=3 \ --disable-static \ %{nil} %make_build %install %make_install find %{buildroot}%{_libdir} -iname \*.la -ls -delete %post -n %{name}%{sonum} -p /sbin/ldconfig %postun -n %{name}%{sonum} -p /sbin/ldconfig %post -n libpy3neurosim%{sonum} -p /sbin/ldconfig %postun -n libpy3neurosim%{sonum} -p /sbin/ldconfig %files -n %{name}%{sonum} %doc NEWS README.md %license COPYING %{_libdir}/libneurosim.so.%{sonum}* %files devel %{_includedir}/neurosim/ %{_libdir}/libneurosim.so %{_libdir}/libpy3neurosim.so %files -n libpy3neurosim%{sonum} %{_libdir}/libpy3neurosim.so.%{sonum}* %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