Switch to meson build system

This commit is contained in:
Kalev Lember 2020-09-28 20:31:11 +02:00
parent f3fc8a5f3e
commit 497a26dc21

View File

@ -10,10 +10,14 @@ License: LGPLv2+
URL: https://libsigcplusplus.github.io/libsigcplusplus/ URL: https://libsigcplusplus.github.io/libsigcplusplus/
Source0: https://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz Source0: https://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
BuildRequires: docbook-style-xsl
BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libxslt
BuildRequires: m4 BuildRequires: m4
BuildRequires: perl-interpreter BuildRequires: meson
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: perl-interpreter
%description %description
libsigc++ implements a typesafe callback system for standard C++. It libsigc++ implements a typesafe callback system for standard C++. It
@ -48,13 +52,12 @@ This package contains the full API documentation for %{name}.
%build %build
%configure %meson -Dbuild-documentation=true
%make_build %meson_build
%install %install
%make_install %meson_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%files %files
@ -74,8 +77,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%changelog %changelog
* Mon Sep 28 15:17:15 CEST 2020 Kalev Lember <klember@redhat.com> - 3.0.4-1 * Mon Sep 28 2020 Kalev Lember <klember@redhat.com> - 3.0.4-1
- Update to 3.0.4 - Update to 3.0.4
- Switch to meson build system
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild