From 8cd980e3b8a315af0f43d5787d29a1a95f34adb0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:22:23 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.0-1mamba;Mon Dec 25 2023] --- README.md | 2 ++ python-lazr-config.spec | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 python-lazr-config.spec diff --git a/README.md b/README.md index e49ba2c..7e173e5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-lazr-config +Create configuration schemas, and process and validate configurations. + diff --git a/python-lazr-config.spec b/python-lazr-config.spec new file mode 100644 index 0000000..256dea5 --- /dev/null +++ b/python-lazr-config.spec @@ -0,0 +1,54 @@ +%define pkgname lazr.config +Name: python-lazr-config +Version: 3.0 +Release: 1mamba +Summary: Create configuration schemas, and process and validate configurations +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://launchpad.net/lazr.config +Source: https://pypi.debian.net/lazr.config/lazr.config-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython311-devel +BuildRequires: python3.11dist(lazr.delegates) +BuildRequires: python3.11dist(setuptools) +BuildRequires: python3.11dist(zope.interface) +## AUTOBUILDREQ-END + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n lazr.config-%{version} + +%build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} -m installer --destdir=%{buildroot} dist/*.whl + +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif + +%files %{?pyappend} +%defattr(-,root,root) +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%{python_sitelib}/lazr.config-%{version}-py*-nspkg.pth +%dir %{python_sitelib}/lazr/config +%{python_sitelib}/lazr/config/* + +%changelog +* Mon Dec 25 2023 Silvan Calarco 3.0-1mamba +- package created using the webbuild interface