meson-vl.spec 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. %{!?rpmmacrodir:%global rpmmacrodir %{_sysconfdir}/rpm}
  2. %global libname mesonbuild
  3. Name: meson
  4. Version: 0.49.0
  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. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.49.0-1
  75. - updated to 0.49.0.
  76. - updated macros.meson.
  77. * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.44.0-1
  78. - updated to 0.44.0.
  79. * Wed Sep 20 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.42.0-1
  80. - initial build for Vine Linux.
  81. * Fri Aug 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.0-1
  82. - Update to 0.42.0
  83. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.41.2-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  85. * Wed Jul 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.2-1
  86. - Update to 0.41.2
  87. * Tue Jul 18 2017 Kalev Lember <klember@redhat.com> - 0.41.1-3
  88. - Backport various gtk-doc fixes from upstream
  89. * Thu Jul 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.1-2
  90. - Strip trailing slash from pkg-config files
  91. * Mon Jun 19 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.1-1
  92. - Update to 0.41.1
  93. * Tue Jun 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.0-1
  94. - Update to 0.41.0
  95. * Wed May 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-2
  96. - Don't run ldc tests
  97. * Fri Apr 28 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-1
  98. - Update to 0.40.1
  99. * Sun Apr 23 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.0-1
  100. - Update to 0.40.0
  101. * Thu Apr 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-2
  102. - Exclude ldc for module builds
  103. * Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-1
  104. - Update to 0.39.1
  105. * Mon Mar 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.39.0-1
  106. - Update to 0.39.0
  107. * Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.1-1
  108. - Update to 0.38.1
  109. * Sun Jan 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.0-1
  110. - Update to 0.38.0
  111. * Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.1-2
  112. - Rebuild for Python 3.6
  113. * Tue Dec 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.1-1
  114. - Update to 0.37.1
  115. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.0-2
  116. - Rebuild for Python 3.6
  117. * Sun Dec 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.0-1
  118. - Update to 0.37.0
  119. * Thu Dec 15 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-4
  120. - Backport more RPM macro fixes (FPC ticket #655)
  121. * Tue Dec 13 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-3
  122. - Backport fixes to RPM macros
  123. * Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-2
  124. - Print test output during build
  125. * Mon Nov 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-1
  126. - Update to 0.36.0
  127. * Tue Oct 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.1-1
  128. - Update to 0.35.1 (RHBZ #1385986)
  129. * Tue Oct 11 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-3
  130. - Backport couple of fixes
  131. * Wed Oct 05 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-2
  132. - Apply patch to fix FTBFS
  133. * Mon Oct 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-1
  134. - Update to 0.35.0
  135. * Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-2
  136. - Run D test suite
  137. * Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-1
  138. - Update to 0.34.0
  139. * Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-2
  140. - Obsoletes fix.
  141. * Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-1
  142. - 0.33.0
  143. - GUI dropped upstream.
  144. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-2
  145. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  146. * Thu Apr 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.31.0-1
  147. - Update to 0.31.0
  148. * Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.30.0-1
  149. - Update to 0.30.0
  150. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-2
  151. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  152. * Sun Jan 24 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.29.0-1
  153. - Update to 0.29.0
  154. * Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.28.0-2
  155. - Rebuilt for Boost 1.60
  156. * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.28.0-1
  157. - 0.28.0
  158. * Wed Nov 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.27.0-1
  159. - 0.27.0
  160. * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.0-3
  161. - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
  162. * Fri Oct 30 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-2
  163. - Fix rpm macros for using optflags
  164. * Sun Sep 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-1
  165. - 0.26.0
  166. * Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.25.0-4
  167. - Rebuilt for Boost 1.59
  168. * Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.0-3
  169. - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
  170. * Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.25.0-2
  171. - rebuild for Boost 1.58
  172. * Sun Jul 12 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.0-1
  173. - 0.25.0
  174. * Sat Jul 11 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-3
  175. - Update URLs
  176. - drop unneded hacks in install section
  177. - enable print test output for tests
  178. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-2
  179. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  180. * Mon May 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
  181. - Update to 0.24.0
  182. * Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3.20150328git0ba1d54
  183. - Update to latest git
  184. * Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3
  185. - Add patch to accept .S files
  186. * Wed Apr 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-2
  187. - Add python3 to Requires (Thanks to Ilya Kyznetsov)
  188. * Tue Mar 31 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-1
  189. - 0.23.0
  190. * Sat Mar 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150328git3b49b71
  191. - Update to latest git
  192. * Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150325git18550fe
  193. - Update to latest git
  194. - Include mesonintrospect
  195. * Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150322git78d31ca
  196. - Fix filelists for mesongui (python-bytecode-without-source)
  197. * Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-8.20150322git78d31ca
  198. - Enable C# tests
  199. * Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150322git78d31ca
  200. - update to latest git
  201. - fix tests on arm
  202. * Sat Mar 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150321gita084a8e
  203. - update to latest git
  204. * Mon Mar 16 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150316gitfa2c659
  205. - update to latest git
  206. * Tue Mar 10 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150310gitf9f51b1
  207. - today's git snapshot with support for cool GNOME features
  208. - re-enable wxGTK3 tests, package fixed in rawhide
  209. * Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-6.git7581895
  210. - split gui to subpkg
  211. - update to latest snapshot
  212. - enable tests
  213. * Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-5.gitc6dbf98
  214. - Fix packaging style
  215. - Make package noarch
  216. * Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-4.git.c6dbf98
  217. - Use development version
  218. * Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
  219. - Add ninja-build to requires
  220. * Thu Jan 22 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-2
  221. - fix shebang in python files
  222. * Wed Jan 21 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
  223. - Initial package