File xtsttopng.spec of Package xtsttopng

#
# spec file for package xtsttopng
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           xtsttopng
Version:        0.0.0.g_e3daf14bc
Release:        1
License:        GPL-2.0
Summary:        Compare XTS images 
Url:            http://cgit.freedesktop.org/xorg/app/xtsttopng
Group:          System/X11/Utilities
Source0:        %{name}-%{version}.tar.bz2
Source1:	COPYING
BuildRequires:  pkg-config
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
BuildRequires:  pkgconfig(libpng)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This tool takes the output logs of tests that generate image 
comparisons, remaps the pixel values to visibly different colors, and 
generates pngs for the two (-0 being the rendered image and -1 being 
the reference image).
%prep
%setup -q

%build
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
%make_install
%__install -m 644 -D %{S:1} %{buildroot}%{_defaultdocdir}/%{name}/COPYING

%files
%defattr(-,root,root)
%{_defaultdocdir}/%{name}
%doc %{_defaultdocdir}/%{name}/COPYING
%{_bindir}/xtsttopng
%{_mandir}/man1/xtsttopng.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by