File mingw32-qtkeychain.spec of Package mingw32-qtkeychain
#
# spec file for package mingw32-qtkeychain
#
# 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 qtkeychain
Name: mingw32-%{_basename}
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: %{_basename}-%{version}.tar.gz
Patch0: no_create_translations.diff
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-libqt4-devel
BuildRequires: mingw32-libqt4-filesystem
%_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++
%description devel
This is qtkeychain. It provides a crypted password storage on the main
desktop platforms Linux, Windows and MacOSX.
%_mingw32_debug_package
%prep
%autosetup -p1 -n %{_basename}-%{version}
%build
rm -rf CMakeCache.txt
%{_mingw32_cmake_qt4} \
-DCMAKE_INSTALL_BINDIR:PATH=%{_mingw32_bindir} \
%{_mingw32_cmake_build}
%install
%{_mingw32_cmake_install}
%files
%defattr(-,root,root,-)
%{_mingw32_bindir}/libqtkeychain.dll
%{_mingw32_bindir}/../share/qt4/translations/qtkeychain_*.qm
%files devel
%defattr(-,root,root,-)
%{_mingw32_libdir}/libqtkeychain.dll.a
%{_mingw32_libdir}/cmake/QtKeychain
%{_mingw32_includedir}/qtkeychain/
%changelog