2020-06-01 16:11:06 -04:00
|
|
|
#TARBALL: https://github.com/mesonbuild/meson/releases/download/0.53.1/meson-0.53.1.tar.gz
|
|
|
|
#MD5SUM: 9bf73f7b5a2426a7c8674a809bb8cae2;SOURCES/meson-0.53.1.tar.gz
|
2019-05-24 08:27:40 -04:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
Summary: Meson is an open source build system
|
|
|
|
Name: meson
|
2020-06-01 16:11:06 -04:00
|
|
|
Version: 0.53.1
|
2019-05-24 08:27:40 -04:00
|
|
|
Release: 1
|
|
|
|
License: Any
|
|
|
|
URL: Any
|
|
|
|
Group: LFS/Base
|
2020-06-01 16:11:06 -04:00
|
|
|
Source0: https://github.com/mesonbuild/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2019-05-24 08:27:40 -04:00
|
|
|
Requires: filesystem
|
|
|
|
%description
|
|
|
|
Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{NAME}-%{VERSION}
|
|
|
|
%build
|
|
|
|
python3 setup.py build
|
|
|
|
%install
|
2020-06-01 16:11:06 -04:00
|
|
|
install -vdm 755 %{buildroot}/usr/lib/python3.8/site-packages/
|
2019-05-24 08:27:40 -04:00
|
|
|
python3 setup.py install --root="%{buildroot}" --optimize=1 --skip-build
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Copy license/copying file
|
|
|
|
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Create file list
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
2020-06-01 16:11:06 -04:00
|
|
|
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
|
|
|
|
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
|
|
|
|
sed -i '/man\/man/d' filelist.list
|
|
|
|
sed -i '/\/usr\/share\/info/d' filelist.list
|
2019-05-24 08:27:40 -04:00
|
|
|
#-----------------------------------------------------------------------------
|
2020-06-01 16:11:06 -04:00
|
|
|
%files -f filelist.list
|
2019-05-24 08:27:40 -04:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_mandir}/man1/meson.1.gz
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
%changelog
|
2020-06-01 16:11:06 -04:00
|
|
|
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.53.1-1
|
2019-05-24 08:27:40 -04:00
|
|
|
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 0.49.2-1
|
|
|
|
- LFS-8.4
|
|
|
|
* Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 0.44.0-1
|
|
|
|
- Initial build. First version
|