File mingw32-tomahawk-unstable.spec of Package mingw32-tomahawk-unstable
#
# spec file for package mingw32-tomahawk-unstable
#
# 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/
#
# you need a phonon backend too from packman:mingw:32
Name: mingw32-tomahawk-unstable
Version: 0.3.3
Release: 0
#!BuildIgnore: post-build-checks
Summary: A Music Player App, C++/Qt
License: GPL-3.0-only
Group: Development/Libraries/C and C++
Url: http://www.tomahawk-player.org
Source0: tomahawk-%{version}.tar.bz2
BuildRequires: mingw32-cross-cmake
# optional packages for additional features
BuildRequires: kdewin-png2ico
BuildRequires: mingw32-boost-devel
BuildRequires: mingw32-clucene-devel
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-libattica-devel
BuildRequires: mingw32-libechonest-devel
# bug <-- why are they not pulled in by qt anymore? maybe the internal version is built.. foo
BuildRequires: mingw32-libjpeg-devel
BuildRequires: mingw32-libjreen-devel
BuildRequires: mingw32-liblastfm-devel
BuildRequires: mingw32-libpng-devel
BuildRequires: mingw32-libqjson-devel
# required packages
BuildRequires: mingw32-libqt4-devel
BuildRequires: mingw32-libqt4-filesystem
BuildRequires: mingw32-libqt4-tools-devel
BuildRequires: mingw32-libtiff-devel
BuildRequires: mingw32-phonon-devel
BuildRequires: mingw32-qca-devel
# FU CMake
BuildRequires: mingw32-qtkeychain
BuildRequires: mingw32-qtkeychain-devel
BuildRequires: mingw32-qtsparkle-devel
BuildRequires: mingw32-qtweetlib-devel
BuildRequires: mingw32-quazip-devel
BuildRequires: mingw32-taglib-devel
BuildRequires: mingw32-zlib-devel
# needed at runtime
Requires: mingw32-libqt4-sql-sqlite
%_mingw32_package_header_debug
BuildArch: noarch
%description
A Music Player App, C++/Qt
%package devel
Summary: A Music Player App, C++/Qt
Group: Development/Libraries/C and C++
%description devel
A Music Player App, C++/Qt
%_mingw32_debug_package
%prep
%setup -q -n tomahawk-%{version}
%build
%_mingw32_cmake
%_mingw32_cmake_build
%install
%_mingw32_cmake_install
%files
%defattr(-,root,root,-)
%{_mingw32_bindir}/tomahawk.exe
%{_mingw32_libexecdir}/tomahawk_crash_reporter.exe
%{_mingw32_bindir}/libtomahawk.dll
%{_mingw32_libdir}/libtomahawk_account_*.dll
%{_mingw32_libdir}/libtomahawk_infoplugin_*.dll
%{_mingw32_datadir}/tomahawk/
%files devel
%defattr(-,root,root,-)
%{_mingw32_libdir}/libtomahawk.dll.a
%{_mingw32_includedir}/libtomahawk/
%{_mingw32_libdir}/cmake/Tomahawk/
%changelog