diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:54:15 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 01:54:15 +0000 |
| commit | b8b756b8fa402c2f495b66b143599a7e04729a4b (patch) | |
| tree | a516aa2ccc5f6904ddde0d7de3c3c1dd728862d0 /python-appstoreconnect.spec | |
| parent | d31ce215711897e9205d3ad748e2ee6cbf90844e (diff) | |
automatic import of python-appstoreconnect
Diffstat (limited to 'python-appstoreconnect.spec')
| -rw-r--r-- | python-appstoreconnect.spec | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/python-appstoreconnect.spec b/python-appstoreconnect.spec new file mode 100644 index 0000000..f4ab332 --- /dev/null +++ b/python-appstoreconnect.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-appstoreconnect +Version: 0.10.0 +Release: 1 +Summary: A Python wrapper around Apple App Store Api +License: MIT +URL: https://ponytech.net/projects/app-store-connect +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e7/55/c114a110abb93f219ba89697697f6983cdeb6a089e839fe0dc1684f5bb7a/appstoreconnect-0.10.0.tar.gz +BuildArch: noarch + + +%description +This is a Python wrapper around the **Apple App Store Api** : https://developer.apple.com/documentation/appstoreconnectapi +So far, it handles token generation / expiration, methods for listing resources and downloading reports. + +%package -n python3-appstoreconnect +Summary: A Python wrapper around Apple App Store Api +Provides: python-appstoreconnect +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-appstoreconnect +This is a Python wrapper around the **Apple App Store Api** : https://developer.apple.com/documentation/appstoreconnectapi +So far, it handles token generation / expiration, methods for listing resources and downloading reports. + +%package help +Summary: Development documents and examples for appstoreconnect +Provides: python3-appstoreconnect-doc +%description help +This is a Python wrapper around the **Apple App Store Api** : https://developer.apple.com/documentation/appstoreconnectapi +So far, it handles token generation / expiration, methods for listing resources and downloading reports. + +%prep +%autosetup -n appstoreconnect-0.10.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-appstoreconnect -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1 +- Package Spec generated |
