Name: snapd-glib
Version: 0.8
Release: 1%{?dist}
Summary: Library providing a GLib interface to snapd.
Group: Development/Libraries
License: LGPLv2 or LGPLv3
URL: https://launchpad.net/%{name}
Source0: https://launchpad.net/%{name}/0.x/%{version}/+download/%{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gobject-introspection-devel
BuildRequires: libtool
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: vala-tools
%description
%prep
%setup -q
%build
autoreconf --force --install --verbose
%configure
make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
# Disabled for now: https://bugs.launchpad.net/snapd-glib/+bug/1617325
# %%license COPYING.LGPL2 COPYING.LGPL3
%doc
%changelog
* Fri Aug 26 2016 Zygmunt Krynicki <me@zygoon.pl> - 0.8-1
- Initial version of the package