Switch to the meson build system
This commit is contained in:
parent
8779bd59f2
commit
f7ffdb6a44
18
gssdp.spec
18
gssdp.spec
@ -7,7 +7,6 @@ License: LGPLv2+
|
||||
URL: http://www.gupnp.org/
|
||||
Source0: http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: GConf2-devel
|
||||
BuildRequires: glib2-devel
|
||||
@ -16,6 +15,7 @@ BuildRequires: gtk3-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: libsoup-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: vala >= 0.20
|
||||
|
||||
@ -53,21 +53,14 @@ This package contains developer documentation for %{name}.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
%meson -Dgtk_doc=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
#Remove libtool archives.
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
# Remove lib64 rpath
|
||||
chrpath --delete %{buildroot}%{_bindir}/gssdp-device-sniffer
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
make check %{?_smp_mflags} V=1
|
||||
%meson_test
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@ -96,6 +89,7 @@ make check %{?_smp_mflags} V=1
|
||||
%changelog
|
||||
* Sat Jan 26 2019 Kalev Lember <klember@redhat.com> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
- Switch to the meson build system
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user