File appmenu-qt.spec of Package appmenu-qt4

#
# spec file for package appmenu-qt
#
# Copyright (c) 2017 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 _version 0.2.7+14.04.20140305
Name:           appmenu-qt
Version:        0.2.7+bzr20140305
Release:        0
Summary:        Application Menu for Qt4
License:        LGPL-3.0
Group:          System/GUI/KDE
Url:            https://launchpad.net/appmenu-qt
Source:         https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz
Source1:        baselibs.conf
BuildRequires:  cmake >= 2.8.0
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(QtCore) > 4.8.2
BuildRequires:  pkgconfig(QtDBus) > 4.8.2
BuildRequires:  pkgconfig(QtGui) > 4.8.2
BuildRequires:  pkgconfig(dbusmenu-qt) >= 0.9.0
Requires:       dbus-1

%description
This projects adds support for application menu to Qt4.

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

%build
%cmake \
  -DUSE_QT4=ON  \
  -DUSE_QT5=OFF
make %{?_smp_mflags} V=1

%install
%cmake_install

%files
%defattr(-,root,root)
%doc COPYING* LGPL_EXCEPTION.txt NEWS README
%dir %{_libqt4_pluginsdir}/
%dir %{_libqt4_pluginsdir}/menubar/
%{_libqt4_pluginsdir}/menubar/libappmenu-qt.so

%changelog
openSUSE Build Service is sponsored by