File idesk.spec of Package idesk
#
# spec file for package idesk
#
# 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: idesk
Version: 0.7.7
Release: 0
Summary: Desktop icon manager with support for PNG/SVG icons and antialiased text
License: BSD-3-Clause
Group: System/GUI/Other
Url: https://github.com/neagix/idesk
Source: %{name}-%{version}.tar.xz
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(imlib2)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xft)
Requires: imlib2-loaders
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
IDesk gives users icons on their desktop. Features include transparency,
configurable actions to run shell commands, PNG, SVG and GIF image support, and
XFT anti-aliased fonts.
%prep
%setup -q
sed -i '599s/0/\(void \*\)0/' src/XDesktopContainer.cpp
%build
autoreconf -fiv
%configure
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS TODO
%{_bindir}/%{name}
%{_datadir}/%{name}
%changelog