File skippy-xd.spec of Package skippy-xd

#
# spec file for package skippy-xd
#
# Copyright (c) 2016 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:           skippy-xd
Version:        0.5.1~hg
Release:        0
Summary:        A full-screen task-switcher for X11
License:        GPL-2.0
Group:          System/X11/Utilities
Url:            https://github.com/richardgv/skippy-xd
Source:         %{name}-%{version}.tar.xz
BuildRequires:  giflib-devel
BuildRequires:  libjpeg8-devel
BuildRequires:  llvm-clang
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xcomposite)
BuildRequires:  pkgconfig(xdamage)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xfixes)
BuildRequires:  pkgconfig(xft)
BuildRequires:  pkgconfig(xinerama)
BuildRequires:  pkgconfig(xrender)
BuildRequires:  pkgconfig(zlib)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Standalone composited window picker (displays all your windows at once, with live
previews).

%prep
%setup -q
sed -i '48,51d' Makefile

%build
export CC="clang"
make %{?_smp_mflags}

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc CHANGELOG COPYING README.asciidoc
%{_bindir}/%{name}
%config %{_sysconfdir}/xdg/%{name}.rc

%changelog
openSUSE Build Service is sponsored by