File mauiman.spec of Package mauiman-3.0.1-1.15
# spec file for mauiman
#
# Copyright (c) 2022 SUSE LINUX 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.
%define lname libMauiMan3
Name: mauiman
Version: 3.0.1
Release: 1.15
License: GPL-3.0-or-later
Summary: Maui Manager Library. Server and public library API
URL: https://mauikit.org
Source: https://invent.kde.org/maui/mauiman/-/archive/v%{version}/mauiman-v%{version}.tar.gz
Group: Development/Libraries/KDE
%if 0%{?sle_version} == 150400 && 0%{?is_opensuse}
ExcludeArch: x86_64
%endif
%if 0%{?sle_version} == 150500 && 0%{?is_opensuse}
ExcludeArch: x86_64
%endif
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: libqt5-qtsysteminfo-devel
Requires: %{lname} = %{version}
%description
Maui Manager Library. Server and public library API.
%package -n %{lname}
Summary: Development package for MauiMan
Group: Development/Libraries/KDE
%description -n %{lname}
Kit for developing MAUI Apps.
MauiKit is a set of utilities and "templated" controls based on Kirigami and QCC2 that follow the ongoing work on the Maui HIG.
It let you quickly create a Maui application and access utilities and widgets shared among the other Maui apps.
%package devel
Summary: Development package for MauiMan
Group: Development/Libraries/KDE
Provides: cmake(MauiMan) = %{version}
Requires: %{name} = %{version}
%description devel
Kit for developing MAUI Apps.
MauiKit is a set of utilities and "templated" controls based on Kirigami and QCC2 that follow the ongoing work on the Maui HIG.
It let you quickly create a Maui application and access utilities and widgets shared among the other Maui apps.
%prep
%autosetup -p1 -n mauiman-v%{version}
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%kf5_post_install
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files
%doc README.md
%{_bindir}/MauiManServer3
%{_datadir}/dbus-1/services/org.mauiman.Manager3.service
%files -n %{lname}
%{_libdir}/libMauiMan3.so
%files devel
%dir %{_includedir}/MauiMan3
%dir %{_libdir}/cmake/MauiMan3
%{_includedir}/MauiMan3/*
%{_libdir}/cmake/MauiMan3/*
%changelog
* Sun Dec 4 2022 Ruach <hopeandtruth6517@gmail.com>
- Update to v1.0.1
* New feature release
* For more details please see:
* https://mauikit.org/blog/maui-2-2-1-release/
- Changes since 1.0.0:
* The translucency feature is now hooked to the MauiMan property enableEffects and exposed on the Maui Settings app