File ddcui.spec of Package ddcui

# spec file for package ddcui
#
# Copyright (c) 2022 Matteo De Carlo
#
# 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.

Name:          ddcui
Version:       0.3.0
Release:       0
Summary:       Graphical user interface for ddcutil, control monitor settings
License:       GPL20
URL:           https://github.com/rockowitz/ddcui
Source0:       %{name}-%{version}.tar.xz
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: libddcutil-devel >= 1.2.2
BuildRequires: glib2-devel >= 2.40

BuildRequires: libQt5Core-devel >= 5.5
BuildRequires: libQt5Widgets-devel 
BuildRequires: libqt5-qttools-devel

%description
ddcui is a graphical user interface for ddcutil, implemented using Qt.

%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%doc README.md
%{_bindir}/ddcui
%{_datadir}/applications/ddcui.desktop
%{_datadir}/doc/packages/ddcui/AUTHORS
%{_datadir}/doc/packages/ddcui/CHANGELOG.md
%{_datadir}/doc/packages/ddcui/NEWS.md
%{_datadir}/icons/hicolor/16x16/
%{_datadir}/icons/hicolor/16x16/apps/
%{_datadir}/icons/hicolor/16x16/apps/ddcui.png
%{_datadir}/icons/hicolor/32x32/
%{_datadir}/icons/hicolor/32x32/apps/
%{_datadir}/icons/hicolor/32x32/apps/ddcui.png
%{_datadir}/icons/hicolor/48x48/
%{_datadir}/icons/hicolor/48x48/apps/
%{_datadir}/icons/hicolor/48x48/apps/ddcui.png
%{_datadir}/icons/hicolor/64x64/
%{_datadir}/icons/hicolor/64x64/apps/
%{_datadir}/icons/hicolor/64x64/apps/ddcui.png
%{_datadir}/icons/hicolor/128x128/
%{_datadir}/icons/hicolor/128x128/apps/
%{_datadir}/icons/hicolor/128x128/apps/ddcui.png
%{_datadir}/man/man1/ddcui.1.gz
%{_datadir}/metainfo/ddcui.appdata.xml

%changelog
openSUSE Build Service is sponsored by