File plasma5-awesome-widgets.spec of Package plasma5-awesome-widgets
#
# spec file for package [spectemplate]
#
# Copyright (c) 2013 SUSE LINUX Products 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: plasma5-awesome-widgets
Version: 3.3.3
Release: 1
Summary: Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)
License: GPL-3.0
Group: System/GUI/KDE
Url: http://arcanis.name/projects/awesome-widgets
Source0: awesome-widgets-%{version}-src.tar.xz
BuildRequires: plasma-framework-devel
BuildRequires: kservice-devel
BuildRequires: kwindowsystem-devel
BuildRequires: knotifications-devel
BuildRequires: libQt5DBus-devel
BuildRequires: libQt5Test-devel
BuildRequires: libQt5Network-devel
BuildRequires: libQt5Concurrent-devel
BuildRequires: libqt5-qtdeclarative-devel
BuildRequires: ki18n-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A collection of minimalistic Plasmoids written on CPP. It looks like widgets in Awesome WM.
My plasmoid is highly and easily configurable and does not clutter your KDE system.
Also this packages has an additional DataEngine written on CPP.
%lang_package
%prep
%setup -q -n awesome-widgets
%build
%cmake_kf5 -d build -- -DCMAKE_BUILD_TYPE=Release -DBUILD_FUTURE=ON
%make_jobs
%install
%kf5_makeinstall -C build
%find_lang plasma_applet_org.kde.plasma.awesomewidget
%find_lang plasma_applet_org.kde.plasma.desktoppanel
%files
%defattr(-,root,root,-)
%{_kf5_configdir}/
%dir %{_kf5_plasmadir}/plasmoids/
%{_kf5_plasmadir}/plasmoids/org.kde.plasma.awesomewidget/
%{_kf5_plasmadir}/plasmoids/org.kde.plasma.desktoppanel/
%{_kf5_servicesdir}/
%{_kf5_notifydir}/
%dir %{_kf5_sharedir}/awesomewidgets/
%dir %{_kf5_sharedir}/awesomewidgets/configs/
%{_kf5_sharedir}/awesomewidgets/configs/*
%dir %{_kf5_sharedir}/awesomewidgets/desktops/
%{_kf5_sharedir}/awesomewidgets/desktops/*
%dir %{_kf5_sharedir}/awesomewidgets/quotes/
%{_kf5_sharedir}/awesomewidgets/quotes/*
%dir %{_kf5_sharedir}/awesomewidgets/scripts/
%{_kf5_sharedir}/awesomewidgets/scripts/*
%dir %{_kf5_sharedir}/awesomewidgets/upgrade/
%{_kf5_sharedir}/awesomewidgets/upgrade/*
%dir %{_kf5_sharedir}/awesomewidgets/weather/
%{_kf5_sharedir}/awesomewidgets/weather/*
%dir %{_kf5_sharedir}/awesomewidgets/formatters/
%{_kf5_sharedir}/awesomewidgets/formatters/*
%dir %{_kf5_sharedir}/awesomewidgets/qml/
%{_kf5_sharedir}/awesomewidgets/qml/*
%dir %{_kf5_sharedir}/awesomewidgets/requests/
%{_kf5_sharedir}/awesomewidgets/requests/httpbin.desktop
%dir %{_kf5_plugindir}
%dir %{_kf5_plugindir}/plasma
%dir %{_kf5_plugindir}/plasma/dataengine
%{_kf5_plugindir}/plasma/dataengine/plasma_dataengine_extsysmon.so
%dir %{_kf5_qmldir}/org
%dir %{_kf5_qmldir}/org/kde
%dir %{_kf5_qmldir}/org/kde/plasma
%dir %{_kf5_qmldir}/org/kde/plasma/private/
%dir %{_kf5_qmldir}/org/kde/plasma/private/awesomewidget
%dir %{_kf5_qmldir}/org/kde/plasma/private/desktoppanel
%{_kf5_qmldir}/org/kde/plasma/private/awesomewidget/*
%{_kf5_qmldir}/org/kde/plasma/private/desktoppanel/*
%if 0%{?suse_version} > 1320
%{_kf5_sharedir}/metainfo/*
%endif
%if 0%{?sle_version} >= 120200 && 0%{?is_opensuse} == 1
%{_kf5_sharedir}/metainfo/*
%endif
%doc AUTHORS CHANGELOG COPYING
%files lang -f plasma_applet_org.kde.plasma.awesomewidget.lang
%files lang -f plasma_applet_org.kde.plasma.desktoppanel.lang
%files lang
%defattr(-,root,root,-)
%doc COPYING*
#%{_kf5_localedir}/
%changelog