|
|
@ -1,11 +1,10 @@
|
|
|
|
%define source_name usb-modeswitch
|
|
|
|
%define source_name usb-modeswitch
|
|
|
|
|
|
|
|
|
|
|
|
Name: usb_modeswitch
|
|
|
|
Name: usb_modeswitch
|
|
|
|
Version: 2.5.2
|
|
|
|
Version: 2.6.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
|
|
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
|
|
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
|
|
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
|
|
|
Group: Applications/System
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
URL: http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
|
|
|
|
|
|
|
@ -14,11 +13,12 @@ Source1: http://www.draisberghof.de/usb_modeswitch/device_reference.txt
|
|
|
|
|
|
|
|
|
|
|
|
# Submitted upstream (2014-11-24)
|
|
|
|
# Submitted upstream (2014-11-24)
|
|
|
|
Patch0: device_reference-utf8.patch
|
|
|
|
Patch0: device_reference-utf8.patch
|
|
|
|
# http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2733
|
|
|
|
|
|
|
|
Patch1: 0001-usb_modeswitch-count-the-target-devices-from-zero.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
BuildRequires: jimtcl-devel
|
|
|
|
# "tcl" or "jimsh"), use the light-weight installation:
|
|
|
|
|
|
|
|
#BuildRequires: jimtcl-devel
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
Requires: usb_modeswitch-data >= 20121109
|
|
|
|
Requires: usb_modeswitch-data >= 20121109
|
|
|
|
Requires: systemd
|
|
|
|
Requires: systemd
|
|
|
@ -42,18 +42,18 @@ Vodafone, Option, ZTE und Novatell werden unterstützt.
|
|
|
|
cp -f %{SOURCE1} device_reference.txt
|
|
|
|
cp -f %{SOURCE1} device_reference.txt
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p0
|
|
|
|
%patch0 -p0
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{set_build_flags}
|
|
|
|
%{set_build_flags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
# this will require jimtcl-devel
|
|
|
|
|
|
|
|
#make_build all-with-dynlink-dispatcher
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
|
make install \
|
|
|
|
%make_install \
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
|
|
|
|
SYSDIR=$RPM_BUILD_ROOT%{_unitdir} \
|
|
|
|
SYSDIR=$RPM_BUILD_ROOT%{_unitdir} \
|
|
|
|
UDEVDIR=$RPM_BUILD_ROOT%{_prefix}/lib/udev
|
|
|
|
UDEVDIR=$RPM_BUILD_ROOT%{_prefix}/lib/udev
|
|
|
|
|
|
|
|
|
|
|
@ -70,8 +70,42 @@ make install \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2.5.2-1
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-4
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 18 2020 Sérgio Basto <sergio@serjux.com> - 2.6.1-1
|
|
|
|
|
|
|
|
- Update usb_modeswitch to 2.6.1
|
|
|
|
|
|
|
|
- Drop patch1, http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2733
|
|
|
|
|
|
|
|
- Drop BR jimtcl-devel, if we don't install dynlink-dispatcher
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 29 2020 Sérgio Basto <sergio@serjux.com> - 2.6.0-3
|
|
|
|
|
|
|
|
- Use make macros (https://src.fedoraproject.org/rpms/usb_modeswitch/pull-request/1)
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 24 2020 Lubomir Rintel <lkundrak@v3.sk> - 2.6.0-1
|
|
|
|
|
|
|
|
- New 2.6.0 release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 28 2018 Lubomir Rintel <lkundrak@v3.sk> - 2.5.2-1
|
|
|
|
* Wed Feb 28 2018 Lubomir Rintel <lkundrak@v3.sk> - 2.5.2-1
|
|
|
|
- New 2.5.2 release
|
|
|
|
- New 2.5.2 release
|
|
|
|