diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:36:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:36:13 +0000 |
commit | 5e1c55d5060686be65953434a80b6389aedfcd23 (patch) | |
tree | 29a6dbb81e6dbc81b66e014752904f19bc43d416 | |
parent | 8adcdbb92727e21d60fd892af631c1a06cd9b92d (diff) |
automatic import of bluedevilopeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bluedevil.spec | 103 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 105 insertions, 0 deletions
@@ -0,0 +1 @@ +/bluedevil-5.25.5.tar.xz diff --git a/bluedevil.spec b/bluedevil.spec new file mode 100644 index 0000000..40fb6f4 --- /dev/null +++ b/bluedevil.spec @@ -0,0 +1,103 @@ +Name: bluedevil +Summary: Bluetooth stack for KDE +Version: 5.25.5 +Release: 1 + +License: GPLv2+ +URL: https://cgit.kde.org/%{name}.git + +%global revision %(echo %{version} | cut -d. -f3) + +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif + +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz + +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 + +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 + +Obsoletes: bluedevil-autostart < 5.2.95 + +%description +BlueDevil is the bluetooth stack for KDE. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd +%make_build -C %{_target_platform} + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%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 +* Tue Dec 20 2022 misaka00251 <liuxin@iscas.ac.cn> - 5.25.5-1 +- Init package @@ -0,0 +1 @@ +9647361921420e872b29f2a25d99020e bluedevil-5.25.5.tar.xz |