diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pymovie.spec | 109 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 111 insertions, 0 deletions
@@ -0,0 +1 @@ +/pymovie-3.7.3.tar.gz diff --git a/python-pymovie.spec b/python-pymovie.spec new file mode 100644 index 0000000..35c405f --- /dev/null +++ b/python-pymovie.spec @@ -0,0 +1,109 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pymovie +Version: 3.7.3 +Release: 1 +Summary: pymovie is a lightcurve extractor for astronomical videos +License: License :: OSI Approved :: MIT License +URL: https://github.com/bob-anderson-ok/pymovie +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/18/c0/3aaa243fcf6c85c85cacf88354117eb48da3fb251d1dc13730fd78ed5ea2/pymovie-3.7.3.tar.gz +BuildArch: noarch + +Requires: python3-pyqtgraph +Requires: python3-opencv-python +Requires: python3-astroquery +Requires: python3-resource +Requires: python3-scikit-image +Requires: python3-wheel +Requires: python3-requests +Requires: python3-pyephem +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-astropy +Requires: python3-scikit-image +Requires: python3-scipy +Requires: python3-numba +Requires: python3-Adv2 +Requires: python3-PyQt5 +Requires: python3-more-itertools +Requires: python3-winshell +Requires: python3-pypiwin32 + +%description +PyMovie is a simple (hopefully) application for extracting lightcurves from occultation videos. +It is specially designed to be robust in both star tracking and data extraction when the +video has been disturbed by wind-shake. +The name was chosen out of respect and deference to LiMovie, a pioneer application +published many years ago. +This application has fewer 'bells and whistles' than LiMovie and so should be easier +to use for a newbie. + +%package -n python3-pymovie +Summary: pymovie is a lightcurve extractor for astronomical videos +Provides: python-pymovie +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pymovie +PyMovie is a simple (hopefully) application for extracting lightcurves from occultation videos. +It is specially designed to be robust in both star tracking and data extraction when the +video has been disturbed by wind-shake. +The name was chosen out of respect and deference to LiMovie, a pioneer application +published many years ago. +This application has fewer 'bells and whistles' than LiMovie and so should be easier +to use for a newbie. + +%package help +Summary: Development documents and examples for pymovie +Provides: python3-pymovie-doc +%description help +PyMovie is a simple (hopefully) application for extracting lightcurves from occultation videos. +It is specially designed to be robust in both star tracking and data extraction when the +video has been disturbed by wind-shake. +The name was chosen out of respect and deference to LiMovie, a pioneer application +published many years ago. +This application has fewer 'bells and whistles' than LiMovie and so should be easier +to use for a newbie. + +%prep +%autosetup -n pymovie-3.7.3 + +%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-pymovie -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.7.3-1 +- Package Spec generated @@ -0,0 +1 @@ +c8c350b1089390388488d49ac5fae8b4 pymovie-3.7.3.tar.gz |
