summaryrefslogtreecommitdiff
path: root/python-pulp-deb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pulp-deb.spec')
-rw-r--r--python-pulp-deb.spec170
1 files changed, 170 insertions, 0 deletions
diff --git a/python-pulp-deb.spec b/python-pulp-deb.spec
new file mode 100644
index 0000000..79f68c7
--- /dev/null
+++ b/python-pulp-deb.spec
@@ -0,0 +1,170 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pulp-deb
+Version: 2.20.2
+Release: 1
+Summary: pulp-deb plugin for the Pulp Project
+License: GPLv2+
+URL: https://pulpproject.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/c2/fdaae4a7e121fe7537dcbf570e7cb00d3ce0e39ebc30c5fc3ec520788ce1/pulp-deb-2.20.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-pulpcore
+Requires: python3-debian
+
+%description
+# pulp_deb
+
+![release status](https://github.com/pulp/pulp_deb/workflows/Release%20Pipeline/badge.svg)
+![nightly status](https://github.com/pulp/pulp_deb/workflows/Deb%20Nightly%20CI/CD/badge.svg)
+![python versions](https://img.shields.io/pypi/pyversions/pulp_deb.svg)
+
+A Pulp plugin to host APT repositories.
+
+Visit the [Pulp project homepage][1] or see the [plugin documentation][2] for more information.
+If you want to report a bug, see the [issue tracker][3].
+
+The most important places:
+
+* The [Pulp project homepage][1].
+* The [plugin documentation][2].
+* The [plugin issue tracker][3].
+* The [plugin source repository][4].
+* The [plugin GitHub actions page][8].
+* Released [python packages on pypi.org][5].
+* The [pulp-deb-client Python package][6] (contains API bindings for Python).
+* The [pulp-deb-client Ruby Gem][7] (contains API bindings for Ruby).
+
+[1]: https://pulpproject.org
+[2]: https://docs.pulpproject.org/pulp_deb/
+[3]: https://github.com/pulp/pulp_deb/issues
+[4]: https://github.com/pulp/pulp_deb
+[5]: https://pypi.org/project/pulp-deb/
+[6]: https://pypi.org/project/pulp-deb-client/
+[7]: https://rubygems.org/gems/pulp_deb_client
+[8]: https://github.com/pulp/pulp_deb/actions
+
+
+
+
+%package -n python3-pulp-deb
+Summary: pulp-deb plugin for the Pulp Project
+Provides: python-pulp-deb
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pulp-deb
+# pulp_deb
+
+![release status](https://github.com/pulp/pulp_deb/workflows/Release%20Pipeline/badge.svg)
+![nightly status](https://github.com/pulp/pulp_deb/workflows/Deb%20Nightly%20CI/CD/badge.svg)
+![python versions](https://img.shields.io/pypi/pyversions/pulp_deb.svg)
+
+A Pulp plugin to host APT repositories.
+
+Visit the [Pulp project homepage][1] or see the [plugin documentation][2] for more information.
+If you want to report a bug, see the [issue tracker][3].
+
+The most important places:
+
+* The [Pulp project homepage][1].
+* The [plugin documentation][2].
+* The [plugin issue tracker][3].
+* The [plugin source repository][4].
+* The [plugin GitHub actions page][8].
+* Released [python packages on pypi.org][5].
+* The [pulp-deb-client Python package][6] (contains API bindings for Python).
+* The [pulp-deb-client Ruby Gem][7] (contains API bindings for Ruby).
+
+[1]: https://pulpproject.org
+[2]: https://docs.pulpproject.org/pulp_deb/
+[3]: https://github.com/pulp/pulp_deb/issues
+[4]: https://github.com/pulp/pulp_deb
+[5]: https://pypi.org/project/pulp-deb/
+[6]: https://pypi.org/project/pulp-deb-client/
+[7]: https://rubygems.org/gems/pulp_deb_client
+[8]: https://github.com/pulp/pulp_deb/actions
+
+
+
+
+%package help
+Summary: Development documents and examples for pulp-deb
+Provides: python3-pulp-deb-doc
+%description help
+# pulp_deb
+
+![release status](https://github.com/pulp/pulp_deb/workflows/Release%20Pipeline/badge.svg)
+![nightly status](https://github.com/pulp/pulp_deb/workflows/Deb%20Nightly%20CI/CD/badge.svg)
+![python versions](https://img.shields.io/pypi/pyversions/pulp_deb.svg)
+
+A Pulp plugin to host APT repositories.
+
+Visit the [Pulp project homepage][1] or see the [plugin documentation][2] for more information.
+If you want to report a bug, see the [issue tracker][3].
+
+The most important places:
+
+* The [Pulp project homepage][1].
+* The [plugin documentation][2].
+* The [plugin issue tracker][3].
+* The [plugin source repository][4].
+* The [plugin GitHub actions page][8].
+* Released [python packages on pypi.org][5].
+* The [pulp-deb-client Python package][6] (contains API bindings for Python).
+* The [pulp-deb-client Ruby Gem][7] (contains API bindings for Ruby).
+
+[1]: https://pulpproject.org
+[2]: https://docs.pulpproject.org/pulp_deb/
+[3]: https://github.com/pulp/pulp_deb/issues
+[4]: https://github.com/pulp/pulp_deb
+[5]: https://pypi.org/project/pulp-deb/
+[6]: https://pypi.org/project/pulp-deb-client/
+[7]: https://rubygems.org/gems/pulp_deb_client
+[8]: https://github.com/pulp/pulp_deb/actions
+
+
+
+
+%prep
+%autosetup -n pulp-deb-2.20.2
+
+%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-pulp-deb -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.20.2-1
+- Package Spec generated