From 1627abafce5782663d1c5cc7fe2c4bdb5cbb9038 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 04:32:46 +0000 Subject: automatic import of python-inspire-json-merger --- .gitignore | 1 + python-inspire-json-merger.spec | 87 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 python-inspire-json-merger.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d12ad22 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/inspire-json-merger-11.0.32.tar.gz diff --git a/python-inspire-json-merger.spec b/python-inspire-json-merger.spec new file mode 100644 index 0000000..5fec15b --- /dev/null +++ b/python-inspire-json-merger.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-inspire-json-merger +Version: 11.0.32 +Release: 1 +Summary: INSPIRE-specific configuration of the JSON Merger. +License: GPLv3 +URL: https://github.com/inspirehep/inspire-json-merger +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4a/d3/1fdc126fb9d8d0714f0144b66a136406b13b7815014d5417dfa81ccbb8df/inspire-json-merger-11.0.32.tar.gz +BuildArch: noarch + +Requires: python3-munkres +Requires: python3-inspire-schemas +Requires: python3-inspire-utils +Requires: python3-json-merger[contrib] +Requires: python3-pyrsistent +Requires: python3-decorator +Requires: python3-flake8-future-import +Requires: python3-mock +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-decorator +Requires: python3-flake8-future-import +Requires: python3-mock +Requires: python3-pytest-cov +Requires: python3-pytest + +%description + + +%package -n python3-inspire-json-merger +Summary: INSPIRE-specific configuration of the JSON Merger. +Provides: python-inspire-json-merger +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-inspire-json-merger + + +%package help +Summary: Development documents and examples for inspire-json-merger +Provides: python3-inspire-json-merger-doc +%description help + + +%prep +%autosetup -n inspire-json-merger-11.0.32 + +%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-inspire-json-merger -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 11.0.32-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..fc9a003 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a214c05d78467c97d995876c88b47c64 inspire-json-merger-11.0.32.tar.gz -- cgit v1.2.3