|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
%define snapshot .git20100211
|
|
|
|
|
%define snapshot .git20100720
|
|
|
|
|
%define ppp_version 2.4.5
|
|
|
|
|
|
|
|
|
|
Summary: Mobile broadband modem management service
|
|
|
|
|
Name: ModemManager
|
|
|
|
|
Version: 0.3
|
|
|
|
|
Release: 2%{snapshot}%{?dist}
|
|
|
|
|
Version: 0.4
|
|
|
|
|
Release: 4%{snapshot}%{?dist}
|
|
|
|
|
#
|
|
|
|
|
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
|
|
|
|
# tarball built with:
|
|
|
|
@ -24,6 +24,8 @@ BuildRequires: dbus-glib-devel >= 0.82
|
|
|
|
|
BuildRequires: libgudev-devel >= 143
|
|
|
|
|
BuildRequires: ppp = %{ppp_version}
|
|
|
|
|
BuildRequires: ppp-devel = %{ppp_version}
|
|
|
|
|
BuildRequires: polkit-devel
|
|
|
|
|
BuildRequires: automake autoconf intltool libtool
|
|
|
|
|
# for xsltproc
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
|
|
|
|
@ -43,7 +45,9 @@ pppddir=`ls -1d %{_libdir}/pppd/2*`
|
|
|
|
|
--with-tests=yes \
|
|
|
|
|
--with-docs=yes \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-pppd-plugin-dir=$pppddir
|
|
|
|
|
--with-pppd-plugin-dir=$pppddir \
|
|
|
|
|
--with-polkit=no \
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
@ -51,19 +55,25 @@ make %{?_smp_mflags}
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.la
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.so
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%posttrans
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(0644, root, root, 0755)
|
|
|
|
@ -74,8 +84,101 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
|
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
|
|
|
|
/lib/udev/rules.d/*
|
|
|
|
|
%{_datadir}/polkit-1/actions/*.policy
|
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/modem-manager.png
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 20 2010 Dan Williams <dcbw@redhat.com> - 0.4-4.git20100720
|
|
|
|
|
- gsm: fix issue with invalid operator names (rh #597088)
|
|
|
|
|
- novatel: fix S720 signal strength reporting
|
|
|
|
|
- novatel: detect CDMA home/roaming status
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2010 Dan Williams <dcbw@redhat.com> - 0.4-2.git20100628
|
|
|
|
|
- core: fix crash during probing when a plugin doesn't support all ports (rh #603294)
|
|
|
|
|
- gsm: better registration state checking when devices don't support AT+CREG (Blackberries)
|
|
|
|
|
- gsm: add support for getting remaining unlock retry counts
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2010 Dan Williams <dcbw@redhat.com> - 0.4-1.git20100622
|
|
|
|
|
- core: fix occasional crash when device is unplugged (rh #591728)
|
|
|
|
|
- core: ensure errors are correctly returned when device is unplugged
|
|
|
|
|
- core: ensure claimed ports don't fall back to Generic (rh #597296)
|
|
|
|
|
- gsm: better compatibility with various phones
|
|
|
|
|
- mbm: better detection of connection errors
|
|
|
|
|
- simtech: add plugin for Simtech devices (like Airlink 3GU)
|
|
|
|
|
- sierra: fix CDMA roaming detection
|
|
|
|
|
|
|
|
|
|
* Fri May 7 2010 Dan Williams <dcbw@redhat.com> - 0.3-13.git20100507
|
|
|
|
|
- core: fix crash when plugging in some Sierra and Option NV devices (rh #589798)
|
|
|
|
|
- gsm: better compatibility with various Sony Ericsson phones
|
|
|
|
|
- longcheer: better support for Alcatel X060s modems
|
|
|
|
|
|
|
|
|
|
* Tue May 4 2010 Dan Williams <dcbw@redhat.com> - 0.3-12.git20100504
|
|
|
|
|
- core: fix data port assignments (rh #587400)
|
|
|
|
|
|
|
|
|
|
* Sun May 2 2010 Dan Williams <dcbw@redhat.com> - 0.3-11.git20100502
|
|
|
|
|
- core: ignore some failures on disconnect (rh #578280)
|
|
|
|
|
- core: add support for platform serial devices
|
|
|
|
|
- gsm: better Blackberry DUN support
|
|
|
|
|
- gsm: periodically poll access technology
|
|
|
|
|
- cdma: prevent crash on modem removal (rh #571921)
|
|
|
|
|
- mbm: add support for Sony Ericsson MD400, Dell 5541, and Dell 5542 modems
|
|
|
|
|
- novatel: better signal strength reporting on CDMA cards
|
|
|
|
|
- novatel: add access technology and mode preference support on GSM cards
|
|
|
|
|
- zte: fix mode preference retrieval
|
|
|
|
|
- longcheer: add support for Zoom modems (4595, 4596, etc)
|
|
|
|
|
- longcheer: add access technology and mode preference support
|
|
|
|
|
|
|
|
|
|
* Fri Apr 30 2010 Matthias Clasen <mclasen@redhat.com> - 0.3-10.git20100409
|
|
|
|
|
- Silence %%post
|
|
|
|
|
- Update scripts
|
|
|
|
|
|
|
|
|
|
* Fri Apr 9 2010 Dan Williams <dcbw@redhat.com> - 0.3-9.git20100409
|
|
|
|
|
- gsm: fix parsing Blackberry supported character sets response
|
|
|
|
|
|
|
|
|
|
* Thu Apr 8 2010 Dan Williams <dcbw@redhat.com> - 0.3-8.git20100408
|
|
|
|
|
- mbm: fix retrieval of current allowed mode
|
|
|
|
|
- gsm: fix initialization issues with some devices (like Blackberries)
|
|
|
|
|
|
|
|
|
|
* Mon Apr 5 2010 Dan Williams <dcbw@redhat.com> - 0.3-7.git20100405
|
|
|
|
|
- core: fix detection of some generic devices (rh #579247)
|
|
|
|
|
- core: fix detection regression of some Huawei devices in 0.3-5
|
|
|
|
|
- cdma: periodically poll registration state and signal quality
|
|
|
|
|
- cdma: really fix registration detection on various devices (rh #569067)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-6.git20100331
|
|
|
|
|
- core: fix PPC/SPARC/etc builds
|
|
|
|
|
|
|
|
|
|
* Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-5.git20100331
|
|
|
|
|
- core: only export a modem when all its ports are handled (rh #540438, rh #569067, rh #552121)
|
|
|
|
|
- cdma: handle signal quality requests while connected for more devices
|
|
|
|
|
- cdma: handle serving system requests while connected for more devices
|
|
|
|
|
- gsm: determine current access technology earlier
|
|
|
|
|
- huawei: work around automatic registration issues on some devices
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2010 Dan Williams <dcbw@redhat.com> - 0.3-4.git20100323
|
|
|
|
|
- core: ensure enabled modems are disabled when MM stops
|
|
|
|
|
- core: better capability detection for Blackberry devices (rh #573510)
|
|
|
|
|
- cdma: better checking of registration states (rh #540438, rh #569067, rh #552121)
|
|
|
|
|
- gsm: don't block modem when it requires PIN2
|
|
|
|
|
- option: fix access technology updates
|
|
|
|
|
|
|
|
|
|
* Wed Mar 17 2010 Dan Williams <dcbw@redhat.com> - 0.3-3.git20100317
|
|
|
|
|
- mbm: add device IDs for C3607w
|
|
|
|
|
- mbm: fail earlier during connection failures
|
|
|
|
|
- mbm: fix username/password authentication when checked by the network
|
|
|
|
|
- hso: implement asynchronous signal quality updates
|
|
|
|
|
- option: implement asynchronous signal quality updates
|
|
|
|
|
- novatel: correctly handle CDMA signal quality
|
|
|
|
|
- core: basic PolicyKit support
|
|
|
|
|
- core: fix direct GSM registration information requests
|
|
|
|
|
- core: general GSM PIN/PUK unlock fixes
|
|
|
|
|
- core: poll GSM registration state internally for quicker status updates
|
|
|
|
|
- core: implement GSM 2G/3G preference
|
|
|
|
|
- core: implement GSM roaming allowed/disallowed preference
|
|
|
|
|
- core: emit signals on access technology changes
|
|
|
|
|
- core: better handling of disconnections
|
|
|
|
|
- core: fix simple CDMA status requests
|
|
|
|
|
|
|
|
|
|
* Thu Feb 11 2010 Dan Williams <dcbw@redhat.com> - 0.3-2.git20100211
|
|
|
|
|
- core: startup speed improvements
|
|
|
|
|
- core: GSM PIN checking improvements
|
|
|
|
|