diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:42:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:42:22 +0000 |
| commit | e88c01e3fcc3bce66a938598aa64fda199bd338d (patch) | |
| tree | e78aa2f9b229980aca0304aac8f040fc4d4785b5 | |
| parent | cc00dea0c8f62fcfa20974afc3bf5a5850e79a0b (diff) | |
automatic import of python-buildbot-wwwopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-buildbot-www.spec | 73 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 75 insertions, 0 deletions
@@ -0,0 +1 @@ +/buildbot-www-3.8.0.tar.gz diff --git a/python-buildbot-www.spec b/python-buildbot-www.spec new file mode 100644 index 0000000..82b55a3 --- /dev/null +++ b/python-buildbot-www.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: python-buildbot-www +Version: 3.8.0 +Release: 1 +Summary: Buildbot UI +License: GNU General Public License v2 (GPLv2) +URL: http://buildbot.net/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/fc/9f42b4c1f4b577e3db2d3bf5853310b163b8fe83a354fa5a3e4e12e6b065/buildbot-www-3.8.0.tar.gz +BuildArch: noarch + +Requires: python3-buildbot + +%description + + +%package -n python3-buildbot-www +Summary: Buildbot UI +Provides: python-buildbot-www +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-buildbot-www + + +%package help +Summary: Development documents and examples for buildbot-www +Provides: python3-buildbot-www-doc +%description help + + +%prep +%autosetup -n buildbot-www-3.8.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-buildbot-www -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.8.0-1 +- Package Spec generated @@ -0,0 +1 @@ +4eba9bf656a4b78b6a0d9cdcb6fc4aac buildbot-www-3.8.0.tar.gz |
