diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-efel.spec | 80 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 82 insertions, 0 deletions
@@ -0,0 +1 @@ +/efel-4.1.63.tar.gz diff --git a/python-efel.spec b/python-efel.spec new file mode 100644 index 0000000..23f520c --- /dev/null +++ b/python-efel.spec @@ -0,0 +1,80 @@ +%global _empty_manifest_terminate_build 0 +Name: python-efel +Version: 4.1.63 +Release: 1 +Summary: Electrophys Feature Extract Library (eFEL) +License: LGPLv3 +URL: https://github.com/BlueBrain/eFEL +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9c/e0/a18af34b7d2a90998c8e720bfb9bcb57ff3837a418e0075a6871715d0be1/efel-4.1.63.tar.gz + +Requires: python3-numpy +Requires: python3-six +Requires: python3-neo[neomatlabio] + +%description +The Electrophys Feature Extract Library (eFEL) allows neuroscientists to automatically extract features from time series data recorded from neurons (both in vitro and in silico). Examples are the action potential width and amplitude in voltage traces recorded during whole-cell patch clamp experiments. The user of the library provides a set of traces and selects the features to be calculated. The library will then extract the requested features and return the values to the user. + + +%package -n python3-efel +Summary: Electrophys Feature Extract Library (eFEL) +Provides: python-efel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-efel +The Electrophys Feature Extract Library (eFEL) allows neuroscientists to automatically extract features from time series data recorded from neurons (both in vitro and in silico). Examples are the action potential width and amplitude in voltage traces recorded during whole-cell patch clamp experiments. The user of the library provides a set of traces and selects the features to be calculated. The library will then extract the requested features and return the values to the user. + + +%package help +Summary: Development documents and examples for efel +Provides: python3-efel-doc +%description help +The Electrophys Feature Extract Library (eFEL) allows neuroscientists to automatically extract features from time series data recorded from neurons (both in vitro and in silico). Examples are the action potential width and amplitude in voltage traces recorded during whole-cell patch clamp experiments. The user of the library provides a set of traces and selects the features to be calculated. The library will then extract the requested features and return the values to the user. + + +%prep +%autosetup -n efel-4.1.63 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-efel -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.63-1 +- Package Spec generated @@ -0,0 +1 @@ +40cfaf45f371c30570658dbb15336b2b efel-4.1.63.tar.gz |