summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-09 03:41:32 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-09 03:41:32 +0000
commite630ca2e95f0d5a4ca8c55bdc45f2aa620d9fa04 (patch)
tree55e243a243ba5b1dad25625657f80f365b0c2ae5
parentc889baae8420db1d7c804f434527e16e6e50229e (diff)
automatic import of python-dbus-signature-pyparsing
-rw-r--r--.gitignore1
-rw-r--r--python-dbus-signature-pyparsing.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0b2d4b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dbus-signature-pyparsing-0.4.tar.gz
diff --git a/python-dbus-signature-pyparsing.spec b/python-dbus-signature-pyparsing.spec
new file mode 100644
index 0000000..5314bec
--- /dev/null
+++ b/python-dbus-signature-pyparsing.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dbus-signature-pyparsing
+Version: 0.4
+Release: 1
+Summary: dbus signature parser
+License: Apache 2.0
+URL: https://github.com/stratis-storage/dbus-signature-pyparsing
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/f6/9373cbe38f2bb71e6bc3f24c246e1fbd3ebcb2cf16a7a5bd0c4b2a3e234f/dbus-signature-pyparsing-0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pyparsing
+
+%description
+A parser for a dbus signature.
+
+%package -n python3-dbus-signature-pyparsing
+Summary: dbus signature parser
+Provides: python-dbus-signature-pyparsing
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dbus-signature-pyparsing
+A parser for a dbus signature.
+
+%package help
+Summary: Development documents and examples for dbus-signature-pyparsing
+Provides: python3-dbus-signature-pyparsing-doc
+%description help
+A parser for a dbus signature.
+
+%prep
+%autosetup -n dbus-signature-pyparsing-0.4
+
+%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-dbus-signature-pyparsing -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b40f1a2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b02774cddf7688cecb2cb7759ff6b497 dbus-signature-pyparsing-0.4.tar.gz