File transistor.spec of Package transistor

#
# spec file for package transistor
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# 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:           transistor
Version:        0~git20250606
Release:        0
Summary:        Internet Radio Player
License:        GPL-2.0-or-later
URL:            https://invent.kde.org/saurov/transistor/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  cmake(KF6ColorScheme)
BuildRequires:  cmake(KF6Config)
BuildRequires:  cmake(KF6CoreAddons)
BuildRequires:  cmake(KF6I18n)
BuildRequires:  cmake(KF6IconThemes)
BuildRequires:  cmake(KF6Kirigami)
BuildRequires:  cmake(KF6Notifications)
BuildRequires:  cmake(Qt6)
BuildRequires:  cmake(Qt6Core)
BuildRequires:  cmake(Qt6Gui)
BuildRequires:  cmake(Qt6Multimedia)
BuildRequires:  cmake(Qt6Qml)
BuildRequires:  cmake(Qt6Quick)
BuildRequires:  cmake(Qt6QuickControls2)
BuildRequires:  cmake(Qt6Sql)
BuildRequires:  cmake(Qt6Svg)

%description
Internet radio player that provides access to a station database
with over 50,000 stations.

Features:
* Create your own library where you can add your favorite stations
* Easily search and discover new radio stations
* Automatic recognition of tracks if is possible
* Responsive application layout, compatible for small and large screens

%prep
%autosetup -p1

%build
%cmake
%make_jobs

%install
%cmake_install

%check

%files
#%%license LICENSE file missing
%doc README.md
%{_bindir}/transistor
%{_datadir}/applications/org.kde.transistor.desktop
%{_datadir}/icons/hicolor/scalable/apps/transistor*.svg
%{_datadir}/knotifications6/transistor.notifyrc
%{_datadir}/metainfo/org.kde.transistor.metainfo.xml

%changelog
openSUSE Build Service is sponsored by