File IMSProg.spec of Package IMSProg
#
# spec file for package imsprog.
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: IMSProg
Version: 1.6.2
Release: 0
Summary: IMSProg ch341a Programmer
License: GPL-3.0
URL: https://github.com/bigbigmdm/IMSProg
Source0: v1.6.2.tar.gz
BuildRequires: cmake gcc-c++
BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qttools-devel
BuildRequires: libusb-1_0-devel
%description
I2C, SPI and MicroWire EEPROM/Flash chip programmer
for CH341a devices. This is a free I2C EEPROM programmer tool for
CH341A device based on QhexEdit2 and modify SNANDer programmer.
This is a GUI program used widget QhexEditor. For setting the SPI chip
parameters you can use the Detect button for reading chip parameters
(JEDEC information reading) or manually setting it. The I2C and MicroWire
EEPROM only manually selected.
The chip database format is clone with EZP2019, EZP2020, EZP2023, Minpro I,
XP866+ programmers. You can edit the database use the EZP Chip data Editor.
%description -l ru_RU.UTF-8
I2C, SPI and MicroWire EEPROM/Flash программатор
для CH341a устройств. Является бесплатной утилитой для
использования CH341A устройств в качестве программатора микросхем. Основана на
QhexEdit2 и модифицированном программаторе SNANDer.
Графический интерфейс программы использует виджеты QhexEditor. Для настройки
параметров чипа SPI вы можете использовать кнопку «Поиск» для чтения параметров
чипа (считывание информации JEDEC) или настроить его вручную. I2C и MicroWire
EEPROM выбираются только вручную.
Формат базы данных чипов клонируется программаторами EZP2019, EZP2020, EZP2023,
Minpro I, XP866+. Вы можете редактировать базу данных с помощью редактора данных
EZP Chip.
%prep
%setup -q
# update translations
lrelease-qt5 IMSProg_editor/language/*.ts
lrelease-qt5 IMSProg_programmer/language/*.ts
%build
pushd IMSProg_editor
%cmake -DCMAKE_INSTALL_SYSCONFDIR=%_sysconfdir
%cmake_build
popd
pushd IMSProg_programmer
%cmake -DCMAKE_INSTALL_SYSCONFDIR=%_sysconfdir
%cmake_build
popd
%check
%install
pushd IMSProg_editor
%cmake_install
popd
pushd IMSProg_programmer
%cmake_install
popd
# rename README
cp IMSProg_editor/README.md IMSProg_editor.md
cp IMSProg_programmer/README.md IMSProg_programmer.md
%files
%doc README.md IMSProg_editor.md IMSProg_programmer.md
/usr/share/metainfo/io.github.bigbigmdm.imsprog.metainfo.xml
/usr/share/metainfo/io.github.bigbigmdm.imsprog_database_update.metainfo.xml
/usr/share/metainfo/io.github.bigbigmdm.imsprog_editor.metainfo.xml
/%_bindir/IMSProg
/%_bindir/IMSProg_editor
/%_bindir/IMSProg_database_update
/%_datadir/doc/imsprog
/%_datadir/doc/imsprog/html
/%_datadir/imsprog
/%_datadir/applications/IMSProg.desktop
/%_datadir/applications/IMSProg_editor.desktop
/%_datadir/applications/IMSProg_database_update.desktop
/%_udevrulesdir/71-CH341.rules
/%_datadir/pixmaps/chipEdit64.png
/%_datadir/pixmaps/IMSProg64.png
/%_datadir/pixmaps/IMSProg_database_update.png
/%_datadir/doc/imsprog/html/index.html
/%_datadir/imsprog/IMSProg.Dat
/%_datadir/imsprog/chipEditor_*.qm
/%_datadir/imsprog/chipProgrammer_*.qm
/%_datadir/man/man1/IMSProg*.gz
%changelog
* Wed Jul 02 2025 oberkut@vivaldi.net
- Fixed: program crashed if security registers was less than 256 bytes.
- Fixed: Information in the status bar disappears when hovering over a menu.
- Added: close and minimize buttons for subordinate forms.
- Added: comparison of INTEL HEX and ASUS CAP with other files.
- Added: new chips to the database.
* Mon May 19 2025 oberkut@vivaldi.net
- New feature: compare files
- New feature: fill test array
- Fix: when the page size is changed, the buffer is cleared
- Fix: the code is executed twice and the code slows down the display of the interface
* Thu Apr 29 2025 oberkut@vivaldi.net
- Version 1.5.3
- Copyright information updated
- Last version of QHexEdit used
- Hex-functions optimised
- Added support GIANTEC, DOSILICON NOR FLASH chips
- Fix: incorrect uninstall script
- Fix: i2C 128K size is repeated twice
- Fix: error calculating file size
* Thu Mar 06 2025 oberkut@vivaldi.net
- Version 1.5.2
- Fix: Memory leaks
- Fix: Gigadevice status registers write error
- Added new SPI chip sizes
- Added Fidelix, Zetta, MXIC OTP algorithm
- Added support for new Boya, Winbond chips
* Mon Feb 24 2025 oberkut@vivaldi.net
- Version 1.5.1
- Fixed:Incorrect install dir for udev while cross compiling.
- Added:Form for working with security registers for SPI NOR flash memory chips.
* Fri Jan 17 2025 oberkut@vivaldi.net
- Version 1.4.5
- Fixed: Incorrect block/page size after first read procedure.
- Fixed: Incorrect reading/writing I2C low speed chips.
- Added support for MXIC MX25V8035F.
- Added I2C bus speed combobox to the main form.
* Fri Sep 25 2024 oberkut@vivaldi.net
- Version 1.4.4
- Fix: In the Save menu, the cancel button causes an error message
- Fix: Incorrect names of DataFlash chips
- Fix: incorrect reading of the DataFlash chips status register
- Fedora repository added
- MacOS build support added
- Uninstall script added
* Fri Jul 26 2024 oberkut@vivaldi.net
- Version 1.4.3
- Fixed: On the GNOME desktop, program does not respond when erasing SPI NOR FLASH.
- Fixed: The progress bar did not display correctly when SPI NOR FLASH was erased.
- Fixed: When erasing SPI NOR Flash, the STOP button does not work.
* Thu Jul 11 2024 oberkut@vivaldi.net
- Version 1.4.2
- Added new chips to the chip database.
- Corrected German translation
- German translator added to copyright
- Fix: fixed metadata files
- Fix: corrected chip database
* Mon May 27 2024 oberkut@vivaldi.net
- Version 1.4.1
- Added support new chip type - AT45DBxx DataFlash.
- Added new chips to the chip database.
- Fix: asv-url-redefined
- Fix: icon-not-found
- Fix: asv-developer-name-tag-deprecated
- Fix: appstream-metadata-malformed-modalias-provide - include non-valid hex digit in USB matching rule 'usb:v1a86p5512d*'
- Renamed udev rule from 99-CH341.rules to 71-CH341.rules and removed deprecated MODE=660 and GROUP+=plugdev
* Mon May 13 2024 oberkut@vivaldi.net
- Version 1.3.9
- Fixed: There is a spelling error in in 99-CH341.rules.
- Fixed: (metadata changed): appstream-metadata-missing-modalias-provide usr/lib/udev/rules.d/99-CH341.rules
- Splitting long lines in README.md
- Removed language .qm files - it is generated when the package is built. (New building depends - need the qttools5-dev (Debian) / qt5-linguist (Fedora) / qt5-tools (Arch))
- Removed unused tags from language files
* Sun May 12 2024 oberkut@vivaldi.net
- Added translation of update script
- Appstream metadata files added
- Fix: after first installing the software it does not find the CH341A device, detecting it only after rebooting the computer
- Fix: incorrect translation file names in Chinese locale
- [Tian-HP]
- Chinese translation update
- Italian translation update
* Sat Apr 27 2024 oberkut@vivaldi.net
- Small refinements (bugfix) to the interface.
- Updating the Italian translation.
- For 25xxx, 95xxx chips, writing to a status register is now only available after reading it.
* Thu Apr 18 2024 oberkut@vivaldi.net
- Version 1.3.6
- Added a third status register to the SFDP form
- fix: uncorrect write to the third SPI NOR FLASH status register
- fix: the chip database data is corrected for large size chips
- fix: after reading, the menu item go to address becomes inactive
* Mon Apr 15 2024 oberkut@vivaldi.net
- Added function to HEX-editor to move the cursor to the entered address. A new form has been added for entering an address.
* Tue Apr 09 2024 oberkut@vivaldi.net
- bugfix:Wrong read/write data in last addresses of M95040, AT25040, 25AA040, CAT25C04 chips
* Wed Mar 27 2024 oberkut@vivaldi.net
- Update to version 1.3.3
* Tue Mar 05 2024 oberkut@vivaldi.net
- Update to version 1.3.2