diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 10:08:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 10:08:47 +0000 |
| commit | acbd7f79ebf3a907678611951373bf00ff557d1a (patch) | |
| tree | deb33f73209dab0630ade81f9263aab83aa4c120 /python-quartet-epcis.spec | |
| parent | 507288e7d2b1dd50feec6d59e32ca5edca3ab7b9 (diff) | |
automatic import of python-quartet-epcis
Diffstat (limited to 'python-quartet-epcis.spec')
| -rw-r--r-- | python-quartet-epcis.spec | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/python-quartet-epcis.spec b/python-quartet-epcis.spec new file mode 100644 index 0000000..f7c8c71 --- /dev/null +++ b/python-quartet-epcis.spec @@ -0,0 +1,132 @@ +%global _empty_manifest_terminate_build 0 +Name: python-quartet_epcis +Version: 3.2.3 +Release: 1 +Summary: Defines EPCIS models and XML parsing. +License: GPLv3 +URL: https://gitlab.com/serial-lab/quartet_epcis +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/73/1e/75afde12131e4687ed02b6f0547da3422bf6f1958e27f20672aa7b6b0988/quartet_epcis-3.2.3.tar.gz +BuildArch: noarch + + +%description +Built on top of the world-class EPCPyYes python package. +Real EPCIS support for serious people running real systems. + ________ ___ ___ _______ ________ ________ ___ ________ + |\ __ \|\ \ |\ \|\ ___ \ |\ __ \|\ ____\|\ \|\ ____\ + \ \ \|\ \ \ \\_\ \ \ __/|\ \ \|\ \ \ \___|\ \ \ \ \___|_ + \ \ \\\ \ \______ \ \ \_|/_\ \ ____\ \ \ \ \ \ \_____ \ + \ \ \\\ \|_____|\ \ \ \_|\ \ \ \___|\ \ \____\ \ \|____|\ \ + \ \_____ \ \ \__\ \_______\ \__\ \ \_______\ \__\____\_\ \ + \|___| \__\ \|__|\|_______|\|__| \|_______|\|__|\_________\ + \|__| \|_________| +The essential Open-Source EPCIS component for the QU4RTET traceability +platform. +For more on QU4RTET see http://www.serial-lab.com +The quartet_epcis python package is a Django application that +contains the base database models necessary for the support of +EPCIS 1.2 data persistence to an RDBMS. The quartet_epcis.parsing +package contains an EPCIS XML parser that will take an input stream +of XML data and save it to a configured database back-end. +The quartet_epcis.app_models directory contains a set of +Django ORM models that are used to define the database scheme +and store EPCIS data in the database. + +%package -n python3-quartet_epcis +Summary: Defines EPCIS models and XML parsing. +Provides: python-quartet_epcis +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-quartet_epcis +Built on top of the world-class EPCPyYes python package. +Real EPCIS support for serious people running real systems. + ________ ___ ___ _______ ________ ________ ___ ________ + |\ __ \|\ \ |\ \|\ ___ \ |\ __ \|\ ____\|\ \|\ ____\ + \ \ \|\ \ \ \\_\ \ \ __/|\ \ \|\ \ \ \___|\ \ \ \ \___|_ + \ \ \\\ \ \______ \ \ \_|/_\ \ ____\ \ \ \ \ \ \_____ \ + \ \ \\\ \|_____|\ \ \ \_|\ \ \ \___|\ \ \____\ \ \|____|\ \ + \ \_____ \ \ \__\ \_______\ \__\ \ \_______\ \__\____\_\ \ + \|___| \__\ \|__|\|_______|\|__| \|_______|\|__|\_________\ + \|__| \|_________| +The essential Open-Source EPCIS component for the QU4RTET traceability +platform. +For more on QU4RTET see http://www.serial-lab.com +The quartet_epcis python package is a Django application that +contains the base database models necessary for the support of +EPCIS 1.2 data persistence to an RDBMS. The quartet_epcis.parsing +package contains an EPCIS XML parser that will take an input stream +of XML data and save it to a configured database back-end. +The quartet_epcis.app_models directory contains a set of +Django ORM models that are used to define the database scheme +and store EPCIS data in the database. + +%package help +Summary: Development documents and examples for quartet_epcis +Provides: python3-quartet_epcis-doc +%description help +Built on top of the world-class EPCPyYes python package. +Real EPCIS support for serious people running real systems. + ________ ___ ___ _______ ________ ________ ___ ________ + |\ __ \|\ \ |\ \|\ ___ \ |\ __ \|\ ____\|\ \|\ ____\ + \ \ \|\ \ \ \\_\ \ \ __/|\ \ \|\ \ \ \___|\ \ \ \ \___|_ + \ \ \\\ \ \______ \ \ \_|/_\ \ ____\ \ \ \ \ \ \_____ \ + \ \ \\\ \|_____|\ \ \ \_|\ \ \ \___|\ \ \____\ \ \|____|\ \ + \ \_____ \ \ \__\ \_______\ \__\ \ \_______\ \__\____\_\ \ + \|___| \__\ \|__|\|_______|\|__| \|_______|\|__|\_________\ + \|__| \|_________| +The essential Open-Source EPCIS component for the QU4RTET traceability +platform. +For more on QU4RTET see http://www.serial-lab.com +The quartet_epcis python package is a Django application that +contains the base database models necessary for the support of +EPCIS 1.2 data persistence to an RDBMS. The quartet_epcis.parsing +package contains an EPCIS XML parser that will take an input stream +of XML data and save it to a configured database back-end. +The quartet_epcis.app_models directory contains a set of +Django ORM models that are used to define the database scheme +and store EPCIS data in the database. + +%prep +%autosetup -n quartet_epcis-3.2.3 + +%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-quartet_epcis -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.3-1 +- Package Spec generated |
