summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-django-ems-r25.spec90
-rw-r--r--sources1
3 files changed, 92 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bad4ec6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+[![Build Status](https://travis-ci.org/uw-it-cte/django-ems-r25.svg?branch=master)](https://travis-ci.org/uw-it-cte/django-ems-r25)
+[![Coverage Status](https://coveralls.io/repos/github/uw-it-cte/django-ems-r25/badge.svg?branch=master)](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
+[![Build Status](https://travis-ci.org/uw-it-cte/django-ems-r25.svg?branch=master)](https://travis-ci.org/uw-it-cte/django-ems-r25)
+[![Coverage Status](https://coveralls.io/repos/github/uw-it-cte/django-ems-r25/badge.svg?branch=master)](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
+[![Build Status](https://travis-ci.org/uw-it-cte/django-ems-r25.svg?branch=master)](https://travis-ci.org/uw-it-cte/django-ems-r25)
+[![Coverage Status](https://coveralls.io/repos/github/uw-it-cte/django-ems-r25/badge.svg?branch=master)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..a6fab7c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3211caa80f59d990408eb23d23a7efdb Django-EMS-R25-2.1.tar.gz