Group :: Desenvolvimento/Python
RPM: winpdb
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: An advanced Python debugger.
Name: winpdb
Version: 1.4.0
Release: alt1
%setup_python_module winpdb
Source0: %name-%version.tar.gz
Source1: %name.desktop
License: GPL
Group: Development/Python
BuildArchitectures: noarch
URL: http://www.digitalpeers.com/pythondebugger/
Packager: Fr. Br. George <george at altlinux.ru>
%description
Winpdb is an advanced Python debugger with smart breakpoints,
thread support, modifiable namespace, and secure connections.
%prep
%setup -q
%build
python setup.py build
%install
python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
for N in 16 32 64; do install -D artwork/%name-icon-$N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/%name-icon-$N.png; done
install -D artwork/%name-icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name-icon.svg
install -D %SOURCE1 %buildroot%_desktopdir/%SOURCE1
%files -f INSTALLED_FILES
%_iconsdir/hicolor/*/apps/*
%_desktopdir/*
%doc README.txt
%changelog
…
Todas as alterações você pod ver aqui
Name: winpdb
Version: 1.4.0
Release: alt1
%setup_python_module winpdb
Source0: %name-%version.tar.gz
Source1: %name.desktop
License: GPL
Group: Development/Python
BuildArchitectures: noarch
URL: http://www.digitalpeers.com/pythondebugger/
Packager: Fr. Br. George <george at altlinux.ru>
%description
Winpdb is an advanced Python debugger with smart breakpoints,
thread support, modifiable namespace, and secure connections.
%prep
%setup -q
%build
python setup.py build
%install
python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
for N in 16 32 64; do install -D artwork/%name-icon-$N.png %buildroot%_iconsdir/hicolor/${N}x${N}/apps/%name-icon-$N.png; done
install -D artwork/%name-icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name-icon.svg
install -D %SOURCE1 %buildroot%_desktopdir/%SOURCE1
%files -f INSTALLED_FILES
%_iconsdir/hicolor/*/apps/*
%_desktopdir/*
%doc README.txt
%changelog
…
Todas as alterações você pod ver aqui