File viewprof.spec of Package viewprof
#
# spec file for package viewprof
#
# Copyright (c) 2017 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: viewprof
Version: 0.0.0.6
Release: 0
Summary: Text-based interactive GHC .prof viewer
License: BSD-3-Clause
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-brick-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-ghc-prof-devel
BuildRequires: ghc-lens-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-vector-algorithms-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vty-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Text-based interactive GHC .prof viewer.
%prep
%setup -q
%build
%ghc_bin_build
%install
%ghc_bin_install
%files
%defattr(-,root,root,-)
%doc LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/%{name}
%changelog