diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-09 01:35:48 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 01:35:48 +0000 |
| commit | c223548e9d6e816981aa3ec3d7a3685b5e87eb0e (patch) | |
| tree | 933dddce7196b739890d0ea013516c2413f05a95 /python-satnogs-decoders.spec | |
| parent | 81e33a8da8abfebb1a22f4b51cb10cdb107b3897 (diff) | |
automatic import of python-satnogs-decodersopeneuler20.03
Diffstat (limited to 'python-satnogs-decoders.spec')
| -rw-r--r-- | python-satnogs-decoders.spec | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/python-satnogs-decoders.spec b/python-satnogs-decoders.spec new file mode 100644 index 0000000..5a20a8e --- /dev/null +++ b/python-satnogs-decoders.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-satnogs-decoders +Version: 1.55.0 +Release: 1 +Summary: SatNOGS Decoders +License: AGPLv3 +URL: https://gitlab.com/librespacefoundation/satnogs/satnogs-decoders +Source0: https://mirrors.aliyun.com/pypi/web/packages/b0/b5/02f17665e675254b97d7d62e8413b12fe42bd806ef98a6d383d5ff01f581/satnogs-decoders-1.55.0.tar.gz +BuildArch: noarch + +Requires: python3-kaitaistruct +Requires: python3-versioneer +Requires: python3-build +Requires: python3-flake8 +Requires: python3-flake8-quotes +Requires: python3-isort +Requires: python3-pylint +Requires: python3-pytest +Requires: python3-twine +Requires: python3-yamllint +Requires: python3-yapf +Requires: python3-tox + +%description + + +%package -n python3-satnogs-decoders +Summary: SatNOGS Decoders +Provides: python-satnogs-decoders +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-satnogs-decoders + + +%package help +Summary: Development documents and examples for satnogs-decoders +Provides: python3-satnogs-decoders-doc +%description help + + +%prep +%autosetup -n satnogs-decoders-1.55.0 + +%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-satnogs-decoders -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.55.0-1 +- Package Spec generated |
