%global base_name elisa Name: elisa-player Version: 23.08.5 Release: %autorelease Summary: Elisa music player # Main program LGPLv3+ # Background image CC-BY-SA License: LGPLv3+ and CC-BY-SA URL: https://community.kde.org/Elisa %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/elisa-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Multimedia) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5QuickTest) BuildRequires: cmake(Qt5QuickControls2) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Baloo) BuildRequires: cmake(KF5Declarative) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5FileMetaData) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5Package) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5Kirigami2) BuildRequires: cmake(KF5IconThemes) Requires: hicolor-icon-theme Requires: qt5-qtquickcontrols%{?_isa} Requires: kf5-kirigami2 Requires: dbus-common %description Elisa is a simple music player aiming to provide a nice experience for its users. %prep %autosetup -n elisa-%{version} -p1 %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang elisa --all-name --with-kde --with-html %check desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.elisa.desktop appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.elisa.appdata.xml %files -f elisa.lang %license COPYING %{_kf5_bindir}/elisa %{_kf5_datadir}/applications/org.kde.elisa.desktop %{_kf5_datadir}/dbus-1/services/org.kde.elisa.service %{_kf5_datadir}/icons/hicolor/*/apps/elisa* %{_kf5_datadir}/qlogging-categories5/elisa.categories %{_kf5_metainfodir}/org.kde.elisa.appdata.xml %{_kf5_libdir}/elisa/ %{_kf5_libdir}/qt5/qml/org/kde/elisa/ %changelog %autochangelog