diff --git a/README.md b/README.md deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/bluedevil-5.24.6.tar.xz b/bluedevil-5.24.6.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..78b61bd6234128671509f456939465ff66b22ed3 Binary files /dev/null and b/bluedevil-5.24.6.tar.xz differ diff --git a/bluedevil.spec b/bluedevil.spec new file mode 100644 index 0000000000000000000000000000000000000000..c8d4b51b9f78e4bbe1a219cc65b8b981b82495ce --- /dev/null +++ b/bluedevil.spec @@ -0,0 +1,103 @@ +%define anolis_release 1 + +Name: bluedevil +Summary: Bluetooth stack for KDE +Version: 5.24.6 +Release: %{anolis_release}%{?dist} + +License: GPLv2+ +URL: https://cgit.kde.org/%{name}.git + +%global revision 6 +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz +#Source1: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz.sig + +BuildRequires: extra-cmake-modules +BuildRequires: kf5-rpm-macros >= 5.25.0-2 +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel + +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-kwidgetsaddons-devel +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-knotifications-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kdeclarative-devel +BuildRequires: kf5-plasma-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kio-devel +# 5.11 is when kf5-bluez-qt became Framework and changed API +BuildRequires: kf5-bluez-qt-devel >= 5.11 +BuildRequires: kf5-kded-devel +BuildRequires: kf5-kwindowsystem-devel + +BuildRequires: shared-mime-info + +BuildRequires: desktop-file-utils + +Provides: dbus-bluez-pin-helper + +Obsoletes: kbluetooth < 0.4.2-3 +Obsoletes: bluedevil-devel < 2.0.0-0.10 + +Requires: bluez >= 5 +Requires: kf5-kded +Requires: pulseaudio-module-bluetooth + +# When -autostart was removed +Obsoletes: bluedevil-autostart < 5.2.95 + +%description +BlueDevil is the bluetooth stack for KDE. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +%{cmake_kf5} + +%cmake_build + +%install +%cmake_install + +%find_lang %{name} --all-name --with-html + + +%check +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.bluedevilsendfile.desktop +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.bluedevilwizard.desktop + + +%files -f %{name}.lang +%doc README +%{_kf5_bindir}/bluedevil-sendfile +%{_kf5_bindir}/bluedevil-wizard +%{_kf5_datadir}/kpackage/kcms/kcm_bluetooth/contents/ui/*.qml +%{_kf5_qtplugindir}/kf5/kio/ +%{_kf5_qtplugindir}/plasma/kcms/systemsettings/kcm_bluetooth.so +%{_kf5_plugindir}/kded/*.so +%{_kf5_datadir}/remoteview/bluetooth-network.desktop +%{_kf5_datadir}/kservices5/*.desktop +%{_kf5_datadir}/knotifications5/bluedevil.notifyrc +%{_kf5_datadir}/applications/kcm_bluetooth.desktop +%{_kf5_datadir}/applications/org.kde.bluedevilsendfile.desktop +%{_kf5_datadir}/applications/org.kde.bluedevilwizard.desktop +%{_kf5_datadir}/bluedevilwizard/ +%{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.bluetooth +%{_kf5_qmldir}/org/kde/plasma/private/bluetooth/ +%{_kf5_metainfodir}/org.kde.plasma.bluetooth.appdata.xml +%{_datadir}/mime/packages/*.xml +%{_kf5_datadir}/qlogging-categories5/bluedevil.categories + + +%changelog +* Fri Jul 18 2025 NewStart - 5.24.6-1 +- Add bluedevil v5.24.6