SHA256
1
0
forked from pool/bluez-qt
Hrvoje Senjan 2015-04-10 01:07:11 +00:00 committed by Git OBS Bridge
commit a01d8be309
5 changed files with 134 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
bluez-qt-5.2.95.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b754dd3b4b6454aee739566063fd9170d461292903cd57c643f356f80436c1d
size 62128

5
bluez-qt.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Apr 10 01:04:03 UTC 2015 - hrvoje.senjan@gmail.com
- Initial package

102
bluez-qt.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package bluez-qt
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define sonum 5
%define rname bluez-qt
%define _libname KF5BluezQt
Name: bluez-qt
Version: 5.2.95
Release: 0
Summary: Async Bluez wrapper library
License: LGPL-2.1+
Group: System/GUI/KDE
Url: https://projects.kde.org/attica
Source: %{rname}-%{version}.tar.xz
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig(Qt5Core) >= 5.4.0
BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0
BuildRequires: pkgconfig(Qt5Network) >= 5.4.0
BuildRequires: pkgconfig(Qt5Qml) >= 5.4.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Async Bluez wrapper library.
%package -n lib%{_libname}%{sonum}
Summary: Async Bluez wrapper library - development files
Group: System/GUI/KDE
%description -n lib%{_libname}%{sonum}
Async Bluez wrapper library.
%package imports
Summary: Async Bluez wrapper library
Group: System/GUI/KDE
Supplements: packageand(lib%{_libname}%{sonum}:libQtQuick5)
%requires_ge libQtQuick5
%description imports
Async Bluez wrapper library.
QML imports.
%package devel
Summary: Async Bluez wrapper library - development files
Group: Development/Libraries/C and C++
Requires: lib%{_libname}%{sonum} = %{version}
Requires: pkgconfig(Qt5Core) >= 5.4.0
%description devel
Development files for QBluez Async Bluez wrapper library.
%prep
%setup -q -n %{rname}-%{version}
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
%post -n lib%{_libname}%{sonum} -p /sbin/ldconfig
%postun -n lib%{_libname}%{sonum} -p /sbin/ldconfig
%files -n lib%{_libname}%{sonum}
%defattr(-,root,root)
%doc README* COPYING.LIB
%{_libqt5_libdir}/lib%{_libname}*.so.*
%files imports
%defattr(-,root,root)
%doc README* COPYING.LIB
%{_kf5_qmldir}/
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/cmake/%{_libname}/
%{_kf5_libdir}/lib%{_libname}*.so
%{_kf5_includedir}/
%{_kf5_mkspecsdir}/qt_BluezQt.pri
%changelog