5.3.0, %build: explicitly set -DUDEV_RULES_INSTALL_DIR=%_udevrulesdir

epel9
Rex Dieter 10 years ago
parent d793ab1fa3
commit f54f750dac

2
.gitignore vendored

@ -1 +1 @@
/bluez-qt-5.2.95.tar.xz
/bluez-qt-5.3.0.tar.xz

@ -1,8 +0,0 @@
# Get access to /dev/rfkill for users
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
#
# Simplified by Kay Sievers
# https://bugzilla.redhat.com/show_bug.cgi?id=733326
KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"

@ -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

@ -1 +1 @@
1a103003b00381764bb8785f92ea0a65 bluez-qt-5.2.95.tar.xz
e5ece42a1c25b10e751e7334c8420de0 bluez-qt-5.3.0.tar.xz

Loading…
Cancel
Save