|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
%define snapshot .git20100720
|
|
|
|
|
%define snapshot .git20110706
|
|
|
|
|
%define ppp_version 2.4.5
|
|
|
|
|
|
|
|
|
|
Summary: Mobile broadband modem management service
|
|
|
|
|
Name: ModemManager
|
|
|
|
|
Version: 0.4
|
|
|
|
|
Release: 4%{snapshot}%{?dist}
|
|
|
|
|
Version: 0.4.998
|
|
|
|
|
Release: 1%{snapshot}%{?dist}
|
|
|
|
|
#
|
|
|
|
|
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
|
|
|
|
# tarball built with:
|
|
|
|
@ -24,28 +24,35 @@ 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
|
|
|
|
|
|
|
|
|
|
Patch0: buildsys-hates-openpty.patch
|
|
|
|
|
|
|
|
|
|
# HACK patch to workaround FTBFS on sparc, type mismatch where
|
|
|
|
|
# suseconds_t is int -- Rex
|
|
|
|
|
Patch1: ModemManager-0.4-hack_sparc_werror.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The ModemManager service provides a consistent API to operate many different
|
|
|
|
|
modems, including mobile broadband (3G) devices.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .pty
|
|
|
|
|
%patch1 -p1 -b .hack_sparc_werror.patch
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
pppddir=`ls -1d %{_libdir}/pppd/2*`
|
|
|
|
|
autoreconf -i
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-more-warnings=yes \
|
|
|
|
|
--with-udev-base-dir=/lib/udev \
|
|
|
|
|
--with-tests=yes \
|
|
|
|
|
--with-docs=yes \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-pppd-plugin-dir=$pppddir \
|
|
|
|
|
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
|
|
|
|
|
--with-polkit=no \
|
|
|
|
|
--with-dist-version=%{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -60,6 +67,7 @@ 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
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_includedir}/mm/mm-modem.h
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
@ -86,8 +94,58 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
|
|
|
/lib/udev/rules.d/*
|
|
|
|
|
%{_datadir}/polkit-1/actions/*.policy
|
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/modem-manager.png
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 7 2011 Dan Williams <dcbw@redhat.com> - 0.4.998-1.git20110706
|
|
|
|
|
- Update to 0.5-beta4
|
|
|
|
|
- gsm: various USSD fixes
|
|
|
|
|
- samsung: support for Y3400 module and various other fixes
|
|
|
|
|
- gobi: support access technology reporting while disconnected
|
|
|
|
|
- nokia: fix issues with N900 USB connected operation (rh #583691)
|
|
|
|
|
|
|
|
|
|
* Mon Jun 6 2011 Dan Williams <dcbw@redhat.com> - 0.4.997-1
|
|
|
|
|
- Update to 0.5-beta3
|
|
|
|
|
- samsung: only support Y3300 (fixes issues with other Samsung modems)
|
|
|
|
|
- longcheer: restrict to only supported devices
|
|
|
|
|
- simtech: add support for Prolink PH-300
|
|
|
|
|
- gsm: various SMS cleanups and fixes
|
|
|
|
|
- x22x: add support for access technology reporting and the Alcatel X200 modem
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2011 Dan Williams <dcbw@redhat.com> 0.4-8.git20110427
|
|
|
|
|
- samsung: add support for Samsung Y3300 GSM modem
|
|
|
|
|
- huawei: fixes for probing and handling various Huawei devices
|
|
|
|
|
- wavecom: add support for some Wavecom modems
|
|
|
|
|
- zte: fix crashes with Icera-based devices
|
|
|
|
|
- mbm: add support for Lenovo F5521gw module
|
|
|
|
|
- core: add support for basic SMS reception
|
|
|
|
|
- core: faster probing for devices that support it (option, samsung)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 25 2011 Rex Dieter <rdieter@fedoraproejct.org> 0.4-7.git20110201.1
|
|
|
|
|
- hack around FTBFS on sparc
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7.git20110201
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 1 2011 Dan Williams <dcbw@redhat.com> - 0.4-6.git20110201
|
|
|
|
|
- Attempt to fix Icera plugin crash on second dial
|
|
|
|
|
|
|
|
|
|
* Tue Feb 1 2011 Dan Williams <dcbw@redhat.com> - 0.4-5.git20110201
|
|
|
|
|
- core: add device and SIM identifier properties
|
|
|
|
|
- dbus: fix property access permissions via D-Bus (rh #58594)
|
|
|
|
|
- cdma: better detection of EVDO registration
|
|
|
|
|
- cdma: recognize dual-mode devices as CDMA instead of GSM
|
|
|
|
|
- gsm: better handling of wrong PIN entry
|
|
|
|
|
- gsm: allow usage of older GSM character encoding schemes
|
|
|
|
|
- gsm: preliminary USSD support
|
|
|
|
|
- gsm: fix handling of modems that report signal strength via +CIND
|
|
|
|
|
- sierra: fix handling of Sierra CnS ports mistakenly recognized as QCDM
|
|
|
|
|
- sierra: ensure packet-switched network attachment before dialing
|
|
|
|
|
- zte: add support for T-Mobile Rocket 2.0
|
|
|
|
|
- mbm: add support for HP-branded Ericsson devices
|
|
|
|
|
- linktop: add support for Linktop/Teracom LW273
|
|
|
|
|
- x22x: add support for various Alcatel devices (like the X220D)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 20 2010 Dan Williams <dcbw@redhat.com> - 0.4-4.git20100720
|
|
|
|
|
- gsm: fix location services API signals
|
|
|
|
|
- gsm: fix issue with invalid operator names (rh #597088)
|
|
|
|
|