Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c51e1a880 | ||
|
|
72f0b22c6a | ||
|
|
52480942ea | ||
|
|
3870b76ed3 | ||
|
|
744043d0fc | ||
|
|
c7d001e4c2 | ||
|
|
0235491233 | ||
|
|
75b48eaed1 | ||
|
|
ad3709f31b | ||
|
|
e70ba7b332 | ||
|
|
8e428d2748 | ||
|
|
9b7e90d564 | ||
|
|
44dc230f7e | ||
|
|
3ee101b967 | ||
|
|
dd5fea77da |
3 changed files with 169 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/sfp-master-*.src.rpm
|
||||
/v*.tar.gz
|
||||
166
sfp-master.spec
Normal file
166
sfp-master.spec
Normal file
|
|
@ -0,0 +1,166 @@
|
|||
# spec file for package sfp-master
|
||||
#
|
||||
# Copyright (c) 2024 Mikhail Medvedev <e-ink-reader@yandex.ru>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 3
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
Name: sfp-master
|
||||
Version: 1.1.1
|
||||
Release: 3%dist
|
||||
|
||||
Summary: Reading, writing SFP modules data
|
||||
Summary(ru_RU.UTF-8): Чтение, запись данных SFP-модулей
|
||||
Summary(de_DE.UTF-8): Lesen und Schreiben von SFP-Modul-Daten
|
||||
Summary(es_ES.UTF-8): Lectura, escritura de datos de módulos SFP
|
||||
Summary(hu_HU.UTF-8): SFP modulok adatainak olvasása, írása
|
||||
Summary(it_IT.UTF-8): Lettura e scrittura dei dati dei moduli SFP
|
||||
Summary(pt_BR.UTF-8): Leitura e gravação de dados de módulos SFP
|
||||
Summary(uk_UA.UTF-8): Читання, запис даних SFP модулів
|
||||
Summary(zh_CN.UTF-8): 读取、写入 SFP 模块数据
|
||||
License: GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-only
|
||||
Group: Applications/Engineering
|
||||
|
||||
Url: https://github.com/bigbigmdm/SFP-Master
|
||||
Source: https://github.com/bigbigmdm/SFP-Master/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
BuildRequires: pkgconfig(Qt6Widgets)
|
||||
BuildRequires: cmake(Qt6LinguistTools)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
%description
|
||||
SFP-Master is a free software programmer of optical SFP modules for CH341a
|
||||
devices. It can be used to read, write and save SFP module data to the computer.
|
||||
It requires an SFP to I2C adapter. This adapter is used to read and program
|
||||
SFP-module data. It must be inserted into the slot labelled 24xxx of the CH341a
|
||||
programmer.
|
||||
|
||||
%description -l ru_RU.UTF-8
|
||||
SFP-Master - это бесплатный программатор оптических SFP-модулей для устройств
|
||||
CH341a. С его помощью можно считывать, записывать и сохранять данные SFP-модуля
|
||||
на компьютере. Для работы требуется адаптер SFP в I2C. Этот адаптер используется
|
||||
для чтения и программирования данных SFP-модуля. Он должен быть вставлен в слот
|
||||
с маркировкой 24xxx программатора CH341a.
|
||||
|
||||
%description -l de_DE.UTF-8
|
||||
SFP-Master ist ein kostenloses Programmier für optische SFP-Module für
|
||||
CH341a-Geräte. Es kann zum Lesen, Schreiben und Speichern von SFP-Modul-Daten
|
||||
auf dem Computer verwendet werden. Es erfordert einen SFP-zu-I2C-Adapter.
|
||||
Dieser Adapter wird zum Lesen und Programmieren von SFP-Moduldaten verwendet.
|
||||
Er muss in den mit 24xxx gekennzeichneten Steckplatz des
|
||||
CH341a-Programmiergeräts eingesetzt werden.
|
||||
|
||||
%description -l es_ES.UTF-8
|
||||
SFP-Master es un programador de software gratuito de módulos ópticos SFP para
|
||||
dispositivos CH341a. Se puede utilizar para leer, escribir y guardar datos del
|
||||
módulo SFP en el ordenador. Requiere un adaptador SFP a I2C. Este adaptador se
|
||||
utiliza para leer y programar los datos del módulo SFP. Debe insertarse en la
|
||||
ranura etiquetada 24xxx del programador CH341a.
|
||||
|
||||
%description -l hu_HU.UTF-8
|
||||
Az SFP-Master a CH341a eszközök optikai SFP moduljainak ingyenes szoftveres
|
||||
programozója. Az SFP-modul adatainak olvasására, írására és számítógépre
|
||||
mentésére használható. Ehhez SFP-I2C adapterre van szükség. Ez az adapter az
|
||||
SFP-modul adatainak olvasására és programozására szolgál. A CH341a programozó
|
||||
24xxx feliratú nyílásába kell behelyezni.
|
||||
|
||||
%description -l it_IT.UTF-8
|
||||
SFP-Master è un programmatore software gratuito di moduli ottici SFP per
|
||||
dispositivi CH341a. Può essere utilizzato per leggere, scrivere e salvare i dati
|
||||
del modulo SFP sul computer. Richiede un adattatore SFP-I2C. Questo adattatore
|
||||
viene utilizzato per leggere e programmare i dati del modulo SFP. Deve essere
|
||||
inserito nello slot 24xxx del programmatore CH341a.
|
||||
|
||||
%description -l pt_BR.UTF-8
|
||||
O SFP-Master é um programador de software gratuito de módulos SFP ópticos para
|
||||
dispositivos CH341a. Ele pode ser usado para ler, gravar e salvar dados do
|
||||
módulo SFP no computador. Ele requer um adaptador SFP para I2C. Esse adaptador
|
||||
é usado para ler e programar os dados do módulo SFP. Ele deve ser inserido no
|
||||
slot rotulado como 24xxx do programador CH341a.
|
||||
|
||||
%description -l uk_UA.UTF-8
|
||||
SFP-Master - це безкоштовне програмне забезпечення для програмування оптичних
|
||||
SFP-модулів для пристроїв CH341a. Він може бути використаний для читання, запису
|
||||
та збереження даних SFP-модуля на комп'ютері. Для роботи потрібен адаптер SFP до
|
||||
I2C. Цей адаптер використовується для зчитування і програмування даних
|
||||
SFP-модуля. Його потрібно вставити в гніздо з маркуванням 24xxx програматора
|
||||
CH341a.
|
||||
|
||||
%description -l zh_CN.UTF-8
|
||||
SFP-Master 是用于 CH341a 设备的光学 SFP 模块的免费编程软件。
|
||||
它可用于读写 SFP 模块数据并将其保存到计算机中。它需要一个 SFP 至 I2C 适配器。
|
||||
该适配器用于读取和编程 SFP 模块数据。它必须插入 CH341a 编程器标有
|
||||
24xxx 的插槽中。
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n SFP-Master-%{version}
|
||||
|
||||
%build
|
||||
# update translations
|
||||
lrelease-qt6 language/*.ts
|
||||
|
||||
%cmake -DCMAKE_INSTALL_SYSCONFDIR=%_sysconfdir
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.xml
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%_docdir/sfp-master/
|
||||
%_bindir/SFP-Master
|
||||
%_datadir/applications/SFP-Master.desktop
|
||||
%_datadir/metainfo/*.xml
|
||||
/usr/lib/udev/rules.d/*.rules
|
||||
%_datadir/pixmaps/SFP-Master.png
|
||||
%_datadir/man/man1/*.1.*
|
||||
%_datadir/sfp-master/*.qm
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Fri Jul 3 2026 Mikhail Medvedev 1.1.1-2
|
||||
- Release bump
|
||||
* Thu Apr 16 2026 Mikhail Medvedev 1.1.1-1
|
||||
- Added mutltiplatform translation path
|
||||
- I2C driver has been changed
|
||||
- Added the option to switch Qt versions
|
||||
- Fixed UDEV and LIBUSB pathes, used PKGCONFIG
|
||||
* Thu Sep 11 2025 Mikhail Medvedev 1.0.7-1
|
||||
- Ported from QT5 to QT6
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
* Tue Mar 04 2025 Mikhail Medvedev 1.0.6-1
|
||||
- Fixed memory leaks
|
||||
* Wed Jan 08 2025 Mikhail Medvedev 1.0.5-1
|
||||
- Added German translation by Wucke13
|
||||
- Fixed minor bugs in the main interface
|
||||
* Wed Dec 18 2024 Mikhail Medvedev 1.0.4-1
|
||||
- Optimization for Ubuntu and Debian
|
||||
* Tue Dec 17 2024 Mikhail Medvedev 1.0.3-1
|
||||
- Added Hungarian translation by Charles K Barcza
|
||||
- Fixed minor bugs in the main interface
|
||||
* Thu Dec 12 2024 Mikhail Medvedev 1.0.2-1
|
||||
- Added Italian translation by Giovanni Scafora
|
||||
- Fix errors in RPM spec file
|
||||
- Added changelog file
|
||||
* Tue Dec 10 2024 Mikhail Medvedev 1.0.1-1
|
||||
- initial release
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (v1.1.1.tar.gz) = 1036cd0b3900d1e332b221d0099d5d0b5a8a9ba8a63e2a98155039109fda4b5a019ae70f57d510be96b7f3638df843ab6fd3b34e746e998a52b353a6b503bbe1
|
||||
Loading…
Add table
Add a link
Reference in a new issue