!4 remove useless buildrequires of software
Merge pull request !4 from syyhao/dev
This commit is contained in:
commit
0a33ba817f
25
meson.spec
25
meson.spec
@ -1,23 +1,15 @@
|
|||||||
Name: meson
|
Name: meson
|
||||||
Version: 0.51.1
|
Version: 0.51.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An open source high quality build system
|
Summary: An open source high quality build system
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://mesonbuild.com/
|
URL: https://mesonbuild.com/
|
||||||
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: %{name}-gui < 0.31.0-3
|
Obsoletes: %{name}-gui < 0.31.0-3
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
BuildRequires: ninja-build libasan gcc-c++ gcc-gfortran gcc-objc gcc-objc++
|
|
||||||
BuildRequires: java-devel mono-core mono-devel rust boost-devel gtest-devel
|
|
||||||
BuildRequires: gmock-devel qt5-qtbase-devel vala python3-gobject-base
|
|
||||||
BuildRequires: wxGTK3-devel flex bison gettext gnustep-base-devel
|
|
||||||
BuildRequires: gnustep-make libpcap-devel llvm-devel cups-devel
|
|
||||||
BuildRequires: git-core pkgconfig(protobuf) pkgconfig(glib-2.0) pkgconfig(glib-sharp-2.0)
|
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) gtk-doc itstool pkgconfig(zlib)
|
|
||||||
BuildRequires: python%{python3_pkgversion}-Cython pkgconfig(sdl2) pkgconfig(vulkan)
|
|
||||||
Requires: python3-setuptools ninja-build
|
Requires: python3-setuptools ninja-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,18 +32,14 @@ sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
install -Dpm0644 data/macros.%{name} %{buildroot}%{rpmmacrodir}/macros.%{name}
|
install -Dpm0644 data/macros.%{name} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||||
|
|
||||||
%check
|
|
||||||
export MESON_PRINT_TEST_OUTPUT=1
|
|
||||||
%{__python3} ./run_tests.py
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{python3_sitelib}/mesonbuild/
|
%{python3_sitelib}/mesonbuild/
|
||||||
%{python3_sitelib}/%{name}-*.egg-info/
|
%{python3_sitelib}/%{name}-*.egg-info/
|
||||||
%{rpmmacrodir}/macros.%{name}
|
%{_rpmmacrodir}/macros.%{name}
|
||||||
%dir %{_datadir}/polkit-1
|
%dir %{_datadir}/polkit-1
|
||||||
%dir %{_datadir}/polkit-1/actions
|
%dir %{_datadir}/polkit-1/actions
|
||||||
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||||
@ -60,7 +48,10 @@ export MESON_PRINT_TEST_OUTPUT=1
|
|||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Dec 16 2019 catastrowings <jianghuhao1994@163.com> - 0.51.1-2
|
* Sun Jan 12 2020 chengquan <chengquan3@huawei.com> - 0.51.1-3
|
||||||
|
- remove useless buildrequires of software
|
||||||
|
|
||||||
|
* Mon Dec 16 2019 catastrowings <jianghuhao1994@163.com> - 0.51.1-2
|
||||||
- fix build fail
|
- fix build fail
|
||||||
|
|
||||||
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 0.49.0-2
|
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 0.49.0-2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user