summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-16 02:26:29 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-16 02:26:29 +0000
commit794ad7d9129a7f7061778c21c4118c5c7e8510f6 (patch)
tree08159e30f1838878f7dac032f95f28610b257b61
parent30298c5d7bad645a8dcec7d4f30cda009192038d (diff)
automatic import of python-abimapopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-abimap.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..189f7be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/abimap-0.4.0.tar.gz
diff --git a/python-abimap.spec b/python-abimap.spec
new file mode 100644
index 0000000..2b31617
--- /dev/null
+++ b/python-abimap.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-abimap
+Version: 0.4.0
+Release: 1
+Summary: A helper for library maintainers to use symbol versioning
+License: None
+URL: https://github.com/ansasaki/abimap
+Source0: https://mirrors.aliyun.com/pypi/web/packages/98/cd/57044525e84c7fbe202e9792c582597603ab609df935efceb96005ec57d3/abimap-0.4.0.tar.gz
+BuildArch: noarch
+
+Requires: (python3-setuptools)
+Requires: (python3-flake8)
+Requires: (python3-build)
+Requires: (python3-sphinx>=6.0.0)
+Requires: (python3-sphinx-rtd-theme>=1.2.0)
+Requires: (python3-watchdog>=2.0.0)
+Requires: (python3-pytest)
+Requires: (python3-pyyaml)
+Requires: (python3-pytest-cov)
+Requires: (python3-pytest-console-scripts)
+
+%description
+A helper for library maintainers to use symbol versioning
+
+%package -n python3-abimap
+Summary: A helper for library maintainers to use symbol versioning
+Provides: python-abimap
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+%description -n python3-abimap
+A helper for library maintainers to use symbol versioning
+
+%package help
+Summary: Development documents and examples for abimap
+Provides: python3-abimap-doc
+%description help
+A helper for library maintainers to use symbol versioning
+
+%prep
+%autosetup -n abimap-0.4.0
+
+%build
+%pyproject_build
+
+%install
+%pyproject_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}
+touch filelist.lst
+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-abimap -f filelist.lst
+%{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Sat Aug 16 2025 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..505a8ba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d404fb2df35ea6ce0d8b3de21982a702 abimap-0.4.0.tar.gz