File idesk.spec of Package idesk
#
# spec file for package idesk
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: idesk
Version: @SERVICE@
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
Source0: %{name}-%{version}.tar.xz
Source1: idesktop-lnk.tar.xz
Patch1: example-dot-ideskrc.patch
Patch2: configure-ac.patch
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(imlib2)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xft)
Requires: gdk-pixbuf-loader-rsvg
Requires: imlib2-loaders
%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
%autosetup -p1 -a1
%build
autoreconf -fiv
%configure \
--enable-libsn=yes \
--enable-svg=yes \
--enable-shape=yes
%make_build
%install
%make_install
cp -a idesktop/ %{buildroot}%{_datadir}/%{name}/
%files
%doc AUTHORS NEWS TODO
%{_bindir}/%{name}
%{_datadir}/%{name}
%license COPYING
%changelog