2021-01-12 19:11:12 +01:00
|
|
|
#
|
|
|
|
# spec file for package qml-autoreqprov
|
|
|
|
#
|
2024-01-22 10:48:52 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2021-01-12 19:11:12 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-01-17 09:39:30 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2021-01-12 19:11:12 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: qml-autoreqprov
|
2024-01-23 05:44:49 +01:00
|
|
|
Version: 1.4.1
|
2021-01-12 19:11:12 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Automatic dependency generator for QML files and modules
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Tools/Building
|
2021-01-17 09:39:30 +01:00
|
|
|
URL: http://www.opensuse.org
|
2021-01-12 19:11:12 +01:00
|
|
|
Source0: LICENSE
|
|
|
|
Source1: qml.attr
|
|
|
|
Source2: qml.req
|
|
|
|
Source3: qmldir.attr
|
|
|
|
Source4: qmldirreqprov.sh
|
|
|
|
Source5: README
|
|
|
|
Requires: jq
|
|
|
|
Requires: rpm
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: (libqt5-qtdeclarative-tools if libQtQuick5)
|
|
|
|
Requires: (qmlpluginexports-qt5 if libqt5-qtdeclarative-devel)
|
|
|
|
Requires: (qmlpluginexports-qt6 if qt6-qml-devel)
|
2023-11-16 10:10:29 +01:00
|
|
|
Requires: (qt6-base-common-devel if libQt6Qml6)
|
2021-01-17 09:39:30 +01:00
|
|
|
Requires: (qt6-declarative-tools if libQt6Qml6)
|
2021-10-05 16:54:17 +02:00
|
|
|
# Version 1.1 is not compatible with qt6-declarative < 6.2
|
|
|
|
Conflicts: qt6-declarative-tools < 6.2.0
|
2021-01-12 19:11:12 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Automatic dependency generator for QML files and modules.
|
|
|
|
If installed, rpm uses this to generate Requires of .qml files
|
|
|
|
and Provides of QML modules.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
cp %{SOURCE0} .
|
|
|
|
cp %{SOURCE5} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/fileattrs/qml.attr
|
|
|
|
install -D -m 755 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/qml.req
|
|
|
|
install -D -m 644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/fileattrs/qmldir.attr
|
|
|
|
install -D -m 755 %{SOURCE4} %{buildroot}%{_rpmconfigdir}/qmldirreqprov.sh
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README
|
|
|
|
%{_rpmconfigdir}/fileattrs/qml.attr
|
|
|
|
%{_rpmconfigdir}/fileattrs/qmldir.attr
|
|
|
|
%{_rpmconfigdir}/qml.req
|
|
|
|
%{_rpmconfigdir}/qmldirreqprov.sh
|
|
|
|
|
|
|
|
%changelog
|