%global commit0 05568a11936c3ccf719952afaaea9497fdfde1c2
%global commitdate 20150924
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: xfce-polkit
Version: 0
Release: 0.2.%{commitdate}git%{shortcommit0}%{?dist}
Summary: Simple PolicyKit authentication agent for Xfce
License: GPLv2+
URL: https://github.com/ncopa/%{name}
Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
BuildRequires: automake
BuildRequires: libxfce4ui-devel polkit-devel
%description
%{summary}.
%prep
%setup -qn %{name}-%{commit0}
aclocal
autoconf
automake --add-missing
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%license LICENSE
%doc AUTHORS README.md
# do not distribute empty documentation files
#doc ChangeLog NEWS
%{_libexecdir}/%{name}
%changelog
* Sat Sep 26 2015 Raphael Groner <projects.rg@smart.ms> - 0-0.2.20150924git05568a1
- fix segfault with glib-2.45 (upstream), rhbz#1264590
* Mon Jul 27 2015 Raphael Groner <projects.rg@smart.ms> - 0-0.1.20130717gitbe888ee
- initial