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