summaryrefslogtreecommitdiff
path: root/python-linux-farrukh90.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:09:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:09:13 +0000
commite74c84d35b3ed7979dcf46f08574c7cfc42c4d93 (patch)
tree52094f4d954723d87f908264c4457a203262817e /python-linux-farrukh90.spec
parent18b1b007113deb3774a67a3b88e4b4bb8554b414 (diff)
automatic import of python-linux-farrukh90
Diffstat (limited to 'python-linux-farrukh90.spec')
-rw-r--r--python-linux-farrukh90.spec150
1 files changed, 150 insertions, 0 deletions
diff --git a/python-linux-farrukh90.spec b/python-linux-farrukh90.spec
new file mode 100644
index 0000000..66767c0
--- /dev/null
+++ b/python-linux-farrukh90.spec
@@ -0,0 +1,150 @@
+%global _empty_manifest_terminate_build 0
+Name: python-linux-farrukh90
+Version: 0.0.41
+Release: 1
+Summary: This is used to check tasks
+License: MIT License
+URL: https://github.com/pypa/sampleproject
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/31/ea/25db5d40ce19b583713a54f59d0f6b5f21578743d6619e075a9fc986586d/linux-farrukh90-0.0.41.tar.gz
+BuildArch: noarch
+
+
+%description
+# Example Package
+
+This is a simple example package. You can use
+[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
+to write your content.
+
+
+
+```
+python3 -m build
+python3 -m twine upload dist/* --verbose
+```
+
+
+
+On the folder where pyproject.toml is located run the following commands
+
+```
+python3 -m venv publishing_environment
+python3 -m pip install --upgrade pip
+python3 -m pip install --upgrade build
+python3 -m build
+python3 -m pip install --upgrade twine
+python -m twine upload dist/* --verbose
+```
+
+
+
+%package -n python3-linux-farrukh90
+Summary: This is used to check tasks
+Provides: python-linux-farrukh90
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-linux-farrukh90
+# Example Package
+
+This is a simple example package. You can use
+[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
+to write your content.
+
+
+
+```
+python3 -m build
+python3 -m twine upload dist/* --verbose
+```
+
+
+
+On the folder where pyproject.toml is located run the following commands
+
+```
+python3 -m venv publishing_environment
+python3 -m pip install --upgrade pip
+python3 -m pip install --upgrade build
+python3 -m build
+python3 -m pip install --upgrade twine
+python -m twine upload dist/* --verbose
+```
+
+
+
+%package help
+Summary: Development documents and examples for linux-farrukh90
+Provides: python3-linux-farrukh90-doc
+%description help
+# Example Package
+
+This is a simple example package. You can use
+[Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
+to write your content.
+
+
+
+```
+python3 -m build
+python3 -m twine upload dist/* --verbose
+```
+
+
+
+On the folder where pyproject.toml is located run the following commands
+
+```
+python3 -m venv publishing_environment
+python3 -m pip install --upgrade pip
+python3 -m pip install --upgrade build
+python3 -m build
+python3 -m pip install --upgrade twine
+python -m twine upload dist/* --verbose
+```
+
+
+
+%prep
+%autosetup -n linux-farrukh90-0.0.41
+
+%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-linux-farrukh90 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.41-1
+- Package Spec generated