|
|
|
@ -1,21 +1,21 @@
|
|
|
|
|
%global framework bluez-qt
|
|
|
|
|
%global plasma_version 5.3.0
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Summary: A Qt wrapper for Bluez
|
|
|
|
|
Version: 5.11.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 5.12.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/bluez-qt
|
|
|
|
|
URL: https://projects.kde.org/projects/frameworks/bluez-qt
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%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/%{plasma_version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
@ -38,7 +38,10 @@ BluezQt is Qt-based library written handle all Bluetooth functionality.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
|
## libbluedevil 5.2.2 was the last release
|
|
|
|
|
Obsoletes: libbluedevil-devel < 5.2.90
|
|
|
|
|
%endif
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
|
%description devel
|
|
|
|
@ -73,14 +76,17 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%{_udevrulesdir}/61-kde-bluetooth-rfkill.rules
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_kf5_includedir}/BluezQt
|
|
|
|
|
%{_kf5_includedir}/BluezQt/
|
|
|
|
|
%{_kf5_includedir}/bluezqt_version.h
|
|
|
|
|
%{_kf5_libdir}/libKF5BluezQt.so
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5BluezQt
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5BluezQt/
|
|
|
|
|
%{_qt5_archdatadir}/mkspecs/modules/qt_BluezQt.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
|
|
|
|
|
- 5.12.0, -devel Obsoletes too (f22+), update URLs
|
|
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-2
|
|
|
|
|
- Only obsolete libbluedevil on F>=22
|
|
|
|
|
|
|
|
|
|