2020-11-05 08:34:03 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-pyqt-rpm-macros
|
|
|
|
#
|
2021-02-22 12:28:23 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2020-11-05 08:34:03 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-pyqt-rpm-macros
|
2021-02-22 12:28:23 +01:00
|
|
|
Version: 0.1
|
2020-11-05 08:34:03 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: RPM macros for building PyQt packages
|
|
|
|
License: WTFPL
|
2021-02-22 12:28:23 +01:00
|
|
|
URL: https://en.opensuse.org/openSUSE:Packaging_PyQt_and_SIP
|
2020-11-05 08:34:03 +01:00
|
|
|
Source0: macros.pyqt
|
|
|
|
Source1: LICENSE
|
|
|
|
Requires: fdupes
|
|
|
|
Requires: python-rpm-macros
|
2022-09-01 09:03:33 +02:00
|
|
|
Recommends: python3-sip-devel
|
2024-01-04 19:54:56 +01:00
|
|
|
Conflicts: python3-pyqt-rpm-macros
|
|
|
|
Obsoletes: python3-pyqt-rpm-macros
|
2020-11-05 08:34:03 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2021-02-22 12:28:23 +01:00
|
|
|
This package provides some macros for using SIP v[456] to build PyQt[56] packages
|
2020-11-05 08:34:03 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/
|
|
|
|
install -m 644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.pyqt
|
|
|
|
|
|
|
|
%changelog
|