LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libbluedevil.spec of Package libbluedevil (Project KDE:Distro:Factory)

#
# spec file for package libbluedevil
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
#
# 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/
#


Name:           libbluedevil
Version:        2.0~rc1
Release:        0
%define rversion 2.0-rc1
Summary:        Qt Bluetooth client library
License:        LGPL-2.0+
Group:          System/Libraries
Url:            http://www.kde.org
#Source0:        http://download.kde.org/stable/libbluedevil/%{name}-v%{version}.tar.xz
Source0:        %{name}-%{rversion}.tar.xz
BuildRequires:  cmake
BuildRequires:  kde4-filesystem
BuildRequires:  libqt4-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.

%package devel
Summary:        Qt Wrapper for Bluez
Group:          Development/Libraries/C and C++
Requires:       libbluedevil2 = %{version}

%description devel
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.

%package -n libbluedevil2
Summary:        Qt Wrapper for Bluez
Group:          System/Libraries

%description -n libbluedevil2
Qt wrapper for BlueZ. This wrapper is used by KDE's Bluetooth layer.

%prep
%setup -q -n %{name}-%{rversion}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  %kde4_makeinstall -C build
  %kde_post_install

%post -n libbluedevil2 -p /sbin/ldconfig

%postun -n libbluedevil2 -p /sbin/ldconfig

%files -n libbluedevil2
%defattr(-,root,root,-)
%{_libdir}/libbluedevil.so.2*

%files devel
%defattr(-,root,root,-)
%{_includedir}/bluedevil/
%{_libdir}/libbluedevil.so
%{_libdir}/pkgconfig/bluedevil.pc

%changelog