|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
%global framework bluez-qt
|
|
|
|
|
%global plasma_version 5.2.95
|
|
|
|
|
%global plasma_version 5.3.0
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Summary: A Qt wrapper for Bluez
|
|
|
|
|
Version: 5.2.95
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 5.3.0
|
|
|
|
|
Release: 0.1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/bluez-qt
|
|
|
|
@ -17,8 +17,6 @@ URL: https://projects.kde.org/projects/kde/workspace/bluez-qt
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{plasma_version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Source1: 61-kde-bluetooth-rfkill.rules
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
@ -52,7 +50,8 @@ Development files for %{name}.
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
|
-DUDEV_RULES_INSTALL_DIR:PATH="%{_udevrulesdir}"
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
@ -61,9 +60,6 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
# Install udev rules
|
|
|
|
|
install -D %{SOURCE1} %{buildroot}/%{_udevrulesdir}/61-kde-bluetooth-rfkill.rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
@ -71,7 +67,7 @@ install -D %{SOURCE1} %{buildroot}/%{_udevrulesdir}/61-kde-bluetooth-rfkill.rule
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
|
%{_libdir}/libKF5BluezQt.so.*
|
|
|
|
|
%{_kf5_qmldir}/org/kde/bluezqt
|
|
|
|
|
%{_kf5_qmldir}/org/kde/bluezqt/
|
|
|
|
|
%{_udevrulesdir}/61-kde-bluetooth-rfkill.rules
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
@ -81,7 +77,11 @@ install -D %{SOURCE1} %{buildroot}/%{_udevrulesdir}/61-kde-bluetooth-rfkill.rule
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5BluezQt
|
|
|
|
|
%{_qt5_archdatadir}/mkspecs/modules/qt_BluezQt.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Apr 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.3.0-1
|
|
|
|
|
- 5.3.0, %%build: explicitly set -DUDEV_RULES_INSTALL_DIR=%%_udevrulesdir
|
|
|
|
|
|
|
|
|
|
* Sat Apr 25 2015 Rex Dieter <rdieter@fedoraproject.org> 5.2.95-3
|
|
|
|
|
- Fix libbluedevil Obsoletes (including -devel), .spec cosmetics
|
|
|
|
|
|
|
|
|
|