File valkyrie.spec of Package valkyrie
#
# spec file for package valkyrie
#
# Copyright (c) 2015 SUSE LINUX 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: valkyrie
Version: 2.0.0
Release: 0
Summary: A GUI For The Valgrind Suite
License: GPL-2.0 and GFDL-1.3
Group: System/Filesystems
Url: http://www.open-works.co.uk/projects/valkyrie.html
Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
Patch0: fix_destdir.patch
Patch1: valkyrie-missing-inc.patch
BuildRequires: libqt4-devel
BuildRequires: valgrind-devel
Requires: valgrind >= 3.6.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Valkyrie is a GPL'd graphical front-end to the Valgrind suite
of tools for debugging and profiling programs.
%prep
%setup -q
%patch0
%patch1
%build
export CXXFLAGS="%{optflags}"
qmake PREFIX=%{_prefix}
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_bindir}/valkyrie
%changelog