File mingw64-libkeduvocdocument.spec of Package mingw64-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: mingw64-%{_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: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-libqt5-qttools >= 5.6.0
BuildRequires: mingw64-extra-cmake-modules >= 1.6.0
BuildRequires: mingw64-karchive-devel
BuildRequires: mingw64-kconfig-devel
BuildRequires: mingw64-kf5-filesystem
BuildRequires: mingw64-ki18n-devel
BuildRequires: mingw64-kio-devel
BuildRequires: mingw64-libqt5-qtbase-devel >= 5.6.0
BuildRequires: mingw64-libqt5-qttools >= 5.6.0
BuildRequires: update-desktop-files
BuildRequires: mingw64-xz
#BuildRequires: pkgconfig(Qt5Test) >= 5.6.0
#BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0
#BuildRequires: pkgconfig(Qt5Xml) >= 5.6.0
%_mingw64_package_header_debug
BuildArch: noarch
%description
This package contains the library which is required by the KDE education
applications.
%_mingw64_debug_package
%prep
%setup -q -n %{_name}-%{version}
%build
%_mingw64_cmake_kf5 -d build -- -DKDE4_USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR=ON
%_mingw64_cmake_build
%install
%_mingw64_kf5_makeinstall -C build
%package -n mingw64-libKEduVocDocument5
Summary: Library for KDE Education Applications
Group: System/GUI/KDE
Recommends: mingw64-kdeedu-data
%description -n mingw64-libKEduVocDocument5
This package contains the library which is required by the KDE education
applications.
%files -n mingw64-libKEduVocDocument5
%defattr(-,root,root)
%doc README COPYING*
%{_mingw64_kf5_bindir}/libKEduVocDocument.dll
%package devel
Summary: Library for KDE Education Applications: Build Environment
Group: Development/Libraries/KDE
Requires: mingw64-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*
%{_mingw64_kf5_prefix}/include/libkeduvocdocument/
%{_mingw64_kf5_libdir}/cmake/libkeduvocdocument/
%{_mingw64_kf5_libdir}/libKEduVocDocument.dll.a
%changelog