summaryrefslogtreecommitdiff
path: root/python-babel-edtf.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 09:11:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 09:11:06 +0000
commiteb0fcc3eeba11889013f1c5016ee7b33fbef92a9 (patch)
tree6e30566e0109123886ad5d040e1425433c29e244 /python-babel-edtf.spec
parent91861cedf0fec1d293c00999f2b948e09782833b (diff)
automatic import of python-babel-edtf
Diffstat (limited to 'python-babel-edtf.spec')
-rw-r--r--python-babel-edtf.spec90
1 files changed, 90 insertions, 0 deletions
diff --git a/python-babel-edtf.spec b/python-babel-edtf.spec
new file mode 100644
index 0000000..b7f9b50
--- /dev/null
+++ b/python-babel-edtf.spec
@@ -0,0 +1,90 @@
+%global _empty_manifest_terminate_build 0
+Name: python-babel-edtf
+Version: 1.0.0
+Release: 1
+Summary: Localization of Extended Date Time Format level 0 strings.
+License: MIT
+URL: https://github.com/inveniosoftware/babel-edtf
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/7a/df09ac2d540c40afcd8e836707fa354257c65a3fb61eee1640bab6b7c8a2/babel-edtf-1.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Babel
+Requires: python3-edtf
+Requires: python3-Sphinx
+Requires: python3-check-manifest
+Requires: python3-coverage
+Requires: python3-pytest-cov
+Requires: python3-pytest-isort
+Requires: python3-pytest-pycodestyle
+Requires: python3-pytest-pydocstyle
+Requires: python3-pytest
+Requires: python3-Sphinx
+Requires: python3-check-manifest
+Requires: python3-coverage
+Requires: python3-pytest-cov
+Requires: python3-pytest-isort
+Requires: python3-pytest-pycodestyle
+Requires: python3-pytest-pydocstyle
+Requires: python3-pytest
+
+%description
+
+
+%package -n python3-babel-edtf
+Summary: Localization of Extended Date Time Format level 0 strings.
+Provides: python-babel-edtf
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-babel-edtf
+
+
+%package help
+Summary: Development documents and examples for babel-edtf
+Provides: python3-babel-edtf-doc
+%description help
+
+
+%prep
+%autosetup -n babel-edtf-1.0.0
+
+%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-babel-edtf -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+- Package Spec generated