LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File dee-qt5.spec of Package dee-qt5 (Project home:MargueriteSu:unity)

#
# spec file for package dee-qt5
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#

Name:           dee-qt5
Version:	0.3.0+14.10.20140829
Release:	0
License:	GPL-3.0
Summary:	Qt bindings for libdee
Url:	https://launchpad.net/dee-qt
Group:	System/Libraries
Source:	dee-qt-%{version}.tar.gz
Patch:	dee-qt5-libdir.patch
BuildRequires:	cmake
BuildRequires:	libQt5Core-devel
BuildRequires:	libQt5DBus-devel
BuildRequires:	dee-devel
BuildRequires:	libqt5-qtdeclarative-devel
BuildRequires:	libQt5Test-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This project provides a set of Qt bindings for libdee, library 
developed by the Canonical Desktop Experience team.

%package -n libdee-qt5-3
Summary:	Qt bindings for libdee	
Group:	System/Libraries

%description -n libdee-qt5-3
This project provides a set of Qt bindings for libdee, library
developed by the Canonical Desktop Experience team.

%package devel
Summary:	Development headers for dee-qt5
Group:	Development/Libraries/C and C++
Requires:	libdee-qt5-3 = %{version}

%description devel
This project provides a set of Qt bindings for libdee, library
developed by the Canonical Desktop Experience team.

This package provides development headers for dee-qt5.

%prep
%setup -q -n dee-qt-%{version}
%patch -p1

%build
%cmake -DWITHQT5=ON 
make %{?_smp_mflags}

%install
%cmake_install

%post -n libdee-qt5-3 -p /sbin/ldconfig

%postun -n libdee-qt5-3 -p /sbin/ldconfig

%files -n libdee-qt5-3
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libdee-qt5.so.3
%{_libdir}/libdee-qt5.so.3.0.0
%{_libdir}/qt5/qml/Dee.3/

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


%changelog