File LedsnakeClient.spec of Package LedsnakeClient

#
# spec file for package LedsnakeClient
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2025 Wouter Haffmans
#
# 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/
#

Name:           LedsnakeClient
Version:        0.0.1
Release:        2%{?dist}
Summary:        A tool to control a led snake
Group:          Applications/Productivity
License:        GPL-3.0+
URL:            https://git.simply-life.net/simply-life.net/ledsnake-client.git
Source0:        ledsnake-client.tar.gz
BuildRequires:  gcc cmake
BuildRequires:  qt6-core-devel qt6-gui-devel qt6-quickcontrols2-devel qt6-mqtt-devel qt6-svg-devel qt6-test-devel
BuildRequires:  kf6-kirigami-devel
BuildRequires:  qtkeychain-qt6-devel

%description
A tool to control a led snake

%prep
%setup -q -n ledsnake-client-main


%build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_LIB_DIR=%{_lib} ..
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
cd build
%make_install install/strip

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%attr(755,root,root) %{_bindir}/ledsnakeclient

%changelog
* Thu Jan 22 2026 Wouter Haffmans,,,
- Qt6 version
* Thu Jun 26 2025 Wouter Haffmans,,,
- 

openSUSE Build Service is sponsored by