File elflibviewer.spec of Package elflibviewer

# Copyright (c) 2011 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/

Name:           elflibviewer
Version:        0.9
Release:        0
Summary:        Think of it as a graphical ldd program
Group:          Development/Tools/Other
License:        GPL
URL:            https://www.purinchu.net/software/elflibviewer.php
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/build-root-%{name}
BuildRequires:  cmake
BuildRequires:  libqt4-devel

%description
This is a program that lists what libraries a given program or shared library links to.
Think of it as a graphical ldd program.

%prep
%setup

%build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?_smp_mflags}

%install
%makeinstall

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/elflibviewer

%changelog
* Sat Aug 22 2015 y.kobayashi
- Create package in openSUSE Build