From 9470c880ecf5b261288019df0201950d0944ade9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:49:01 +0100 Subject: [PATCH] rebuilt with libqmi 1.8.0 [release 1.0.0-3mamba;Sun Jan 12 2014] --- ModemManager.spec | 151 ++++++++++++++++++++++++++++++++++++++++++++++ README.md | 2 + 2 files changed, 153 insertions(+) create mode 100644 ModemManager.spec diff --git a/ModemManager.spec b/ModemManager.spec new file mode 100644 index 0000000..4fd37dc --- /dev/null +++ b/ModemManager.spec @@ -0,0 +1,151 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: ModemManager +Epoch: 1 +Version: 1.0.0 +Release: 3mamba +Summary: Provides a DBus interface to communicate with mobile broadband (GSM, CDMA, UMTS, …) cards +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://gitorious.org/modemmanager +## Source from git: +## git clone git://anongit.freedesktop.org/ModemManager/ModemManager.git +## cd ModemManager +## ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var +Source: http://www.freedesktop.org/software/ModemManager/ModemManager-%{version}.tar.xz +#Source: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/%{majver}/ModemManager-%{version}.tar.xz +#Source: http://cgit.freedesktop.org/ModemManager/ModemManager/snapshot/ModemManager-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libmbim-devel +BuildRequires: libpcre-devel +BuildRequires: libqmi-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: libz-devel +BuildRequires: polkit-devel +BuildRequires: systemd-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRequires: libqmi-devel >= 1.8.0 +Requires: mobile-broadband-provider-info +Requires: usb-modeswitch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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 static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +if [ $1 -ge 1 ]; then + systemctl -q daemon-reload + systemctl -q enable ModemManager +fi +: + +%preun +# erase +if [ $1 -eq 0 ]; then + systemctl -q stop ModemManager + systemctl -q disable ModemManager + systemctl -q daemon-reload +fi +exit 0 + +%files +%defattr(-,root,root) +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf +%{_bindir}/mmcli +/lib/systemd/system/ModemManager.service +/lib/udev/rules.d/77-mm-*.rules +/lib/udev/rules.d/80-mm-candidate.rules +%{_sbindir}/ModemManager +%{_libdir}/libmm-glib.so.* +%dir %{_libdir}/ModemManager +%{_libdir}/ModemManager/libmm-* +%{_datadir}/dbus-1/interfaces/* +%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service +%{_datadir}/polkit-1/actions/org.freedesktop.ModemManager1.policy +%{_datadir}/icons/hicolor/22x22/apps/ModemManager.png +%{_mandir}/man8/ModemManager.8.gz +%{_mandir}/man8/mmcli.8.gz +%doc AUTHORS COPYING +# README + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/ModemManager +%{_includedir}/ModemManager/ModemManager*.h +%dir %{_includedir}/libmm-glib +%{_includedir}/libmm-glib/*.h +%{_libdir}/libmm-glib.a +%{_libdir}/libmm-glib.la +%{_libdir}/libmm-glib.so +%{_libdir}/pkgconfig/ModemManager.pc +%{_libdir}/pkgconfig/mm-glib.pc + +%changelog +* Sun Jan 12 2014 Silvan Calarco 1.0.0-3mamba +- rebuilt with libqmi 1.8.0 + +* Sun Dec 01 2013 Silvan Calarco 1.0.0-2mamba +- enable systemd service on install + +* Sun Nov 24 2013 Silvan Calarco 1.0.0-1mamba +- update to 1.0.0 + +* Tue Jun 11 2013 Automatic Build System 0.7.991-1mamba +- automatic version update by autodist + +* Mon Dec 10 2012 Automatic Build System 0.7.990-1mamba +- automatic version update by autodist + +* Tue Oct 23 2012 Automatic Build System 0.6.0.0-1mamba +- automatic version update by autodist + +* Thu Aug 09 2012 Automatic Build System 0.5.995.0-1mamba +- automatic version update by autodist + +* Sat Mar 17 2012 Silvan Calarco 0.5.2.0-1mamba +- update to 0.5.2.0 + +* Tue Mar 06 2012 Silvan Calarco 0.5.1.97-1mamba +- update to 0.5.1.97 + +* Sun Sep 18 2011 Silvan Calarco 0.5-1mamba +- update to 0.5 + +* Sat Jul 30 2011 Silvan Calarco 0.4.998-1mamba +- update to 0.4.998 + +* Fri Jan 14 2011 Silvan Calarco 0.4.git20110114-1mamba +- update to 0.4.git20110114 + +* Thu Jan 13 2011 Silvan Calarco 0.4-1mamba +- package created by autospec diff --git a/README.md b/README.md index 0cd57e5..e10cc8b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ModemManager +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. +