ALT specfile added
This commit is contained in:
parent
2751129c5e
commit
28187968a3
81
ponyprog.spec
Normal file
81
ponyprog.spec
Normal file
@ -0,0 +1,81 @@
|
||||
%define _unpackaged_files_terminate_build 1
|
||||
|
||||
Name: ponyprog
|
||||
Version: 3.1.1
|
||||
Release: alt1
|
||||
Summary: Serial device programmer
|
||||
# https://github.com/lancos/ponyprog
|
||||
Source: %name-%version.tar
|
||||
License: GPLv2+
|
||||
Group: Development/Other
|
||||
Url: http://www.lancos.com/prog.html
|
||||
Packager: Igor Chudov <nir@altlinux.ru>
|
||||
|
||||
BuildRequires(pre): gcc-c++
|
||||
BuildRequires(pre): libXaw-devel
|
||||
BuildRequires(pre): libv-devel >= 1.90-alt4
|
||||
BuildRequires(pre): ImageMagick
|
||||
BuildRequires(pre): linux-libc-headers
|
||||
BuildRequires(pre): libXext-devel
|
||||
|
||||
Requires: libv >= 1.90-alt4
|
||||
|
||||
%description
|
||||
PonyProg is a serial device programmer software with a user friendly GUI
|
||||
framework available for Windows and Linux. It's purpose is reading and
|
||||
writing every serial device. With PonyProg and SI-Prog you can program
|
||||
Wafercard for SAT, eeprom within GSM, TV or CAR-RADIO. Furthermore it
|
||||
can be used as a low cost starter kit for PIC and AVR. Ponyprog supports
|
||||
AVR, SPI eeprom, AVR micro, 12C bus 8bit eeprom, PIC 16 micro, PIC 12
|
||||
micro, AT89S micro and SDE2506 eeprom family chips. You can open any HEX,
|
||||
e2p, mot, csm, rom, eep, bin files and burn them to uC or PIC. You can
|
||||
even backup the old program on the chip using Ponyprog. Ponyprog enables
|
||||
the user to write, verify and erase data on the microchip. Also setting
|
||||
fuse bits and locks using Ponyprog is possible. You can save any HEX file
|
||||
to BIN file or eep file, BIN file to HEX file or MOT file and vice versa
|
||||
so you can use Ponyprog as converter too. Ponyprog offers serial or
|
||||
parallel port programming for uC's. You can even change polarity of
|
||||
control lines without touching the wires using I/O port setup.
|
||||
|
||||
%prep
|
||||
%setup -n %name-%version
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_bindir
|
||||
#cp bin/ponyprog2000 %buildroot%_bindir
|
||||
|
||||
mkdir -p %buildroot%_niconsdir
|
||||
mkdir -p %buildroot%_miconsdir
|
||||
mkdir -p %buildroot%_liconsdir
|
||||
|
||||
#convert -resize 16x16 SOURCE1 %buildroot%_miconsdir/%name.png
|
||||
#convert -resize 32x32 SOURCE1 %buildroot%_niconsdir/%name.png
|
||||
#convert -resize 48x48 SOURCE1 %buildroot%_liconsdir/%name.png
|
||||
|
||||
mkdir -p %buildroot%_desktopdir
|
||||
cat > %buildroot%_desktopdir/%name.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=Ponyprog2000
|
||||
Comment=Serial device programmer
|
||||
Exec=%_bindir/%name
|
||||
Icon=%name
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Development;Engineering;Electronics;
|
||||
EOF
|
||||
|
||||
%files
|
||||
%doc README
|
||||
%_bindir/%name
|
||||
%_miconsdir/%name.png
|
||||
%_liconsdir/%name.png
|
||||
%_niconsdir/%name.png
|
||||
%_desktopdir/*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 29 2020 Igor Chudov <nir@altlinux.org> 3.1.1-alt1
|
||||
- Initial package
|
||||
|
Loading…
x
Reference in New Issue
Block a user