File mingw32-qt5keychain.spec of Package mingw32-qt5keychain
#
# spec file for package mingw32-qt5keychain
#
# 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 qt5keychain
Name: mingw32-%{_name}
Version: 0.6.2
Release: 0
#!BuildIgnore: post-build-checks
Summary: This is qtkeychain
License: BSD-2-Clause
Group: Development/Libraries/C and C++
Url: http://github.com/frankosterfeld/qtkeychain
Source0: qtkeychain-%{version}.tar.gz
BuildRequires: mingw32-cross-cmake
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-libqt5-qmake
BuildRequires: mingw32-cross-libqt5-qttools
BuildRequires: mingw32-libqt5-qtbase
BuildRequires: mingw32-libqt5-qtbase-devel
BuildRequires: mingw32-libqt5-qmldevtools
BuildRequires: mingw32-libqt5-qmldevtools-devel
BuildRequires: mingw32-libqt5-qttools
BuildRequires: mingw32(cmake:Qt5LinguistTools)
BuildRequires: mingw32-pcre-devel
%_mingw32_package_header_debug
BuildArch: noarch
%description
This is qtkeychain. It provides a crypted password storage on the main
desktop platforms Linux, Windows and MacOSX.
%package devel
Summary: This qtkeychain
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
This is qtkeychain. It provides a crypted password storage on the main
desktop platforms Linux, Windows and MacOSX.
%_mingw32_debug_package
%prep
%setup -q -n qtkeychain-%{version}
%build
%{_mingw32_cmake} \
-DQMAKESPEC=%{_mingw32_target} \
-DQT_MKSPECS_DIR:PATH=%{_mingw32_datadir}/qt4/mkspecs \
-DQT_QT_INCLUDE_DIR=%{_mingw32_includedir} \
-DQT_PLUGINS_DIR=%{_mingw32_libdir}/qt4/plugins \
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-qmake-qt5 \
-DQT_MOC_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-moc \
-DQT_RCC_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-rcc \
-DQT_UIC_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-uic \
-DQT_LUPDATE_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-lupdate \
-DQT_LRELEASE_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-lrelease
%{_mingw32_cmake_build}
%install
%{_mingw32_cmake_install}
%files
%defattr(-,root,root,-)
%{_mingw32_bindir}/libqt5keychain.dll
%{_mingw32_datadir}/qt5/translations/qtkeychain_*.qm
%files devel
%defattr(-,root,root,-)
%{_mingw32_libdir}/libqt5keychain.dll.a
%{_mingw32_libdir}/cmake/Qt5Keychain
%{_mingw32_includedir}/qt5keychain/
%changelog