diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:44:58 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:44:58 +0000 |
| commit | dbf7d0a017e8f365ffa93ab4ee04d0a8574683ac (patch) | |
| tree | ff6f11eec0b9227d48f1f7964fff9132cadf8f7f | |
| parent | cde0b9bd39cebf0041455228fbc2c8f5f73fc93e (diff) | |
automatic import of python-rets-python
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-rets-python.spec | 85 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -0,0 +1 @@ +/rets-python-0.4.9.tar.gz diff --git a/python-rets-python.spec b/python-rets-python.spec new file mode 100644 index 0000000..bb78a94 --- /dev/null +++ b/python-rets-python.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rets-python +Version: 0.4.9 +Release: 1 +Summary: rets-python +License: MIT License +URL: https://github.com/opendoor-labs/rets +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a9/55/82074fc374291eccf9665825a6f619fb9584fc2bd846e395fc51b67f9855/rets-python-0.4.9.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-requests-toolbelt +Requires: python3-udatetime +Requires: python3-lxml + +%description +Python 3 client for the Real Estate Transaction Standard (RETS) Version 1.7.2 + + + + +%package -n python3-rets-python +Summary: rets-python +Provides: python-rets-python +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rets-python +Python 3 client for the Real Estate Transaction Standard (RETS) Version 1.7.2 + + + + +%package help +Summary: Development documents and examples for rets-python +Provides: python3-rets-python-doc +%description help +Python 3 client for the Real Estate Transaction Standard (RETS) Version 1.7.2 + + + + +%prep +%autosetup -n rets-python-0.4.9 + +%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-rets-python -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.9-1 +- Package Spec generated @@ -0,0 +1 @@ +ec65be73eb858d2f624f629987bc0302 rets-python-0.4.9.tar.gz |
