diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:44:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:44:56 +0000 |
commit | ad876b5772dffb5f52cc090e377cd72302d3152d (patch) | |
tree | 2e3720c16224afd40a6ac3e5e04d7b1c1ed8bfbe | |
parent | 77be1c1f2dde9a5e65d2fb95ee5b4c02ea769030 (diff) |
automatic import of python-flask-iniconfig
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-flask-iniconfig.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/Flask-INIConfig-0.1.0.tar.gz diff --git a/python-flask-iniconfig.spec b/python-flask-iniconfig.spec new file mode 100644 index 0000000..4de0751 --- /dev/null +++ b/python-flask-iniconfig.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-INIConfig +Version: 0.1.0 +Release: 1 +Summary: A flask extension to load ini files via config +License: BSD +URL: https://bitbucket.org/wampeter/flask-iniconfig/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/db/4a/998f0ad11b6311d375d7f1c7d2a9dfe394ed8cf10b92ca4816bf10838dc9/Flask-INIConfig-0.1.0.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-Flask-INIConfig +Summary: A flask extension to load ini files via config +Provides: python-Flask-INIConfig +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-INIConfig + + +%package help +Summary: Development documents and examples for Flask-INIConfig +Provides: python3-Flask-INIConfig-doc +%description help + + +%prep +%autosetup -n Flask-INIConfig-0.1.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-Flask-INIConfig -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.0-1 +- Package Spec generated @@ -0,0 +1 @@ +d7fe5e792aee2fcf9d80ef84b2339c73 Flask-INIConfig-0.1.0.tar.gz |