Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37044115
en ru br
ALT Linux repositórios
S:2.07c-alt4
5.0: 2.07c-alt2
4.1: 2.07c-alt1

Group :: Desenvolvimento/Outros
RPM: ponyprog2000

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define origname PonyProg2000

Name:           ponyprog2000
Version:        2.07c
Release:        alt2
Summary:        Serial device programmer
# http://downloads.sourceforge.net/ponyprog/%origname-%version.tar.gz
Source0:        %origname-%version.tar.bz2
Source1: %name.png
License:        GPL
Group:          Development/Other
Url:         http://www.lancos.com/prog.html
Packager: Evgeny Sinelnikov <sin at altlinux.ru>

Patch:          PonyProg2000.patch

# Automatically added by buildreq on Thu Oct 25 2007

BuildRequires:  gcc-c++ libXaw-devel

BuildRequires:  libv-devel >= 1.90-alt4
BuildRequires:  ImageMagick, glibc-kernheaders
BuildRequires:  xorg-x11-devel

Requires:       libv >= 1.90-alt4

%description
PonyProg is a serial device programmer software with a user friendly GUI
framework available for Windows95, 98, 2000 & NT and Intel Linux. Its purpose
is reading and writing every serial device. At the moment it supports I2C Bus,
Microwire, SPI eeprom, the Atmel AVR and Microchip PIC micro.

%prep
%setup -q -n %origname-%version
%patch -p1

%build
make

%install
mkdir -p %buildroot%_bindir
cp bin/ponyprog2000 %buildroot%_bindir

mkdir -p %buildroot%_iconsdir
mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_liconsdir

convert -resize 16x16 %SOURCE1 %buildroot%_miconsdir/%name.png
convert -resize 32x32 %SOURCE1 %buildroot%_iconsdir/%name.png
convert -resize 48x48 %SOURCE1 %buildroot%_liconsdir/%name.png

mkdir -p %buildroot%_datadir/applications
cat > %buildroot%_datadir/applications/%name.desktop << EOF
[Desktop Entry]
Name=Ponyprog2000
Comment=Serial device programmer
Exec=%_bindir/%name
Icon=%name
Terminal=false
Type=Application
Categories=Development;Science;Engineering;Electronics;
EOF

%post
%update_menus

%postun
%clean_menus

%files
%defattr(-,root,root,755)
%doc README
%_bindir/%name
%_miconsdir/%name.png
%_liconsdir/%name.png
%_iconsdir/%name.png
%_datadir/applications/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009