Hello community, here is the log from the commit of package meson for openSUSE:Factory checked in at 2017-07-12 19:32:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/meson (Old) and /work/SRC/openSUSE:Factory/.meson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson" Wed Jul 12 19:32:21 2017 rev:20 rq:508846 version:0.41.1 Changes: -------- --- /work/SRC/openSUSE:Factory/meson/meson-testsuite.changes 2017-06-30 18:38:52.171606074 +0200 +++ /work/SRC/openSUSE:Factory/.meson.new/meson-testsuite.changes 2017-07-12 19:32:24.174867198 +0200 @@ -1,0 +2,5 @@ +Tue Jun 27 14:19:46 UTC 2017 - [email protected] + +- Add a vim subpackage to add Meson support to Vim. + +------------------------------------------------------------------- meson.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ meson-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.U532yJ/_old 2017-07-12 19:32:25.194723305 +0200 +++ /var/tmp/diff_new_pack.U532yJ/_new 2017-07-12 19:32:25.198722740 +0200 @@ -17,13 +17,11 @@ %define testsuite 1 - %if %{testsuite} %define name_ext -testsuite %else %define name_ext %nil %endif - %define _name mesonbuild Name: meson%{name_ext} Version: 0.41.1 @@ -42,6 +40,7 @@ # PATCH-FIX-OPENSUSE meson-test-installed-bin.patch [email protected] -- We want the test suite to run against /usr/bin/meson coming from our meson package Patch100: meson-test-installed-bin.patch BuildRequires: python3 >= 3.4 +BuildArch: noarch %if %{testsuite} BuildRequires: bison BuildRequires: boost-devel @@ -79,7 +78,6 @@ Provides: meson-gui = %{version} Obsoletes: meson-gui < %{version} %endif -BuildArch: noarch %description Meson is a build system designed to optimise programmer productivity. @@ -89,6 +87,24 @@ Java, Rust. Build definitions are written in a non-turing complete Domain Specific Language. +%package vim +%{!?vim_data_dir:%global vim_data_dir %_datadir/vim} +Summary: Vim support for meson.build files +Group: Productivity/Text/Editors +Requires: vim +Supplements: packageand(vim:%{name}) +BuildArch: noarch + +%description vim +Meson is a build system designed to optimise programmer productivity. +It aims to do this by providing support for software development +tools and practices, such as unit tests, coverage reports, Valgrind, +CCache and the like. Supported languages include C, C++, Fortran, +Java, Rust. Build definitions are written in a non-turing complete +Domain Specific Language. + +This package provides support for meson.build files in Vim. + %prep %setup -q -n meson-%{version} %patch0 -p1 @@ -116,6 +132,13 @@ install -Dpm 0644 data/macros.meson \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson + +install -Dpm 0644 syntax-highlighting/vim/ftdetect/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/ftdetect +install -Dpm 0644 syntax-highlighting/vim/indent/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/indent +install -Dpm 0644 syntax-highlighting/vim/syntax/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/syntax %endif %if %{testsuite} @@ -128,6 +151,7 @@ %files %defattr(-,root,root) + %doc contributing.txt COPYING %if !%{testsuite} %{_bindir}/meson @@ -145,4 +169,18 @@ %{_mandir}/man1/wraptool.1%{?ext_man} %endif +%if !%{testsuite} +%files vim +%defattr(-,root,root) +%doc syntax-highlighting/vim/README +%dir %{vim_data_dir} +%dir %{vim_data_dir}/site +%dir %{vim_data_dir}/site/ftdetect +%dir %{vim_data_dir}/site/indent +%dir %{vim_data_dir}/site/syntax +%{vim_data_dir}/site/ftdetect/meson.vim +%{vim_data_dir}/site/indent/meson.vim +%{vim_data_dir}/site/syntax/meson.vim +%endif + %changelog ++++++ meson.spec ++++++ --- /var/tmp/diff_new_pack.U532yJ/_old 2017-07-12 19:32:25.226718791 +0200 +++ /var/tmp/diff_new_pack.U532yJ/_new 2017-07-12 19:32:25.230718226 +0200 @@ -1,5 +1,5 @@ # -# spec file for package meson-testsuite +# spec file for package meson # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -17,13 +17,11 @@ %define testsuite 0 - %if %{testsuite} %define name_ext -testsuite %else %define name_ext %nil %endif - %define _name mesonbuild Name: meson%{name_ext} Version: 0.41.1 @@ -42,6 +40,7 @@ # PATCH-FIX-OPENSUSE meson-test-installed-bin.patch [email protected] -- We want the test suite to run against /usr/bin/meson coming from our meson package Patch100: meson-test-installed-bin.patch BuildRequires: python3 >= 3.4 +BuildArch: noarch %if %{testsuite} BuildRequires: bison BuildRequires: boost-devel @@ -79,7 +78,6 @@ Provides: meson-gui = %{version} Obsoletes: meson-gui < %{version} %endif -BuildArch: noarch %description Meson is a build system designed to optimise programmer productivity. @@ -89,6 +87,24 @@ Java, Rust. Build definitions are written in a non-turing complete Domain Specific Language. +%package vim +%{!?vim_data_dir:%global vim_data_dir %_datadir/vim} +Summary: Vim support for meson.build files +Group: Productivity/Text/Editors +Requires: vim +Supplements: packageand(vim:%{name}) +BuildArch: noarch + +%description vim +Meson is a build system designed to optimise programmer productivity. +It aims to do this by providing support for software development +tools and practices, such as unit tests, coverage reports, Valgrind, +CCache and the like. Supported languages include C, C++, Fortran, +Java, Rust. Build definitions are written in a non-turing complete +Domain Specific Language. + +This package provides support for meson.build files in Vim. + %prep %setup -q -n meson-%{version} %patch0 -p1 @@ -116,6 +132,13 @@ install -Dpm 0644 data/macros.meson \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson + +install -Dpm 0644 syntax-highlighting/vim/ftdetect/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/ftdetect +install -Dpm 0644 syntax-highlighting/vim/indent/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/indent +install -Dpm 0644 syntax-highlighting/vim/syntax/meson.vim \ + -t %{buildroot}%{vim_data_dir}/site/syntax %endif %if %{testsuite} @@ -128,6 +151,7 @@ %files %defattr(-,root,root) + %doc contributing.txt COPYING %if !%{testsuite} %{_bindir}/meson @@ -145,4 +169,18 @@ %{_mandir}/man1/wraptool.1%{?ext_man} %endif +%if !%{testsuite} +%files vim +%defattr(-,root,root) +%doc syntax-highlighting/vim/README +%dir %{vim_data_dir} +%dir %{vim_data_dir}/site +%dir %{vim_data_dir}/site/ftdetect +%dir %{vim_data_dir}/site/indent +%dir %{vim_data_dir}/site/syntax +%{vim_data_dir}/site/ftdetect/meson.vim +%{vim_data_dir}/site/indent/meson.vim +%{vim_data_dir}/site/syntax/meson.vim +%endif + %changelog
