File mingw32-qtsparkle.spec of Package mingw32-qtsparkle
#
# spec file for package mingw32-qtsparkle
#
# 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 _basename qtsparkle
Name: mingw32-%{_basename}
Version: 1611440982.fde631f
Release: 0
#!BuildIgnore: post-build-checks
Summary: Qt auto-updater lib
License: MIT
Group: Development/Libraries/C and C++
Url: https://github.com/davidsansome/qtsparkle
Source0: %{_basename}-%{version}.tar.bz2
BuildRequires: mingw32-cross-cmake
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-libqt4-devel
BuildRequires: mingw32-libqt4-filesystem
%_mingw32_package_header_debug
BuildArch: noarch
%description
Qt Sparkle auto-updater lib
%package devel
Summary: Qt auto-updater lib
Group: Development/Libraries/C and C++
%description devel
Qt Sparkle auto-updater lib
%_mingw32_debug_package
%prep
%setup -q -n qtsparkle-%{version}
%build
rm -rf CMakeCache.txt
%{_mingw32_cmake_qt4} -DBUILD_WITH_QT4=1
%{_mingw32_cmake_build}
%install
%{_mingw32_cmake_install}
%files
%defattr(-,root,root,-)
%{_mingw32_bindir}/libqtsparkle.dll
%files devel
%defattr(-,root,root,-)
%{_mingw32_libdir}/libqtsparkle.dll.a
%{_mingw32_includedir}/qtsparkle/
%{_mingw32_includedir}/qtsparkle/Updater
%changelog