diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:23:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:23:36 +0000 |
commit | 3a48e35cc5519f6c1e637f9131d2c4caad7fc772 (patch) | |
tree | 1c31b5b265f97f1d66682fa394013ff243411e83 | |
parent | a029838048d567059ab938b03474eb2c49a0d949 (diff) |
automatic import of python-Django-EMS-R25openeuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-ems-r25.spec | 90 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 92 insertions, 0 deletions
@@ -0,0 +1 @@ +/Django-EMS-R25-2.1.tar.gz diff --git a/python-django-ems-r25.spec b/python-django-ems-r25.spec new file mode 100644 index 0000000..25017c8 --- /dev/null +++ b/python-django-ems-r25.spec @@ -0,0 +1,90 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Django-EMS-R25 +Version: 2.1 +Release: 1 +Summary: Django app generate R25 events from EMS +License: Apache License, Version 2.0 +URL: https://github.com/uw-asa/django-ems-r25 +Source0: https://mirrors.aliyun.com/pypi/web/packages/80/0b/42abb55f2cdd8be125a8b781d8f61ad31589d58c78960b5d8ac9eea4785a/Django-EMS-R25-2.1.tar.gz +BuildArch: noarch + + +%description +[](https://travis-ci.org/uw-it-cte/django-ems-r25) +[](https://coveralls.io/github/uw-it-cte/django-ems-r25?branch=master) + +# django-ems-r25 + + + + +%package -n python3-Django-EMS-R25 +Summary: Django app generate R25 events from EMS +Provides: python-Django-EMS-R25 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Django-EMS-R25 +[](https://travis-ci.org/uw-it-cte/django-ems-r25) +[](https://coveralls.io/github/uw-it-cte/django-ems-r25?branch=master) + +# django-ems-r25 + + + + +%package help +Summary: Development documents and examples for Django-EMS-R25 +Provides: python3-Django-EMS-R25-doc +%description help +[](https://travis-ci.org/uw-it-cte/django-ems-r25) +[](https://coveralls.io/github/uw-it-cte/django-ems-r25?branch=master) + +# django-ems-r25 + + + + +%prep +%autosetup -n Django-EMS-R25-2.1 + +%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-Django-EMS-R25 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +3211caa80f59d990408eb23d23a7efdb Django-EMS-R25-2.1.tar.gz |