diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 06:04:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 06:04:56 +0000 |
commit | fd7eab244e97fba8fa7dc39f652c26f047120990 (patch) | |
tree | aee27507c90e5d7fb0e609252ae158852d3ff9b4 | |
parent | 4cf62e6b3405a3897b73eb4a611106893352fb0d (diff) |
automatic import of python-esdrt-content
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-esdrt-content.spec | 75 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/esdrt.content-1.74.3.zip diff --git a/python-esdrt-content.spec b/python-esdrt-content.spec new file mode 100644 index 0000000..6e8ef02 --- /dev/null +++ b/python-esdrt-content.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-esdrt.content +Version: 1.74.3 +Release: 1 +Summary: Content-types for ESD Review Tool +License: GPL +URL: https://github.com/eea/esdrt.content/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/5e/4dc0b398bebf987470c6fdb26575491530f128b8ff414652975f1da33377/esdrt.content-1.74.3.zip +BuildArch: noarch + + +%description +Product containing content-types and workflow information for Effort Sharing Decission +Review Tool + +%package -n python3-esdrt.content +Summary: Content-types for ESD Review Tool +Provides: python-esdrt.content +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-esdrt.content +Product containing content-types and workflow information for Effort Sharing Decission +Review Tool + +%package help +Summary: Development documents and examples for esdrt.content +Provides: python3-esdrt.content-doc +%description help +Product containing content-types and workflow information for Effort Sharing Decission +Review Tool + +%prep +%autosetup -n esdrt.content-1.74.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-esdrt.content -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.74.3-1 +- Package Spec generated @@ -0,0 +1 @@ +cec21d34e93d44ec05a14cb7e9726bd0 esdrt.content-1.74.3.zip |