diff --git a/python-tvb-data.spec b/python-tvb-data.spec new file mode 100644 index 0000000000000000000000000000000000000000..71f766d19a0a9be14a07558d1970c34df823bd44 --- /dev/null +++ b/python-tvb-data.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-tvb-data +Version: 1.5.9 +Release: 1 +Summary: A package with data for TVB +License: GPL v3 +URL: https://github.com/the-virtual-brain/tvb-data +#Package over 300MB +Source0: tvb-data-1.5.9.tar.gzaa +Source1: tvb-data-1.5.9.tar.gzab +Source2: tvb-data-1.5.9.tar.gzac +Source3: tvb-data-1.5.9.tar.gzad +Source4: https://github.com/the-virtual-brain/tvb-data/archive/1.5.9/tvb-data-1.5.9.tar.gz +BuildArch: noarch + +%description +Various demonstration datasets for use with The Virtual Brain are provided here. + +%package -n python3-tvb-data +Summary: A package with data for TVB +Provides: python-tvb-data +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-tvb-data +Various demonstration datasets for use with The Virtual Brain are provided here. + +%package help +Summary: Development documents and examples for tvb-data +Provides: python3-tvb-data-doc +%description help +Various demonstration datasets for use with The Virtual Brain are provided here. + +%prep +cat %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 > %{_sourcedir}/tvb-data-1.5.9.tar.gz +%setup -T -b 4 + +%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-tvb-data -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jul 16 2021 Python_Bot - 2.0-1 +- Package Spec generated diff --git a/tvb-data-1.5.9.tar.gz b/tvb-data-1.5.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tvb-data-1.5.9.tar.gzaa b/tvb-data-1.5.9.tar.gzaa new file mode 100644 index 0000000000000000000000000000000000000000..0819fb20aacf617806749db98f22fdf9fc834906 Binary files /dev/null and b/tvb-data-1.5.9.tar.gzaa differ diff --git a/tvb-data-1.5.9.tar.gzab b/tvb-data-1.5.9.tar.gzab new file mode 100644 index 0000000000000000000000000000000000000000..63c21403acb3003dfe308208e6536d22b0f5f177 Binary files /dev/null and b/tvb-data-1.5.9.tar.gzab differ diff --git a/tvb-data-1.5.9.tar.gzac b/tvb-data-1.5.9.tar.gzac new file mode 100644 index 0000000000000000000000000000000000000000..fb762c7dd5004f0d99e94cbbed3010a596e865f6 Binary files /dev/null and b/tvb-data-1.5.9.tar.gzac differ diff --git a/tvb-data-1.5.9.tar.gzad b/tvb-data-1.5.9.tar.gzad new file mode 100644 index 0000000000000000000000000000000000000000..1f5cc1ff119c5bb05f2947f64302fab37d82d196 Binary files /dev/null and b/tvb-data-1.5.9.tar.gzad differ