2024-01-06 07:06:33 +01:00
|
|
|
Name: meson
|
2024-01-06 07:06:34 +01:00
|
|
|
Version: 0.49.1
|
|
|
|
Release: 1mamba
|
2024-01-06 07:06:33 +01:00
|
|
|
Summary: The Meson Build System
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 07:06:34 +01:00
|
|
|
Source1: macros.meson
|
2024-01-06 07:06:34 +01:00
|
|
|
Patch0: meson-0.48.1-rpm-macros.patch
|
2024-01-06 07:06:33 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython36-devel
|
|
|
|
BuildRequires: python-pathlib-py3
|
|
|
|
Requires: python-pathlib-py3
|
|
|
|
Requires: python36 >= %python36_version
|
2024-01-06 07:06:34 +01:00
|
|
|
Requires: ninja
|
2024-01-06 07:06:33 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Meson Build System.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:06:34 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 07:06:33 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson
|
2024-01-06 07:06:34 +01:00
|
|
|
|
2024-01-06 07:06:33 +01:00
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:06:34 +01:00
|
|
|
%{_sysconfdir}/rpm/macros.meson
|
2024-01-06 07:06:33 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 0.49.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Dec 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.49.0-2mamba
|
|
|
|
- install macros.meson from 0.47 instead of patching incompatible macros.meson provided internally
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Dec 10 2018 Automatic Build System <autodist@mambasoft.it> 0.49.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Nov 12 2018 Automatic Build System <autodist@mambasoft.it> 0.48.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Sun Nov 04 2018 Automatic Build System <autodist@mambasoft.it> 0.48.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Sun Aug 26 2018 Automatic Build System <autodist@mambasoft.it> 0.47.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Aug 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.47.1-2mamba
|
|
|
|
- fix rpm-macros patch to pass DESTDIR in meson_install
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Thu Jul 12 2018 Automatic Build System <autodist@mambasoft.it> 0.47.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Tue Jul 03 2018 Automatic Build System <autodist@mambasoft.it> 0.47.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Fri May 18 2018 Automatic Build System <autodist@mambasoft.it> 0.46.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Tue Apr 24 2018 Automatic Build System <autodist@mambasoft.it> 0.46.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Mon Apr 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.1-4mamba
|
|
|
|
- apply patch unapplied in previous release
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Sun Apr 15 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.1-3mamba
|
|
|
|
- fixes to macros.meson patch
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Thu Mar 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45.1-2mamba
|
|
|
|
- install rpm macros.meson file
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Thu Mar 22 2018 Automatic Build System <autodist@mambasoft.it> 0.45.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Wed Mar 07 2018 Automatic Build System <autodist@mambasoft.it> 0.45.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:34 +01:00
|
|
|
* Thu Feb 22 2018 Automatic Build System <autodist@mambasoft.it> 0.44.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:33 +01:00
|
|
|
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 0.44.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:06:33 +01:00
|
|
|
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.0-2mamba
|
|
|
|
- rebuilt with python36
|
|
|
|
|
|
|
|
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.0-1mamba
|
|
|
|
- package created using the webbuild interface
|