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

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

%prep
%setup -q

%build
python setup.py build

%install
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}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/dissy
%{_datadir}/dissy/
%{_datadir}/applications/dissy.desktop
%{_datadir}/pixmaps/dissy.png
%{_mandir}/man1/dissy.1*
%{python_sitelib}/dissy/
%{python_sitelib}/*.egg-info

%changelog