Package xdg-dbus-proxy: Specfile

%define ver_major 0.1
%define _libexecdir %_prefix/libexec

%def_enable man
%def_enable check

Name: xdg-dbus-proxy
Version: %ver_major.2
Release: alt1

Summary: D-Bus connections proxy
Group: System/Kernel and hardware
License: LGPLv2.1+
Url: https://github.com/flatpak/%name

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: autoconf-archive libgio-devel > 2.40
%{?_enable_man:BuildRequires: xsltproc docbook-style-xsl}
%{?_enable_check:BuildRequires: /proc dbus-tools-gui}

%description
%name is a filtering proxy for D-Bus connections. It was originally part
of the flatpak project, but it has been broken out as a standalone module
to facilitate using it in other contexts.

%prep
%setup
%patch -p1

%build
%autoreconf
%configure %{subst_enable man}
%make_build

%install
%makeinstall_std

%check
%make check

%files
%_bindir/%name
%{?_enable_man:%_man1dir/%name.1.*}
%doc README.md NEWS


%changelog
* Tue Sep 24 2019 Yuri N. Sedunov <aris@altlinux.org> 0.1.2-alt1
- 0.1.2
- removed obsolete patches

* Wed May 29 2019 Yuri N. Sedunov <aris@altlinux.org> 0.1.1-alt1
- first build for Sisyphus