File mingw32-libkeduvocdocument.spec of Package mingw32-libkeduvocdocument

#
# spec file for package libkeduvocdocument
#
# 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/
#


%define _name   libkeduvocdocument
Name:           mingw32-%{_name}
Version:        4.99.90
Release:        0
Summary:        Library for KDE Education Applications
License:        GPL-2.0-or-later
Group:          System/GUI/KDE
Url:            http://edu.kde.org
Source0:        %{_name}-%{version}.tar.xz
BuildRequires:  mingw32-cross-cmake
BuildRequires:  mingw32-cross-gcc-c++
BuildRequires:  mingw32-cross-libqt5-qttools >= 5.6.0
BuildRequires:  mingw32-extra-cmake-modules >= 1.6.0 
BuildRequires:  mingw32-karchive-devel
BuildRequires:  mingw32-kconfig-devel
BuildRequires:  mingw32-kf5-filesystem
BuildRequires:  mingw32-ki18n-devel
BuildRequires:  mingw32-kio-devel
BuildRequires:  mingw32-libqt5-qtbase-devel >= 5.6.0
BuildRequires:  mingw32-libqt5-qttools >= 5.6.0
BuildRequires:  update-desktop-files
BuildRequires:  mingw32-xz
#BuildRequires:  pkgconfig(Qt5Test) >= 5.6.0
#BuildRequires:  pkgconfig(Qt5Widgets) >= 5.6.0
#BuildRequires:  pkgconfig(Qt5Xml) >= 5.6.0
%_mingw32_package_header_debug
BuildArch:      noarch

%description
This package contains the library which is required by the KDE education
applications.


%_mingw32_debug_package

%prep
%setup -q -n %{_name}-%{version}

%build
%_mingw32_cmake_kf5 -d build -- -DKDE4_USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR=ON
%_mingw32_cmake_build

%install
%_mingw32_kf5_makeinstall -C build

%package -n mingw32-libKEduVocDocument5
Summary:        Library for KDE Education Applications
Group:          System/GUI/KDE
Recommends:     mingw32-kdeedu-data

%description -n mingw32-libKEduVocDocument5
This package contains the library which is required by the KDE education
applications.



%files -n mingw32-libKEduVocDocument5
%defattr(-,root,root)
%doc README COPYING*
%{_mingw32_kf5_bindir}/libKEduVocDocument.dll

%package devel
Summary:        Library for KDE Education Applications: Build Environment
Group:          Development/Libraries/KDE
Requires:       mingw32-libKEduVocDocument5 = %{version}

%description devel
This package contains all necessary files and libraries needed to
develop KDE education applications.

%files devel
%defattr(-,root,root)
%doc README COPYING*
%{_mingw32_kf5_prefix}/include/libkeduvocdocument/
%{_mingw32_kf5_libdir}/cmake/libkeduvocdocument/
%{_mingw32_kf5_libdir}/libKEduVocDocument.dll.a

%changelog
openSUSE Build Service is sponsored by