|
|
4193cf7 |
%define snapshot .git20100720
|
|
|
43aa805 |
%define ppp_version 2.4.5
|
|
|
dc94a44 |
|
|
|
dc94a44 |
Summary: Mobile broadband modem management service
|
|
|
dc94a44 |
Name: ModemManager
|
|
|
23e4c6c |
Version: 0.4
|
|
|
4193cf7 |
Release: 4%{snapshot}%{?dist}
|
|
|
dc94a44 |
#
|
|
|
dc94a44 |
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
|
|
dc94a44 |
# tarball built with:
|
|
|
dc94a44 |
# ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
|
|
dc94a44 |
# make distcheck
|
|
|
dc94a44 |
#
|
|
|
9de18d7 |
Source: %{name}-%{version}%{snapshot}.tar.bz2
|
|
|
dc94a44 |
License: GPLv2+
|
|
|
dc94a44 |
Group: System Environment/Base
|
|
|
dc94a44 |
|
|
|
dc94a44 |
URL: http://www.gnome.org/projects/NetworkManager/
|
|
|
dc94a44 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
e1e90ae |
Requires: dbus-glib >= 0.86
|
|
|
43aa805 |
Requires: glib2 >= 2.18
|
|
|
43aa805 |
BuildRequires: glib2-devel >= 2.18
|
|
|
43aa805 |
BuildRequires: dbus-glib-devel >= 0.82
|
|
|
dc94a44 |
BuildRequires: libgudev-devel >= 143
|
|
|
43aa805 |
BuildRequires: ppp = %{ppp_version}
|
|
|
43aa805 |
BuildRequires: ppp-devel = %{ppp_version}
|
|
|
a1fb834 |
BuildRequires: polkit-devel
|
|
|
760cfac |
BuildRequires: automake autoconf intltool libtool
|
|
|
796e01b |
# for xsltproc
|
|
|
796e01b |
BuildRequires: libxslt
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%description
|
|
|
dc94a44 |
The ModemManager service provides a consistent API to operate many different
|
|
|
dc94a44 |
modems, including mobile broadband (3G) devices.
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%prep
|
|
|
dc94a44 |
%setup -q
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%build
|
|
|
98bca22 |
|
|
|
98bca22 |
pppddir=`ls -1d %{_libdir}/pppd/2*`
|
|
|
dc94a44 |
%configure \
|
|
|
dc94a44 |
--enable-more-warnings=yes \
|
|
|
dc94a44 |
--with-udev-base-dir=/lib/udev \
|
|
|
43aa805 |
--with-tests=yes \
|
|
|
43aa805 |
--with-docs=yes \
|
|
|
98bca22 |
--disable-static \
|
|
|
a1fb834 |
--with-pppd-plugin-dir=$pppddir \
|
|
|
23e4c6c |
--with-polkit=no \
|
|
|
23e4c6c |
--with-dist-version=%{version}-%{release}
|
|
|
dc94a44 |
|
|
|
dc94a44 |
make %{?_smp_mflags}
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%check
|
|
|
dc94a44 |
make check
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%install
|
|
|
dc94a44 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
dc94a44 |
|
|
|
dc94a44 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
|
|
98bca22 |
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.la
|
|
|
98bca22 |
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.so
|
|
|
dc94a44 |
|
|
|
a1fb834 |
%post
|
|
|
a1fb834 |
/sbin/ldconfig
|
|
|
3e7f2ff |
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
dc94a44 |
|
|
|
a1fb834 |
%postun
|
|
|
a1fb834 |
/sbin/ldconfig
|
|
|
3e7f2ff |
if [ $1 -eq 0 ]; then
|
|
|
3e7f2ff |
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
3e7f2ff |
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
a1fb834 |
fi
|
|
|
dc94a44 |
|
|
|
3e7f2ff |
%posttrans
|
|
|
3e7f2ff |
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
3e7f2ff |
|
|
|
dc94a44 |
%files
|
|
|
dc94a44 |
%defattr(0644, root, root, 0755)
|
|
|
dc94a44 |
%doc COPYING README
|
|
|
dc94a44 |
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager.conf
|
|
|
dc94a44 |
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
|
|
|
dc94a44 |
%attr(0755,root,root) %{_sbindir}/modem-manager
|
|
|
dc94a44 |
%dir %{_libdir}/%{name}
|
|
|
dc94a44 |
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
|
|
dc94a44 |
/lib/udev/rules.d/*
|
|
|
a1fb834 |
%{_datadir}/polkit-1/actions/*.policy
|
|
|
a1fb834 |
%{_datadir}/icons/hicolor/22x22/apps/modem-manager.png
|
|
|
dc94a44 |
|
|
|
dc94a44 |
%changelog
|
|
|
4193cf7 |
* Tue Jul 20 2010 Dan Williams <dcbw@redhat.com> - 0.4-4.git20100720
|
|
|
4193cf7 |
- gsm: fix location services API signals
|
|
|
4193cf7 |
- gsm: fix issue with invalid operator names (rh #597088)
|
|
|
4193cf7 |
- novatel: fix S720 signal strength reporting
|
|
|
4193cf7 |
- novatel: detect CDMA home/roaming status
|
|
|
4193cf7 |
|
|
|
e1e90ae |
* Wed Jun 30 2010 Dan Williams <dcbw@redhat.com> - 0.4-3.git20100630
|
|
|
e1e90ae |
- gsm: enable the location services API
|
|
|
e1e90ae |
|
|
|
23e4c6c |
* Mon Jun 28 2010 Dan Williams <dcbw@redhat.com> - 0.4-2.git20100628
|
|
|
23e4c6c |
- core: fix crash during probing when a plugin doesn't support all ports (rh #603294)
|
|
|
23e4c6c |
- gsm: better registration state checking when devices don't support AT+CREG (Blackberries)
|
|
|
23e4c6c |
- gsm: add support for getting remaining unlock retry counts
|
|
|
23e4c6c |
|
|
|
23e4c6c |
* Tue Jun 22 2010 Dan Williams <dcbw@redhat.com> - 0.4-1.git20100622
|
|
|
23e4c6c |
- core: fix occasional crash when device is unplugged (rh #591728)
|
|
|
23e4c6c |
- core: ensure errors are correctly returned when device is unplugged
|
|
|
23e4c6c |
- core: ensure claimed ports don't fall back to Generic (rh #597296)
|
|
|
23e4c6c |
- gsm: better compatibility with various phones
|
|
|
23e4c6c |
- mbm: better detection of connection errors
|
|
|
23e4c6c |
- simtech: add plugin for Simtech devices (like Airlink 3GU)
|
|
|
23e4c6c |
- sierra: fix CDMA roaming detection
|
|
|
23e4c6c |
|
|
|
488d860 |
* Fri May 7 2010 Dan Williams <dcbw@redhat.com> - 0.3-13.git20100507
|
|
|
488d860 |
- core: fix crash when plugging in some Sierra and Option NV devices (rh #589798)
|
|
|
488d860 |
- gsm: better compatibility with various Sony Ericsson phones
|
|
|
488d860 |
- longcheer: better support for Alcatel X060s modems
|
|
|
488d860 |
|
|
|
95f1df0 |
* Tue May 4 2010 Dan Williams <dcbw@redhat.com> - 0.3-12.git20100504
|
|
|
95f1df0 |
- core: fix data port assignments (rh #587400)
|
|
|
95f1df0 |
|
|
|
7502604 |
* Sun May 2 2010 Dan Williams <dcbw@redhat.com> - 0.3-11.git20100502
|
|
|
7502604 |
- core: ignore some failures on disconnect (rh #578280)
|
|
|
7502604 |
- core: add support for platform serial devices
|
|
|
7502604 |
- gsm: better Blackberry DUN support
|
|
|
7502604 |
- gsm: periodically poll access technology
|
|
|
7502604 |
- cdma: prevent crash on modem removal (rh #571921)
|
|
|
7502604 |
- mbm: add support for Sony Ericsson MD400, Dell 5541, and Dell 5542 modems
|
|
|
7502604 |
- novatel: better signal strength reporting on CDMA cards
|
|
|
7502604 |
- novatel: add access technology and mode preference support on GSM cards
|
|
|
7502604 |
- zte: fix mode preference retrieval
|
|
|
7502604 |
- longcheer: add support for Zoom modems (4595, 4596, etc)
|
|
|
7502604 |
- longcheer: add access technology and mode preference support
|
|
|
7502604 |
|
|
|
3e7f2ff |
* Fri Apr 30 2010 Matthias Clasen <mclasen@redhat.com> - 0.3-10.git20100409
|
|
|
3e7f2ff |
- Silence %%post
|
|
|
3e7f2ff |
- Update scripts
|
|
|
3e7f2ff |
|
|
|
405f854 |
* Fri Apr 9 2010 Dan Williams <dcbw@redhat.com> - 0.3-9.git20100409
|
|
|
405f854 |
- gsm: fix parsing Blackberry supported character sets response
|
|
|
405f854 |
|
|
|
0af164b |
* Thu Apr 8 2010 Dan Williams <dcbw@redhat.com> - 0.3-8.git20100408
|
|
|
0af164b |
- mbm: fix retrieval of current allowed mode
|
|
|
0af164b |
- gsm: fix initialization issues with some devices (like Blackberries)
|
|
|
0af164b |
|
|
|
0d2d3ac |
* Mon Apr 5 2010 Dan Williams <dcbw@redhat.com> - 0.3-7.git20100405
|
|
|
0d2d3ac |
- core: fix detection of some generic devices (rh #579247)
|
|
|
0d2d3ac |
- core: fix detection regression of some Huawei devices in 0.3-5
|
|
|
0d2d3ac |
- cdma: periodically poll registration state and signal quality
|
|
|
7e69a97 |
- cdma: really fix registration detection on various devices (rh #569067)
|
|
|
0d2d3ac |
|
|
|
729d2d8 |
* Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-6.git20100331
|
|
|
729d2d8 |
- core: fix PPC/SPARC/etc builds
|
|
|
729d2d8 |
|
|
|
3c25fcf |
* Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-5.git20100331
|
|
|
3c25fcf |
- core: only export a modem when all its ports are handled (rh #540438, rh #569067, rh #552121)
|
|
|
3c25fcf |
- cdma: handle signal quality requests while connected for more devices
|
|
|
3c25fcf |
- cdma: handle serving system requests while connected for more devices
|
|
|
3c25fcf |
- gsm: determine current access technology earlier
|
|
|
3c25fcf |
- huawei: work around automatic registration issues on some devices
|
|
|
3c25fcf |
|
|
|
ae0cc4b |
* Tue Mar 23 2010 Dan Williams <dcbw@redhat.com> - 0.3-4.git20100323
|
|
|
ae0cc4b |
- core: ensure enabled modems are disabled when MM stops
|
|
|
ae0cc4b |
- core: better capability detection for Blackberry devices (rh #573510)
|
|
|
ae0cc4b |
- cdma: better checking of registration states (rh #540438, rh #569067, rh #552121)
|
|
|
ae0cc4b |
- gsm: don't block modem when it requires PIN2
|
|
|
ae0cc4b |
- option: fix access technology updates
|
|
|
ae0cc4b |
|
|
|
a1fb834 |
* Wed Mar 17 2010 Dan Williams <dcbw@redhat.com> - 0.3-3.git20100317
|
|
|
a1fb834 |
- mbm: add device IDs for C3607w
|
|
|
a1fb834 |
- mbm: fail earlier during connection failures
|
|
|
a1fb834 |
- mbm: fix username/password authentication when checked by the network
|
|
|
a1fb834 |
- hso: implement asynchronous signal quality updates
|
|
|
a1fb834 |
- option: implement asynchronous signal quality updates
|
|
|
a1fb834 |
- novatel: correctly handle CDMA signal quality
|
|
|
a1fb834 |
- core: basic PolicyKit support
|
|
|
a1fb834 |
- core: fix direct GSM registration information requests
|
|
|
a1fb834 |
- core: general GSM PIN/PUK unlock fixes
|
|
|
a1fb834 |
- core: poll GSM registration state internally for quicker status updates
|
|
|
a1fb834 |
- core: implement GSM 2G/3G preference
|
|
|
a1fb834 |
- core: implement GSM roaming allowed/disallowed preference
|
|
|
a1fb834 |
- core: emit signals on access technology changes
|
|
|
a1fb834 |
- core: better handling of disconnections
|
|
|
a1fb834 |
- core: fix simple CDMA status requests
|
|
|
a1fb834 |
|
|
|
d365efd |
* Thu Feb 11 2010 Dan Williams <dcbw@redhat.com> - 0.3-2.git20100211
|
|
|
d365efd |
- core: startup speed improvements
|
|
|
d365efd |
- core: GSM PIN checking improvements
|
|
|
d365efd |
- huawei: fix EVDO-only connections on various devices (rh #553199)
|
|
|
d365efd |
- longcheer: add support for more devices
|
|
|
d365efd |
|
|
|
43aa805 |
* Tue Jan 19 2010 Dan Williams <dcbw@redhat.com> - 0.3-1.git20100119
|
|
|
43aa805 |
- anydata: new plugin for AnyData CDMA modems (rh #547294)
|
|
|
43aa805 |
- core: fix crashes when devices are unplugged during operation (rh #553953)
|
|
|
43aa805 |
- cdma: prefer primary port for status/registration queries
|
|
|
43aa805 |
- core: fix probing/detection of some PIN-locked devices (rh #551376)
|
|
|
43aa805 |
- longcheer: add plugin for Alcatel (X020, X030, etc) and other devices
|
|
|
43aa805 |
- gsm: fix Nokia N80 network scan parsing
|
|
|
43aa805 |
|
|
|
98bca22 |
* Fri Jan 1 2010 Dan Williams <dcbw@redhat.com> - 0.2.997-5.git20100101
|
|
|
98bca22 |
- core: fix apparent hangs by limiting retried serial writes
|
|
|
98bca22 |
- gsm: ensure modem state is reset when disabled
|
|
|
98bca22 |
|
|
|
6bf3d23 |
* Fri Dec 18 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-4.git20091218
|
|
|
f74882a |
- sierra: fix CDMA registration detection in some cases (rh #547513)
|
|
|
6bf3d23 |
|
|
|
0f64f4a |
* Wed Dec 16 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-3.git20091216
|
|
|
0f64f4a |
- sierra: ensure CDMA device is powered up when trying to use it
|
|
|
0f64f4a |
- cdma: better signal quality parsing (fixes ex Huawei EC168C)
|
|
|
0f64f4a |
- zte: handle unsolicited messages better during probing
|
|
|
0f64f4a |
|
|
|
97d45a6 |
* Mon Dec 14 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-2.git20091214
|
|
|
fe0dff5 |
- cdma: fix signal strength reporting on some devices
|
|
|
fe0dff5 |
- cdma: better registration state detection when dialing (ex Sierra 5275)
|
|
|
0f64f4a |
- option: always use the correct tty for dialing commands
|
|
|
fe0dff5 |
|
|
|
9de18d7 |
* Mon Dec 7 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-1
|
|
|
9de18d7 |
- core: fix reconnect after manual disconnect (rh #541314)
|
|
|
9de18d7 |
- core: fix various segfaults during registration
|
|
|
9de18d7 |
- core: fix probing of various modems on big-endian architectures (ie PPC)
|
|
|
9de18d7 |
- core: implement modem states to avoid duplicate operations
|
|
|
9de18d7 |
- hso: fix authentication for Icera-based devices like iCON 505
|
|
|
9de18d7 |
- zte: use correct port for new devices
|
|
|
9de18d7 |
- nozomi: fix detection
|
|
|
9de18d7 |
|
|
|
44a1589 |
* Thu Nov 5 2009 Dan Williams <dcbw@redhat.com> - 0.2-4.20091105
|
|
|
44a1589 |
- Update to latest git
|
|
|
44a1589 |
- core: fix pppd 2.4.5 errors about 'baudrate 0'
|
|
|
44a1589 |
- cdma: wait for network registration before trying to connect
|
|
|
44a1589 |
- gsm: add cell access technology reporting
|
|
|
44a1589 |
- gsm: allow longer-running network scans
|
|
|
44a1589 |
- mbm: various fixes for Ericsson F3507g/F3607gw/Dell 5530
|
|
|
44a1589 |
- nokia: don't power down phones on disconnect
|
|
|
44a1589 |
- hso: fix disconnection/disable
|
|
|
44a1589 |
|
|
|
56e5de3 |
* Wed Aug 26 2009 Dan Williams <dcbw@redhat.com> - 0.2-3.20090826
|
|
|
56e5de3 |
- Fixes for Motorola and Ericsson devices
|
|
|
56e5de3 |
- Fixes for CDMA "serving-system" command parsing
|
|
|
56e5de3 |
|
|
|
154e894 |
* Fri Jul 31 2009 Matthias Clasen <mclasen@redhat.com>
|
|
|
154e894 |
- Fix a typo in one of the udev rules files
|
|
|
154e894 |
|
|
|
c54b002 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2.20090707
|
|
|
c54b002 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c54b002 |
|
|
|
dc94a44 |
* Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-1.20090707
|
|
|
dc94a44 |
- Fix source repo location
|
|
|
dc94a44 |
- Fix directory ownership
|
|
|
dc94a44 |
|
|
|
dc94a44 |
* Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-0.20090707
|
|
|
dc94a44 |
- Initial version
|
|
|
dc94a44 |
|