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