meson-vl.spec 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. %{!?rpmmacrodir:%global rpmmacrodir %{_sysconfdir}/rpm}
  2. %global libname mesonbuild
  3. Name: meson
  4. Version: 0.51.2
  5. Release: 1%{?_dist_release}
  6. Group: Development/Tools
  7. Summary: High productivity build system
  8. Summary(ja): 高生産性ビルドシステム
  9. License: ASL 2.0
  10. URL: http://mesonbuild.com/
  11. Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
  12. Source1: macros.meson
  13. BuildArch: noarch
  14. Obsoletes: %{name}-gui < 0.31.0-3
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: tomop
  18. BuildRequires: python3-devel
  19. BuildRequires: python3-setuptools
  20. BuildRequires: python-rpm-macros
  21. BuildRequires: python3-rpm-macros
  22. BuildRequires: ninja
  23. # Various languages
  24. BuildRequires: gcc
  25. BuildRequires: libasan
  26. BuildRequires: gcc-c++
  27. BuildRequires: gcc-objc
  28. BuildRequires: gcc-objc++
  29. BuildRequires: rust
  30. # Various libs support
  31. BuildRequires: libboost-devel
  32. BuildRequires: vala
  33. BuildRequires: flex
  34. BuildRequires: bison
  35. BuildRequires: gettext
  36. BuildRequires: git-core
  37. #BuildRequires: pkgconfig(glib-2.0)
  38. #BuildRequires: pkgconfig(gobject-introspection-1.0)
  39. #BuildRequires: itstool
  40. BuildRequires: zlib-devel
  41. BuildRequires: llvm-devel
  42. BuildRequires: cups-devel
  43. Requires: ninja
  44. Requires: python3-setuptools
  45. %description
  46. Meson is a build system designed to optimize programmer
  47. productivity. It aims to do this by providing simple, out-of-the-box
  48. support for modern software development tools and practices, such as
  49. unit tests, coverage reports, Valgrind, CCache and the like.
  50. %prep
  51. %autosetup -p1
  52. find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} ';'
  53. # Remove MPI tests for now because it is complicated to run
  54. rm -rf "test cases/frameworks/17 mpi"
  55. %build
  56. %py3_build
  57. #python3 setup.py build
  58. %install
  59. %py3_install
  60. #python3 setup.py install --root %{buildroot}
  61. install -Dpm0644 %{SOURCE1} %{buildroot}%{rpmmacrodir}/macros.%{name}
  62. %check
  63. export MESON_PRINT_TEST_OUTPUT=1
  64. #python3 ./run_tests.py ||:
  65. %files
  66. %license COPYING
  67. %{_bindir}/%{name}
  68. %{python3_sitelib}/%{libname}/
  69. %{python3_sitelib}/%{name}-*.egg-info/
  70. %{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
  71. %{_mandir}/man1/%{name}.1*
  72. %{rpmmacrodir}/macros.*
  73. %changelog
  74. * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.51.2-1
  75. - updated to 0.51.2.
  76. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.49.0-1
  77. - updated to 0.49.0.
  78. - updated macros.meson.
  79. * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.44.0-1
  80. - updated to 0.44.0.
  81. * Wed Sep 20 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.42.0-1
  82. - initial build for Vine Linux.
  83. * Fri Aug 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.0-1
  84. - Update to 0.42.0
  85. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.41.2-2
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  87. * Wed Jul 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.2-1
  88. - Update to 0.41.2
  89. * Tue Jul 18 2017 Kalev Lember <klember@redhat.com> - 0.41.1-3
  90. - Backport various gtk-doc fixes from upstream
  91. * Thu Jul 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.1-2
  92. - Strip trailing slash from pkg-config files
  93. * Mon Jun 19 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.1-1
  94. - Update to 0.41.1
  95. * Tue Jun 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.0-1
  96. - Update to 0.41.0
  97. * Wed May 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-2
  98. - Don't run ldc tests
  99. * Fri Apr 28 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-1
  100. - Update to 0.40.1
  101. * Sun Apr 23 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.0-1
  102. - Update to 0.40.0
  103. * Thu Apr 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-2
  104. - Exclude ldc for module builds
  105. * Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-1
  106. - Update to 0.39.1
  107. * Mon Mar 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.39.0-1
  108. - Update to 0.39.0
  109. * Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.1-1
  110. - Update to 0.38.1
  111. * Sun Jan 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.0-1
  112. - Update to 0.38.0
  113. * Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.1-2
  114. - Rebuild for Python 3.6
  115. * Tue Dec 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.1-1
  116. - Update to 0.37.1
  117. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.0-2
  118. - Rebuild for Python 3.6
  119. * Sun Dec 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.0-1
  120. - Update to 0.37.0
  121. * Thu Dec 15 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-4
  122. - Backport more RPM macro fixes (FPC ticket #655)
  123. * Tue Dec 13 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-3
  124. - Backport fixes to RPM macros
  125. * Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-2
  126. - Print test output during build
  127. * Mon Nov 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-1
  128. - Update to 0.36.0
  129. * Tue Oct 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.1-1
  130. - Update to 0.35.1 (RHBZ #1385986)
  131. * Tue Oct 11 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-3
  132. - Backport couple of fixes
  133. * Wed Oct 05 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-2
  134. - Apply patch to fix FTBFS
  135. * Mon Oct 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-1
  136. - Update to 0.35.0
  137. * Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-2
  138. - Run D test suite
  139. * Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-1
  140. - Update to 0.34.0
  141. * Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-2
  142. - Obsoletes fix.
  143. * Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-1
  144. - 0.33.0
  145. - GUI dropped upstream.
  146. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-2
  147. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  148. * Thu Apr 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.31.0-1
  149. - Update to 0.31.0
  150. * Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.30.0-1
  151. - Update to 0.30.0
  152. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-2
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  154. * Sun Jan 24 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.29.0-1
  155. - Update to 0.29.0
  156. * Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.28.0-2
  157. - Rebuilt for Boost 1.60
  158. * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.28.0-1
  159. - 0.28.0
  160. * Wed Nov 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.27.0-1
  161. - 0.27.0
  162. * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.0-3
  163. - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
  164. * Fri Oct 30 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-2
  165. - Fix rpm macros for using optflags
  166. * Sun Sep 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-1
  167. - 0.26.0
  168. * Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.25.0-4
  169. - Rebuilt for Boost 1.59
  170. * Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.0-3
  171. - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
  172. * Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.25.0-2
  173. - rebuild for Boost 1.58
  174. * Sun Jul 12 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.0-1
  175. - 0.25.0
  176. * Sat Jul 11 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-3
  177. - Update URLs
  178. - drop unneded hacks in install section
  179. - enable print test output for tests
  180. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-2
  181. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  182. * Mon May 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
  183. - Update to 0.24.0
  184. * Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3.20150328git0ba1d54
  185. - Update to latest git
  186. * Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3
  187. - Add patch to accept .S files
  188. * Wed Apr 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-2
  189. - Add python3 to Requires (Thanks to Ilya Kyznetsov)
  190. * Tue Mar 31 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-1
  191. - 0.23.0
  192. * Sat Mar 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150328git3b49b71
  193. - Update to latest git
  194. * Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150325git18550fe
  195. - Update to latest git
  196. - Include mesonintrospect
  197. * Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150322git78d31ca
  198. - Fix filelists for mesongui (python-bytecode-without-source)
  199. * Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-8.20150322git78d31ca
  200. - Enable C# tests
  201. * Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150322git78d31ca
  202. - update to latest git
  203. - fix tests on arm
  204. * Sat Mar 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150321gita084a8e
  205. - update to latest git
  206. * Mon Mar 16 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150316gitfa2c659
  207. - update to latest git
  208. * Tue Mar 10 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150310gitf9f51b1
  209. - today's git snapshot with support for cool GNOME features
  210. - re-enable wxGTK3 tests, package fixed in rawhide
  211. * Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-6.git7581895
  212. - split gui to subpkg
  213. - update to latest snapshot
  214. - enable tests
  215. * Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-5.gitc6dbf98
  216. - Fix packaging style
  217. - Make package noarch
  218. * Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-4.git.c6dbf98
  219. - Use development version
  220. * Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
  221. - Add ninja-build to requires
  222. * Thu Jan 22 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-2
  223. - fix shebang in python files
  224. * Wed Jan 21 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
  225. - Initial package