Switch to meson build system

This commit is contained in:
Kalev Lember 2020-09-28 20:10:04 +02:00
parent 8cb2ca9f61
commit 148df0f8c0

View File

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