Package IMSProg: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 Name: IMSProg Version: 1.3.6 Release: alt1 Summary: I2C, SPI and MicroWire EEPROM/Flash chip programmer for CH341a devices Summary(ru_RU.UTF-8): I2C, SPI and MicroWire EEPROM/Flash программатор для CH341a устройств License: GPL-3.0-or-later Group: Engineering Url: https://github.com/bigbigmdm/IMSProg Source: %name-%version.tar Patch: %name-%version-%release.patch BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake gcc-c++ BuildRequires: qt5-base-devel BuildRequires: qt5-tools BuildRequires: pkgconfig(libusb-1.0) %description IMSProg - Linux IMSProg - I2C, SPI and MicroWire EEPROM/Flash chip programmer for CH341a devices. The IMSProm 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 IMSProg - Linux IMSProg - I2C, SPI and MicroWire EEPROM/Flash программатор для CH341a устройств. IMSProm является бесплатной утилитой для использования CH341A устройств в качестве программатора микросхем. Основана на QhexEdit2 и модифицированном программаторе SNANDer. Графический интерфейс программы использует виджеты QhexEditor. Для настройки параметров чипа SPI вы можете использовать кнопку «Поиск» для чтения параметров чипа (считывание информации JEDEC) или настроить его вручную. I2C и MicroWire EEPROM выбираются только вручную. Формат базы данных чипов клонируется программаторами EZP2019, EZP2020, EZP2023, Minpro I, XP866+. Вы можете редактировать базу данных с помощью редактора данных EZP Chip. %prep %setup %patch -p1 # 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 %install pushd IMSProg_editor %cmake_install popd pushd IMSProg_programmer %cmake_install popd # remove updater for %_sysconfdir/imsprog/IMSProg.Dat rm %buildroot%_bindir/IMSProg_database_update rm %buildroot%_desktopdir/IMSProg_database_update.desktop rm %buildroot%_pixmapsdir/IMSProg_database_update.png # 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 ChangeLog %_docdir/imsprog/ %_bindir/IMSProg %_bindir/IMSProg_editor #%%_bindir/IMSProg_database_update %_datadir/imsprog %_desktopdir/IMSProg.desktop %_desktopdir/IMSProg_editor.desktop #%%_desktopdir/IMSProg_database_update.desktop %_udevrulesdir/99-CH341.rules %_pixmapsdir/chipEdit64.png %_pixmapsdir/IMSProg64.png #%%_pixmapsdir/IMSProg_database_update.png %_man1dir/*.1.* %changelog * Thu Apr 18 2024 Anton Midyukov <antohami@altlinux.org> 1.3.6-alt1 - new version * Thu Apr 11 2024 Anton Midyukov <antohami@altlinux.org> 1.3.5-alt1 - new version * Mon Apr 08 2024 Anton Midyukov <antohami@altlinux.org> 1.3.4-alt1 - new version * Tue Mar 26 2024 Anton Midyukov <antohami@altlinux.org> 1.3.3-alt1 - new version * Thu Feb 29 2024 Anton Midyukov <antohami@altlinux.org> 1.3.2-alt1 - new version - fix comments in %%_udevrulesdir/99-CH341.rules * Thu Feb 15 2024 Anton Midyukov <antohami@altlinux.org> 1.3.1-alt1 - new version * Sat Feb 10 2024 Anton Midyukov <antohami@altlinux.org> 1.2.1-alt1 - new version * Wed Feb 07 2024 Anton Midyukov <antohami@altlinux.org> 1.1.12-alt1 - new version - 99-CH341.rules: change group uucp instead plugdev * Sun Feb 04 2024 Anton Midyukov <antohami@altlinux.org> 1.1.11-alt1 - new version * Mon Jan 29 2024 Anton Midyukov <antohami@altlinux.org> 1.1.10-alt1 - new version * Sun Jan 21 2024 Anton Midyukov <antohami@altlinux.org> 1.1.6-alt1 - new version (Closes: 49084) * Mon Jan 08 2024 Anton Midyukov <antohami@altlinux.org> 1.1.4-alt1 - new version * Wed Dec 06 2023 Anton Midyukov <antohami@altlinux.org> 1.1.2-alt1 - new version (Closes: 48694) * Fri Oct 13 2023 Anton Midyukov <antohami@altlinux.org> 1.0.27-alt1 - initial build (Closes: 47993) |