File mingw32-perfectspot.spec of Package mingw32-perfectspot
#
# spec file for package mingw32-perfectspot
#
# 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: mingw32-perfectspot
Version: 0.2.0
Release: 0
Summary: WordPerfect Graphics Viewer
License: GPL-2.0-or-later
Group: Productivity/Graphics/Viewers
Url: http://libwpg.sourceforge.net
Source: perfectspot-%{version}.tar.xz
Patch0: perfectspot-0.2.0-desktop.patch
Patch1: perfectspot-0.2.0-pdf.patch
BuildRequires: mingw32-cross-cmake
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libodfgen-devel >= 0.1.0
BuildRequires: mingw32-libqt4-devel
BuildRequires: mingw32-libqt4-filesystem
BuildRequires: mingw32-librevenge-devel >= 0.0.0
BuildRequires: mingw32-libwpg-devel >= 0.3.0
BuildRequires: xz
%_mingw32_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
A tool to view WordPerfect Graphics (WPG) pictures
%_mingw32_debug_package
%prep
%setup -q -n perfectspot-%{version}
%patch -P 0 -p1
%patch -P 1 -p1
rm -rf CMakeCache.txt
%build
%{_mingw32_cmake_qt4}
%{_mingw32_cmake_build}
%install
%{_mingw32_cmake_install}
%files
%defattr(-,root,root)
%{_mingw32_bindir}/perfectspot.exe
%{_mingw32_datadir}/applications/perfectspot.desktop
%{_mingw32_datadir}/pixmaps/perfectspot.png
%changelog