349 lines
11 KiB
RPMSpec
349 lines
11 KiB
RPMSpec
|
|
%define _disable_source_fetch 0
|
||
|
|
%define debug_package %{nil}
|
||
|
|
|
||
|
|
# Manuel definition af KDE-stier for at sikre, at SRPM-buildet virker på Copr
|
||
|
|
%global stable_kf6 stable
|
||
|
|
%global majmin_ver_kf6 6.24
|
||
|
|
%global framework kuserfeedback
|
||
|
|
|
||
|
|
Name: kf6-%{framework}
|
||
|
|
Summary: Framework for collecting user feedback for apps via telemetry and surveys
|
||
|
|
Version: 6.24.0
|
||
|
|
Release: 1%{?dist}
|
||
|
|
|
||
|
|
License: MIT AND CC0-1.0 AND BSD-3-Clause
|
||
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
||
|
|
Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz
|
||
|
|
Source1: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz.sig
|
||
|
|
|
||
|
|
## upstream patches
|
||
|
|
|
||
|
|
BuildRequires: cmake
|
||
|
|
BuildRequires: gnupg2
|
||
|
|
BuildRequires: gcc-c++
|
||
|
|
|
||
|
|
BuildRequires: kf6-rpm-macros
|
||
|
|
BuildRequires: libappstream-glib
|
||
|
|
BuildRequires: desktop-file-utils
|
||
|
|
BuildRequires: extra-cmake-modules
|
||
|
|
|
||
|
|
BuildRequires: cmake(Qt6Qml)
|
||
|
|
BuildRequires: cmake(Qt6Svg)
|
||
|
|
BuildRequires: cmake(Qt6Core)
|
||
|
|
BuildRequires: cmake(Qt6Test)
|
||
|
|
BuildRequires: cmake(Qt6Charts)
|
||
|
|
BuildRequires: cmake(Qt6Network)
|
||
|
|
BuildRequires: cmake(Qt6Widgets)
|
||
|
|
BuildRequires: cmake(Qt6PrintSupport)
|
||
|
|
BuildRequires: cmake(Qt6LinguistTools)
|
||
|
|
|
||
|
|
|
||
|
|
BuildRequires: qt6-qtdeclarative-devel
|
||
|
|
|
||
|
|
BuildRequires: bison
|
||
|
|
BuildRequires: flex
|
||
|
|
|
||
|
|
%description
|
||
|
|
%{summary}.
|
||
|
|
|
||
|
|
%package console
|
||
|
|
Summary: Analytics and administration tool for UserFeedback servers
|
||
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
Requires: qt6-qtcharts%{?_isa}
|
||
|
|
# Obsolete the qt5 version
|
||
|
|
Obsoletes: kuserfeedback-console < %{version}-%{release}
|
||
|
|
Provides: kuserfeedback-console = %{version}-%{release}
|
||
|
|
Provides: kuserfeedback-console%{?_isa} = %{version}-%{release}
|
||
|
|
|
||
|
|
%description console
|
||
|
|
Analytics and administration tool for UserFeedback servers.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Development files for %{name}
|
||
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
Requires: cmake(Qt6Network)
|
||
|
|
Requires: cmake(Qt6Widgets)
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
The %{name}-devel package contains libraries and header files for
|
||
|
|
developing applications that use %{name}.
|
||
|
|
|
||
|
|
%package doc
|
||
|
|
Summary: Developer Documentation files for %{name}
|
||
|
|
BuildArch: noarch
|
||
|
|
%description doc
|
||
|
|
Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||
|
|
|
||
|
|
%package html
|
||
|
|
Summary: Developer Documentation files for %{name}
|
||
|
|
BuildArch: noarch
|
||
|
|
%description html
|
||
|
|
Developer Documentation files for %{name} in HTML format
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n %{framework}-%{version}
|
||
|
|
|
||
|
|
|
||
|
|
%build
|
||
|
|
%cmake_kf6 \
|
||
|
|
-DENABLE_DOCS:BOOL=OFF \
|
||
|
|
-DENABLE_CONSOLE=ON
|
||
|
|
|
||
|
|
%cmake_build_kf6
|
||
|
|
|
||
|
|
%install
|
||
|
|
%cmake_install_kf6
|
||
|
|
|
||
|
|
%find_lang userfeedbackconsole6 --with-qt
|
||
|
|
%find_lang userfeedbackprovider6 --with-qt
|
||
|
|
|
||
|
|
|
||
|
|
%check
|
||
|
|
appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/org.kde.kuserfeedback-console.appdata.xml
|
||
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kuserfeedback-console.desktop
|
||
|
|
|
||
|
|
|
||
|
|
%files -f userfeedbackprovider6.lang
|
||
|
|
%doc README.md
|
||
|
|
%license LICENSES/*
|
||
|
|
%{_bindir}/userfeedbackctl
|
||
|
|
%{_libdir}/libKF6UserFeedbackCore.so.*
|
||
|
|
%{_libdir}/libKF6UserFeedbackWidgets.so.*
|
||
|
|
%{_kf6_qmldir}/org/kde/userfeedback/
|
||
|
|
%{_kf6_datadir}/qlogging-categories6/org_kde_UserFeedback.categories
|
||
|
|
|
||
|
|
%files console -f userfeedbackconsole6.lang
|
||
|
|
%{_bindir}/UserFeedbackConsole
|
||
|
|
%{_datadir}/applications/org.kde.kuserfeedback-console.desktop
|
||
|
|
%{_kf6_metainfodir}/org.kde.kuserfeedback-console.appdata.xml
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%{_kf6_includedir}/KUserFeedback/
|
||
|
|
%{_kf6_includedir}/KUserFeedbackCore/
|
||
|
|
%{_kf6_includedir}/KUserFeedbackWidgets/
|
||
|
|
%{_libdir}/libKF6UserFeedbackCore.so
|
||
|
|
%{_libdir}/libKF6UserFeedbackWidgets.so
|
||
|
|
%{_kf6_libdir}/cmake/KF6UserFeedback/
|
||
|
|
%{_kf6_archdatadir}/mkspecs/modules/qt_KF6UserFeedback*.pri
|
||
|
|
%{_qt6_docdir}/*/*.tags
|
||
|
|
%{_qt6_docdir}/*/*.index
|
||
|
|
|
||
|
|
%files doc
|
||
|
|
%{_qt6_docdir}/*.qch
|
||
|
|
|
||
|
|
%files html
|
||
|
|
%{_qt6_docdir}/*/*
|
||
|
|
%exclude %{_qt6_docdir}/*/*.tags
|
||
|
|
%exclude %{_qt6_docdir}/*/*.index
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Mar 10 2026 Steve Cossette <farchord@gmail.com> - 6.24.0-1
|
||
|
|
- 6.24.0
|
||
|
|
|
||
|
|
* Thu Feb 12 2026 Steve Cossette <farchord@gmail.com> - 6.23.0-1
|
||
|
|
- 6.23.0
|
||
|
|
|
||
|
|
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.22.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||
|
|
|
||
|
|
* Fri Jan 02 2026 farchord@gmail.com - 6.22.0-1
|
||
|
|
- 6.22.0
|
||
|
|
|
||
|
|
* Fri Dec 05 2025 Steve Cossette <farchord@gmail.com> - 6.21.0-1
|
||
|
|
- 6.21.0
|
||
|
|
|
||
|
|
* Thu Nov 13 2025 Steve Cossette <farchord@gmail.com> - 6.20.0-1
|
||
|
|
- 6.20.0
|
||
|
|
|
||
|
|
* Wed Oct 29 2025 Steve Cossette <farchord@gmail.com> - 6.19.0-2
|
||
|
|
- Bump for Plasma/Qt6.10 rebuild
|
||
|
|
|
||
|
|
* Sun Oct 05 2025 Steve Cossette <farchord@gmail.com> - 6.19.0-1
|
||
|
|
- 6.19.0
|
||
|
|
|
||
|
|
* Thu Oct 02 2025 Jan Grulich <jgrulich@redhat.com> - 6.18.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Tue Sep 16 2025 farchord@gmail.com - 6.18.0-1
|
||
|
|
- 6.18.0
|
||
|
|
|
||
|
|
* Fri Aug 01 2025 Steve Cossette <farchord@gmail.com> - 6.17.0-1
|
||
|
|
- 6.17.0
|
||
|
|
|
||
|
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.16.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||
|
|
|
||
|
|
* Sat Jul 05 2025 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.16.0-1
|
||
|
|
- 6.16.0
|
||
|
|
|
||
|
|
* Tue Jun 17 2025 Marie Loise Nolden <loise@kde.org> - 6.15.0-2
|
||
|
|
- 6.15 and plasma 3.4 compatibility rebuild
|
||
|
|
|
||
|
|
* Sat Jun 07 2025 Steve Cossette <farchord@gmail.com> - 6.15.0-1
|
||
|
|
- 6.15.0
|
||
|
|
|
||
|
|
* Sat May 03 2025 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.14.0-1
|
||
|
|
- 6.14.0
|
||
|
|
|
||
|
|
* Mon Apr 14 2025 Jan Grulich <jgrulich@redhat.com> - 6.13.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Sun Apr 06 2025 Steve Cossette <farchord@gmail.com> - 6.13.0-1
|
||
|
|
- 6.13.0
|
||
|
|
|
||
|
|
* Tue Mar 25 2025 Jan Grulich <jgrulich@redhat.com> - 6.12.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Fri Mar 07 2025 Steve Cossette <farchord@gmail.com> - 6.12.0-1
|
||
|
|
- 6.12.0
|
||
|
|
|
||
|
|
* Fri Feb 07 2025 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.11.0-1
|
||
|
|
- 6.11.0
|
||
|
|
|
||
|
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.10.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||
|
|
|
||
|
|
* Fri Jan 03 2025 Steve Cossette <farchord@gmail.com> - 6.10.0-1
|
||
|
|
- 6.10.0
|
||
|
|
|
||
|
|
* Sat Dec 14 2024 Steve Cossette <farchord@gmail.com> - 6.9.0-1
|
||
|
|
- 6.9.0
|
||
|
|
|
||
|
|
* Sat Nov 02 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.8.0-1
|
||
|
|
- 6.8.0
|
||
|
|
|
||
|
|
* Mon Oct 14 2024 Jan Grulich <jgrulich@redhat.com> - 6.7.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Fri Oct 04 2024 Steve Cossette <farchord@gmail.com> - 6.7.0-1
|
||
|
|
- 6.7.0
|
||
|
|
|
||
|
|
* Mon Sep 16 2024 Steve Cossette <farchord@gmail.com> - 6.6.0-1
|
||
|
|
- 6.6.0
|
||
|
|
|
||
|
|
* Sat Aug 10 2024 Steve Cossette <farchord@gmail.com> - 6.5.0-1
|
||
|
|
- 6.5.0
|
||
|
|
|
||
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
|
||
|
|
* Sat Jul 06 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.4.0-1
|
||
|
|
- 6.4.0
|
||
|
|
|
||
|
|
* Sat Jun 01 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.3.0-1
|
||
|
|
- 6.3.0
|
||
|
|
|
||
|
|
* Sat May 04 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.2.0-1
|
||
|
|
- 6.2.0
|
||
|
|
|
||
|
|
* Wed Apr 10 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.1.0-1
|
||
|
|
- 6.1.0
|
||
|
|
|
||
|
|
* Thu Apr 04 2024 Jan Grulich <jgrulich@redhat.com> - 6.0.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Wed Feb 21 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.0.0-1
|
||
|
|
- 6.0.0
|
||
|
|
|
||
|
|
* Fri Feb 16 2024 Jan Grulich <jgrulich@redhat.com> - 5.249.0-2
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Wed Jan 31 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.249.0-1
|
||
|
|
- 5.249.0
|
||
|
|
|
||
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.248.0-3
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
|
||
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.248.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
|
||
|
|
* Wed Jan 10 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.248.0-1
|
||
|
|
- 5.248.0
|
||
|
|
|
||
|
|
* Wed Dec 20 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.247.0-1
|
||
|
|
- 5.247.0
|
||
|
|
|
||
|
|
* Sat Dec 02 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.246.0-1
|
||
|
|
- 5.246.0
|
||
|
|
|
||
|
|
* Wed Nov 29 2023 Jan Grulich <jgrulich@redhat.com> - 5.245.0-4
|
||
|
|
- Rebuild (qt6)
|
||
|
|
|
||
|
|
* Sun Nov 19 2023 Justin Zobel <justin.zobel@gmail.com> - 5.245.0-3
|
||
|
|
- Rebuild
|
||
|
|
|
||
|
|
* Sun Nov 12 2023 Alessandro Astone <ales.astone@gmail.com> - 5.245.0-1
|
||
|
|
- 5.245.0
|
||
|
|
- This is now part of KF6
|
||
|
|
|
||
|
|
* Thu Nov 02 2023 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.3.0-1
|
||
|
|
- version 1.3.0
|
||
|
|
|
||
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
|
||
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
|
||
|
|
* Fri Sep 23 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.0-7
|
||
|
|
- Bring back dependency on qt5-qtcharts
|
||
|
|
|
||
|
|
* Fri Sep 23 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.0-6
|
||
|
|
- Drop hardcoded Qt version requirement
|
||
|
|
|
||
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
|
||
|
|
* Thu Jul 14 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.0-4
|
||
|
|
- Rebuild (qt5)
|
||
|
|
|
||
|
|
* Tue May 17 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.0-3
|
||
|
|
- Rebuild (qt5)
|
||
|
|
|
||
|
|
* Tue Mar 08 2022 Jan Grulich <jgrulich@redhat.com> - 1.2.0-2
|
||
|
|
- Rebuild (qt5)
|
||
|
|
|
||
|
|
* Fri Feb 04 2022 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.2.0-1
|
||
|
|
- update to 1.2.0
|
||
|
|
|
||
|
|
* Fri Feb 04 2022 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-11
|
||
|
|
- -console: uses qt5-qtcharts private api
|
||
|
|
- -devel: use cmake-style deps instead of hard-coding qt5-qtbase
|
||
|
|
|
||
|
|
* Thu Feb 03 2022 Rex Dieter <rdieter@fedoraproject.org> - 1.0.0-10
|
||
|
|
- backport crash fix recommended by upstream
|
||
|
|
- cleanup macros
|
||
|
|
- simplify %%files
|
||
|
|
- BR: bison flex (enables Survey targeting expressions support)
|
||
|
|
- drop BR: qt5-qtbase-private-devel (no private api use detected)
|
||
|
|
- drop non-autodetected runtime deps
|
||
|
|
|
||
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
|
||
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
|
||
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
|
||
|
|
* Tue Jan 12 21:50:41 MSK 2021 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.0.0-6
|
||
|
|
- track Qt private api usage
|
||
|
|
|
||
|
|
* Tue Nov 24 13:19:14 MSK 2020 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.0.0-5
|
||
|
|
- rebuild due to new Qt version
|
||
|
|
|
||
|
|
* Sun Sep 20 2020 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.0.0-4
|
||
|
|
- one more rebuild
|
||
|
|
|
||
|
|
* Sat Sep 19 2020 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.0.0-3
|
||
|
|
- rebuild
|
||
|
|
|
||
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
||
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
|
||
|
|
* Sat Jun 06 2020 Yaroslav Sidlovsky <zawertun@gmail.com> - 1.0.0-1
|
||
|
|
- first spec for version 1.0.0
|
||
|
|
|