Blame accounts-qml-module.spec

Bernhard M. Wiedemann f06ce7
#
Bernhard M. Wiedemann f06ce7
# spec file for package accounts-qml-module
Bernhard M. Wiedemann f06ce7
#
4e19a6
# Copyright (c) 2024 SUSE LLC
Bernhard M. Wiedemann f06ce7
#
Bernhard M. Wiedemann f06ce7
# All modifications and additions to the file contributed by third parties
Bernhard M. Wiedemann f06ce7
# remain the property of their copyright owners, unless otherwise agreed
Bernhard M. Wiedemann f06ce7
# upon. The license for this file, and modifications and additions to the
Bernhard M. Wiedemann f06ce7
# file, is the same license as for the pristine package itself (unless the
Bernhard M. Wiedemann f06ce7
# license for the pristine package is not an Open Source License, in which
Bernhard M. Wiedemann f06ce7
# case the license is the MIT License). An "Open Source License" is a
Bernhard M. Wiedemann f06ce7
# license that conforms to the Open Source Definition (Version 1.9)
Bernhard M. Wiedemann f06ce7
# published by the Open Source Initiative.
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Bernhard M. Wiedemann f06ce7
#
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
Name:           accounts-qml-module
4e19a6
Version:        0.7git.20231028T182937~05e79eb
Bernhard M. Wiedemann f06ce7
Release:        0
4e19a6
Summary:        QML bindings for libaccounts-qt and libsignon-qt
Bernhard M. Wiedemann f06ce7
License:        LGPL-2.1-only
Bernhard M. Wiedemann f06ce7
URL:            https://gitlab.com/accounts-sso/accounts-qml-module
4e19a6
Source:         %{name}-%{version}.tar.xz
4e19a6
BuildRequires:  qt6-tools-qdoc
4e19a6
BuildRequires:  cmake(AccountsQt6)
4e19a6
BuildRequires:  cmake(Qt6Gui)
4e19a6
BuildRequires:  cmake(Qt6Qml)
4e19a6
BuildRequires:  cmake(Qt6Test)
4e19a6
BuildRequires:  cmake(SignOnQt6)
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%description
Bernhard M. Wiedemann f06ce7
This QML module provides an API to manage the user's online accounts and get
Bernhard M. Wiedemann f06ce7
their authentication data. It's a tiny wrapper around the Qt-based APIs of
Bernhard M. Wiedemann f06ce7
libaccounts-qt and libsignon-qt.
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%package doc
Bernhard M. Wiedemann f06ce7
Summary:        Documentation for accounts-qml-module
Bernhard M. Wiedemann f06ce7
BuildArch:      noarch
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%description doc
Bernhard M. Wiedemann f06ce7
This package contains the developer documentation for accounts-qml-module.
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%prep
4e19a6
%autosetup -p1
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%build
4e19a6
%qmake6
4e19a6
4e19a6
%qmake6_build
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%install
4e19a6
%qmake6_install
Bernhard M. Wiedemann f06ce7
4e19a6
# Delete test executable
Bernhard M. Wiedemann f06ce7
rm %{buildroot}%{_bindir}/tst_plugin
4e19a6
4e19a6
# Fix rpmlint warning
4e19a6
rm %{buildroot}%{_qt6_sharedir}/accounts-qml-module/doc/html/.gitignore
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%files
Bernhard M. Wiedemann f06ce7
%license COPYING
Bernhard M. Wiedemann f06ce7
%doc README.md
4e19a6
%dir %{_qt6_qmldir}/SSO
4e19a6
%{_qt6_qmldir}/SSO/OnlineAccounts/
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%files doc
4e19a6
%doc %{_qt6_sharedir}/accounts-qml-module/
Bernhard M. Wiedemann f06ce7
Bernhard M. Wiedemann f06ce7
%changelog