File mingw32-kdewin-tools.spec of Package mingw32-kdewin-tools
#
# spec file for package mingw32-kdewin-tools
#
# Copyright (c) 2014 Ralf Habacker
#
# 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: mingw32-kdewin-tools
Version: 0.6.0
Release: 0
Source0: kdewin-tools-%{version}.tar.xz
BuildRequires: automoc4
BuildRequires: mingw32-cross-cmake
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-cross-libqt4-qmake
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libpng-devel
BuildRequires: mingw32-libqt4-filesystem
BuildRequires: mingw32-libqt4-devel
BuildRequires: mingw32-zlib-devel
BuildRequires: xz
%_mingw32_package_header_debug
Url: https://phabricator.kde.org/source/kdewin-tools/
BuildArch: noarch
Summary: KDE on Windows support tools
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
%description
KDE on Windows Tooling provides supplementary tools which are required for compiling KDE applications on Windows.
%package devel
Summary: KDE on Windows support tools
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
KDE on Windows Tooling provides supplementary tools which are required for compiling KDE applications on Windows.
%_mingw32_debug_package
%prep
%setup -q -n kdewin-tools-%{version}
%build
%_mingw32_cmake_qt4
%_mingw32_cmake_build
%install
%_mingw32_cmake_install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_mingw32_bindir}/create_hash_table.exe
%{_mingw32_bindir}/png2ico.exe
%{_mingw32_bindir}/setuac.exe
%{_mingw32_bindir}/mt.exe
%{_mingw32_bindir}/svg2ico.exe
%{_mingw32_bindir}/svg2multipng.exe
%dir %{_mingw32_prefix}/share/doc/kdewin-tools-*
%{_mingw32_prefix}/share/doc/kdewin-tools-*/readme.txt
%files devel
%dir %{_mingw32_libdir}/cmake
%dir %{_mingw32_libdir}/cmake/KDEWinTools
%{_mingw32_libdir}/cmake/KDEWinTools/KDEWinToolsTargets.cmake
%{_mingw32_libdir}/cmake/KDEWinTools/KDEWinToolsConfig.cmake
%{_mingw32_libdir}/cmake/KDEWinTools/KDEWinToolsConfigVersion.cmake
%{_mingw32_libdir}/cmake/KDEWinTools/KDEWinToolsTargets-relwithdebinfo.cmake
%changelog