2024-01-05 17:49:01 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: ModemManager
|
|
|
|
Epoch: 1
|
2024-01-05 17:49:03 +01:00
|
|
|
Version: 1.18.8
|
2024-01-05 17:49:01 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:49:01 +01:00
|
|
|
Summary: Provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, …) cards
|
|
|
|
Group: Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:49:02 +01:00
|
|
|
URL: https://modemmanager.org/
|
2024-01-05 17:49:01 +01:00
|
|
|
Source: http://www.freedesktop.org/software/ModemManager/ModemManager-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 17:49:02 +01:00
|
|
|
BuildRequires: libgudev-devel
|
2024-01-05 17:49:01 +01:00
|
|
|
BuildRequires: libmbim-devel
|
2024-01-05 17:49:02 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
2024-01-05 17:49:01 +01:00
|
|
|
BuildRequires: libqmi-devel
|
2024-01-05 17:49:02 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 17:49:01 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:49:02 +01:00
|
|
|
BuildRequires: libqmi-devel >= 1.20.2
|
2024-01-05 17:49:01 +01:00
|
|
|
BuildRequires: libmbim-devel >= 1.10.0
|
2024-01-05 17:49:01 +01:00
|
|
|
Requires: mobile-broadband-provider-info
|
|
|
|
Requires: usb-modeswitch
|
2024-01-05 17:49:02 +01:00
|
|
|
Requires: libmm = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:49:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
ModemManager provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, …) cards. Implements a loadable plugin interface to add work-arounds for non standard devices.
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
%package -n libmm
|
|
|
|
Summary: Shared libraries provided by %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libmm
|
|
|
|
ModemManager provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, …) cards. Implements a loadable plugin interface to add work-arounds for non standard devices.
|
|
|
|
This package contains the shared libraries provided by %{name}.
|
|
|
|
|
|
|
|
%package -n libmm-devel
|
|
|
|
Summary: Devel package for libmm
|
2024-01-05 17:49:01 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:49:02 +01:00
|
|
|
Requires: libmm = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: ModemManager-devel
|
2024-01-05 17:49:02 +01:00
|
|
|
Obsoletes: ModemManager-devel < 1:1.16.4
|
2024-01-05 17:49:01 +01:00
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
%description -n libmm-devel
|
2024-01-05 17:49:01 +01:00
|
|
|
ModemManager provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, …) cards. Implements a loadable plugin interface to add work-arounds for non standard devices.
|
2024-01-05 17:49:02 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 17:49:01 +01:00
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:49:02 +01:00
|
|
|
%configure \
|
|
|
|
--with-udev-base-dir=%{_prefix}/lib/udev
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
2024-01-05 17:49:02 +01:00
|
|
|
%systemd_post ModemManager
|
2024-01-05 17:49:01 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
2024-01-05 17:49:02 +01:00
|
|
|
%systemd_preun ModemManager
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart ModemManager
|
|
|
|
:
|
|
|
|
|
|
|
|
%post -n libmm -p /sbin/ldconfig
|
|
|
|
%postun -n libmm -p /sbin/ldconfig
|
2024-01-05 17:49:01 +01:00
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-05 17:49:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
|
|
|
|
%{_bindir}/mmcli
|
|
|
|
%{_sbindir}/ModemManager
|
2024-01-05 17:49:02 +01:00
|
|
|
%dir %{_datadir}/ModemManager
|
|
|
|
%{_unitdir}/ModemManager.service
|
|
|
|
%{_udevrulesdir}/77-mm-*.rules
|
|
|
|
%{_udevrulesdir}/80-mm-candidate.rules
|
2024-01-05 17:49:02 +01:00
|
|
|
%{_datadir}/bash-completion/completions/mmcli
|
2024-01-05 17:49:01 +01:00
|
|
|
%{_datadir}/dbus-1/interfaces/*
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
|
2024-01-05 17:49:02 +01:00
|
|
|
%dir %{_datadir}/ModemManager
|
2024-01-05 17:49:02 +01:00
|
|
|
%{_datadir}/ModemManager/mm-foxconn-*-carrier-mapping.conf
|
2024-01-05 17:49:03 +01:00
|
|
|
%dir %{_datadir}/ModemManager/connection.available.d
|
|
|
|
%{_datadir}/ModemManager/connection.available.d/99-log-event
|
2024-01-05 17:49:03 +01:00
|
|
|
%dir %{_datadir}/ModemManager/fcc-unlock.available.d
|
|
|
|
%{_datadir}/ModemManager/fcc-unlock.available.d/*
|
2024-01-05 17:49:01 +01:00
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.ModemManager1.policy
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/ModemManager.png
|
2024-01-05 17:49:02 +01:00
|
|
|
%{_mandir}/man1/mmcli.1*
|
2024-01-05 17:49:02 +01:00
|
|
|
%{_mandir}/man8/ModemManager.8*
|
2024-01-05 17:49:02 +01:00
|
|
|
|
|
|
|
%files -n libmm
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmm-glib.so.*
|
|
|
|
%{_libdir}/girepository-1.0/ModemManager-1.0.typelib
|
|
|
|
%dir %{_libdir}/ModemManager
|
|
|
|
%{_libdir}/ModemManager/libmm-*.la
|
|
|
|
%{_libdir}/ModemManager/libmm-*.so
|
2024-01-05 17:49:01 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
%files -n libmm-devel
|
2024-01-05 17:49:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/ModemManager
|
|
|
|
%{_includedir}/ModemManager/ModemManager*.h
|
|
|
|
%dir %{_includedir}/libmm-glib
|
|
|
|
%{_includedir}/libmm-glib/*.h
|
2024-01-05 17:49:01 +01:00
|
|
|
%{_datadir}/gir-1.0/ModemManager-1.0.gir
|
|
|
|
%{_datadir}/vala/vapi/libmm-glib.deps
|
|
|
|
%{_datadir}/vala/vapi/libmm-glib.vapi
|
2024-01-05 17:49:01 +01:00
|
|
|
%{_libdir}/libmm-glib.la
|
|
|
|
%{_libdir}/libmm-glib.so
|
|
|
|
%{_libdir}/pkgconfig/ModemManager.pc
|
|
|
|
%{_libdir}/pkgconfig/mm-glib.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:49:03 +01:00
|
|
|
* Sun May 01 2022 Automatic Build System <autodist@mambasoft.it> 1.18.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:03 +01:00
|
|
|
* Sat Feb 12 2022 Automatic Build System <autodist@mambasoft.it> 1.18.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:03 +01:00
|
|
|
* Sun Nov 28 2021 Automatic Build System <autodist@mambasoft.it> 1.18.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Fri Sep 10 2021 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sun Aug 15 2021 Automatic Build System <autodist@mambasoft.it> 1.17.900-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Automatic Build System <autodist@mambasoft.it> 1.16.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Wed Jul 14 2021 Automatic Build System <autodist@mambasoft.it> 1.16.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.6-1mamba
|
|
|
|
- update to 1.16.6
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 1.16.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Wed Mar 03 2021 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 1.14.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sat Nov 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6-1mamba
|
|
|
|
- update to 1.14.6
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Sat May 23 2020 Automatic Build System <autodist@mambasoft.it> 1.9.990-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Thu Aug 30 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- update to 1.8.0
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Fri May 08 2015 Automatic Build System <autodist@mambasoft.it> 1.4.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Thu Mar 26 2015 Automatic Build System <autodist@mambasoft.it> 1.4.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:02 +01:00
|
|
|
* Mon Feb 16 2015 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
* Mon Feb 02 2015 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
* Sat Jan 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- rebuilt with libmbim 1.10.0
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
* Mon Jun 23 2014 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:49:01 +01:00
|
|
|
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-3mamba
|
|
|
|
- rebuilt with libqmi 1.8.0
|
|
|
|
|
|
|
|
* Sun Dec 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
|
|
|
|
- enable systemd service on install
|
|
|
|
|
|
|
|
* Sun Nov 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- update to 1.0.0
|
|
|
|
|
|
|
|
* Tue Jun 11 2013 Automatic Build System <autodist@mambasoft.it> 0.7.991-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 0.7.990-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 23 2012 Automatic Build System <autodist@mambasoft.it> 0.6.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.5.995.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2.0-1mamba
|
|
|
|
- update to 0.5.2.0
|
|
|
|
|
|
|
|
* Tue Mar 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1.97-1mamba
|
|
|
|
- update to 0.5.1.97
|
|
|
|
|
|
|
|
* Sun Sep 18 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
|
|
|
|
- update to 0.5
|
|
|
|
|
|
|
|
* Sat Jul 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.998-1mamba
|
|
|
|
- update to 0.4.998
|
|
|
|
|
|
|
|
* Fri Jan 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.git20110114-1mamba
|
|
|
|
- update to 0.4.git20110114
|
|
|
|
|
|
|
|
* Thu Jan 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
|
|
|
- package created by autospec
|