Group :: Desenvolvimento/Outros
RPM: dissy
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# TODO: egg info?
# test new macroses
%define python_build CFLAGS="%optflags" %__python setup.py build
%define python_install %__python setup.py install --root %buildroot
Name: dissy
Version: 6
Release: alt3
Summary: Graphical frontend to objdump
License: GPL
Group: Development/Other
Url: http://rtlab.tekproj.bth.se/wiki/index.php/Dissy
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://rtlab.tekproj.bth.se/~ska/%name-%version.tar.bz2
BuildArch: noarch
BuildRequires: python-devel
%description
Dissy is a disassembler (graphical frontend to objdump) for multiple
architectures. It allows fast navigation through the disassembled code
and easy searching for addresses and symbols. Dissy is written in Python
and available under the GNU GPL.
%prep
%setup -q
%python_build
%install
%python_install
#%__subst "s,/usr/bin/python,/usr/bin/env python," %buildroot%_bindir/%name
rm -rf %buildroot/%_datadir/doc/
%files
%doc README
%_bindir/%name
%python_sitelibdir/%name/
%_datadir/%name/
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
# test new macroses
%define python_build CFLAGS="%optflags" %__python setup.py build
%define python_install %__python setup.py install --root %buildroot
Name: dissy
Version: 6
Release: alt3
Summary: Graphical frontend to objdump
License: GPL
Group: Development/Other
Url: http://rtlab.tekproj.bth.se/wiki/index.php/Dissy
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://rtlab.tekproj.bth.se/~ska/%name-%version.tar.bz2
BuildArch: noarch
BuildRequires: python-devel
%description
Dissy is a disassembler (graphical frontend to objdump) for multiple
architectures. It allows fast navigation through the disassembled code
and easy searching for addresses and symbols. Dissy is written in Python
and available under the GNU GPL.
%prep
%setup -q
%python_build
%install
%python_install
#%__subst "s,/usr/bin/python,/usr/bin/env python," %buildroot%_bindir/%name
rm -rf %buildroot/%_datadir/doc/
%files
%doc README
%_bindir/%name
%python_sitelibdir/%name/
%_datadir/%name/
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui