From 20ac8ef9af515dc26a24e308507d3d34effe755d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:06:33 +0100 Subject: [PATCH] rebuilt with python36 [release 0.43.0-2mamba;Wed Nov 15 2017] --- README.md | 2 ++ meson.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 meson.spec diff --git a/README.md b/README.md index e445652..f982cb2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # meson +The Meson Build System. + diff --git a/meson.spec b/meson.spec new file mode 100644 index 0000000..bd7ddfe --- /dev/null +++ b/meson.spec @@ -0,0 +1,57 @@ +Name: meson +Version: 0.43.0 +Release: 2mamba +Summary: The Meson Build System +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://mesonbuild.com/ +## GITSOURCE https://github.com/mesonbuild/meson.git 0.43.0 +Source: https://github.com/mesonbuild/meson.git/%{version}/meson-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: libpython36-devel +BuildRequires: python-pathlib-py3 +Requires: python-pathlib-py3 +Requires: python36 >= %python36_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The Meson Build System. + +%debug_package + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python36} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python36} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python36_inc} \ + --install-lib=%{python36_sitearch} \ + --record=%{name}.filelist + +sed -i "s,.*/man/.*,&.gz," %{name}.filelist + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%doc COPYING + +%changelog +* Wed Nov 15 2017 Silvan Calarco 0.43.0-2mamba +- rebuilt with python36 + +* Wed Nov 15 2017 Silvan Calarco 0.43.0-1mamba +- package created using the webbuild interface