LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File dissy.spec of Package dissy (Project home:prusnak)

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           dissy
Version:        10
Release:        0
License:        GPL-3.0
Summary:        Graphical frontend to the objdump disassembler
Url:            http://code.google.com/p/dissy/
Group:          Development/Tools/Debuggers
Source0:        http://dissy.googlecode.com/files/%{name}-%{version}.tar.gz
Source1:        dissy.desktop
BuildRequires:  python-devel
Requires:       binutils
Requires:       python-gobject
Requires:       python-gtk
Requires:       python-webkitgtk
BuildArch:      noarch

Dissy is a graphical frontend to the objdump disassembler, it can be used
for debugging and browsing compiler-generated code.

%setup -q

python setup.py build

python setup.py install --skip-build --root=%{buildroot}
# Icon file. Upstream doesn't use any
install -D -m 0644 %{buildroot}%{_datadir}/dissy/gfx/red_arrow_left.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
# Desktop menu entry
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
rm -rf %{buildroot}%{_datadir}/doc/%{name}

rm -rf %{buildroot}