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