File cairo-dock.spec of Package cairo-dock
#
# spec file for package cairo-dock
#
# Copyright (c) 2021 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: cairo-dock
Version: 3.4.1+git.20210327.6c569e67
Release: 0
License: GPL-3.0-or-later
Summary: A small simple but effective doclet like Mac
Url: http://www.glx-dock.org/
Group: System/GUI/GNOME
Source0: cairo-dock-core-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(gtk+-3.0)
Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: %{name}-plugins-Help = %{version}
Obsoletes: %{name}-plugins-Help < %{version}
%description
Cairo-dock was in the beginning a small simple but effective dock.
On 4th July 2007, Fabounet proposes to us a version improved,
with a very ergonomic configuration, on the ubuntu-fr.org forum.
Since, new versions are followed at an intensive pace and with
their new functionalities like the sub-docks, the effects on
the launchers ... Many people are grafted with the project,
each one bringing its competences, of graphics, to the applet
or plugins and development.
%package devel
Summary: Development files for Cairo Dock
Requires: %{name} = %{version}
%description devel
Headers to build plugins with the Cairo Dock.
%lang_package
%prep
%autosetup -n cairo-dock-core-%{version}
%build
%cmake -Denable-egl-support=ON -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now"
%cmake_build
%install
%cmake_install
%find_lang %{name}
%fdupes -s %{buildroot}/%{_prefix}
%files
%license LGPL-2 LICENSE
%defattr(-,root,root)
%{_bindir}/cairo-dock
%{_datadir}/cairo-dock/
%dir %{_libdir}/cairo-dock
%{_libdir}/cairo-dock/libcd-Help.so
%{_libdir}/libgldi.so.3
%{_libdir}/libgldi.so.3.4.99.alpha1
%{_datadir}/applications/cairo-dock-cairo.desktop
%{_datadir}/applications/cairo-dock.desktop
%{_datadir}/man/man1/cairo-dock.1.gz
%{_datadir}/pixmaps/cairo-dock.svg
%files lang -f %{name}.lang
%files devel
%{_includedir}/cairo-dock/
%{_libdir}/libgldi.so
%{_libdir}/pkgconfig/gldi.pc
%changelog