[7786] | 1 | #%define git_snapshot .git20130607 |
---|
| 2 | %define git_snapshot %{nil} |
---|
[9002] | 3 | #define ppp_version 2.4.7 |
---|
[8353] | 4 | %define glib2_version 2.40 |
---|
[985] | 5 | |
---|
[9002] | 6 | Name: ModemManager |
---|
[985] | 7 | Summary: Mobile broadband modem management service |
---|
| 8 | Summary(ja): Mobile broadband modem management service |
---|
[9073] | 9 | Version: 1.4.0 |
---|
| 10 | Release: 1%{git_snapshot}%{?_dist_release} |
---|
[985] | 11 | License: GPLv2+ |
---|
| 12 | Group: System Environment/Base |
---|
| 13 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
| 14 | |
---|
| 15 | # |
---|
| 16 | # Source from git://anongit.freedesktop.org/ModemManager/ModemManager |
---|
| 17 | # tarball built with: |
---|
| 18 | # ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var |
---|
| 19 | # make distcheck |
---|
| 20 | # |
---|
[7786] | 21 | #Source: %{name}-%{version}%{git_snapshot}.tar.bz2 |
---|
[985] | 22 | |
---|
[7786] | 23 | Source: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz |
---|
| 24 | |
---|
[7712] | 25 | Patch0: buildsys-hates-openpty.patch |
---|
| 26 | |
---|
[985] | 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[7712] | 28 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
[9002] | 29 | BuildRequires: eudev-libgudev1-devel |
---|
[985] | 30 | BuildRequires: automake autoconf intltool libtool |
---|
[7712] | 31 | BuildRequires: gtk-doc |
---|
[985] | 32 | # for xsltproc |
---|
| 33 | BuildRequires: libxslt |
---|
[9002] | 34 | Requires: dbus-glib |
---|
[985] | 35 | |
---|
| 36 | %description |
---|
[7712] | 37 | The ModemManager service manages WWAN modems and provides a consistent API for |
---|
| 38 | interacting with these devices to client applications. |
---|
[985] | 39 | |
---|
[7712] | 40 | |
---|
| 41 | %package devel |
---|
| 42 | Summary: Development tools for %{name} |
---|
| 43 | Summary(ja): %{name} の開発環境 |
---|
| 44 | Group: Development/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: pkgconfig |
---|
| 47 | |
---|
| 48 | %description devel |
---|
| 49 | Header files and libraries for building a extension library for the %{name}. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %package glib |
---|
| 53 | Summary: Libraries for adding ModemManager support to applications that use glib. |
---|
[9002] | 54 | Summary(ja): Glib を使用するアプリケーションに ModemManager サポートを追加するためのライブラリ |
---|
| 55 | Group: System Environment/Libraries |
---|
[7712] | 56 | Requires: glib2 >= %{glib2_version} |
---|
| 57 | |
---|
| 58 | %description glib |
---|
| 59 | This package contains the libraries that make it easier to use some ModemManager |
---|
| 60 | functionality from applications that use glib. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %package glib-devel |
---|
| 64 | Summary: Development tools for %{name}-glib |
---|
| 65 | Summary(ja): %{name}-glib の開発環境 |
---|
| 66 | Group: Development/Libraries |
---|
| 67 | Requires: %{name}-glib = %{version}-%{release} |
---|
| 68 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 69 | Requires: glib2-devel |
---|
| 70 | Requires: pkgconfig |
---|
| 71 | |
---|
| 72 | %description glib-devel |
---|
| 73 | Header files and libraries for building a extension library for the %{name}-glib. |
---|
| 74 | |
---|
[985] | 75 | %prep |
---|
| 76 | %setup -q |
---|
[7712] | 77 | %patch0 -p1 -b .pty |
---|
[985] | 78 | |
---|
| 79 | %build |
---|
[7712] | 80 | autoreconf -if |
---|
| 81 | intltoolize --force |
---|
[9002] | 82 | #pppddir=`ls -1d %{_libdir}/pppd/2*` |
---|
[985] | 83 | %configure \ |
---|
[9002] | 84 | --disable-static \ |
---|
| 85 | --enable-gtk-doc=yes \ |
---|
| 86 | --enable-introspection=no \ |
---|
| 87 | --enable-vala=no \ |
---|
[985] | 88 | --enable-more-warnings=yes \ |
---|
| 89 | --with-udev-base-dir=/lib/udev \ |
---|
[9002] | 90 | --with-polkit=none \ |
---|
| 91 | --without-mbim \ |
---|
[7712] | 92 | --without-qmi \ |
---|
[9002] | 93 | --with-dist-version=%{version}-%{release} |
---|
[985] | 94 | |
---|
[9002] | 95 | |
---|
[985] | 96 | make %{?_smp_mflags} |
---|
| 97 | |
---|
| 98 | %check |
---|
| 99 | make check |
---|
| 100 | |
---|
| 101 | %install |
---|
| 102 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 103 | |
---|
[7712] | 104 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[9002] | 105 | #rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.so |
---|
[985] | 106 | |
---|
[8353] | 107 | %find_lang %{name} |
---|
| 108 | |
---|
[985] | 109 | %post |
---|
| 110 | /sbin/ldconfig |
---|
| 111 | touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : |
---|
| 112 | |
---|
| 113 | %postun |
---|
| 114 | /sbin/ldconfig |
---|
| 115 | if [ $1 -eq 0 ]; then |
---|
| 116 | touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : |
---|
| 117 | gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : |
---|
| 118 | fi |
---|
| 119 | |
---|
| 120 | %posttrans |
---|
| 121 | gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : |
---|
| 122 | |
---|
[7712] | 123 | %post glib -p /sbin/ldconfig |
---|
| 124 | %postun glib -p /sbin/ldconfig |
---|
| 125 | |
---|
[8353] | 126 | %files -f %{name}.lang |
---|
[985] | 127 | %defattr(0644, root, root, 0755) |
---|
| 128 | %doc COPYING README |
---|
[7712] | 129 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf |
---|
| 130 | %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service |
---|
| 131 | %attr(0755,root,root) %{_sbindir}/ModemManager |
---|
| 132 | %attr(0755,root,root) %{_bindir}/mmcli |
---|
[985] | 133 | %dir %{_libdir}/%{name} |
---|
| 134 | %attr(0755,root,root) %{_libdir}/%{name}/*.so* |
---|
| 135 | /lib/udev/rules.d/* |
---|
[7712] | 136 | %{_datadir}/dbus-1/interfaces/*.xml |
---|
| 137 | %{_datadir}/icons/hicolor/22x22/apps/*.png |
---|
| 138 | %{_mandir}/man8/* |
---|
[985] | 139 | |
---|
[7712] | 140 | %files devel |
---|
| 141 | %defattr(0644, root, root, 0755) |
---|
| 142 | %{_includedir}/ModemManager/*.h |
---|
| 143 | %dir %{_datadir}/gtk-doc/html/%{name} |
---|
| 144 | %{_datadir}/gtk-doc/html/%{name}/* |
---|
| 145 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 146 | |
---|
| 147 | %files glib |
---|
| 148 | %defattr(0644, root, root, 0755) |
---|
| 149 | %{_libdir}/libmm-glib.so.* |
---|
| 150 | |
---|
| 151 | %files glib-devel |
---|
| 152 | %defattr(0644, root, root, 0755) |
---|
| 153 | %{_libdir}/libmm-glib.so |
---|
| 154 | %dir %{_includedir}/libmm-glib |
---|
| 155 | %{_includedir}/libmm-glib/*.h |
---|
| 156 | %{_libdir}/pkgconfig/mm-glib.pc |
---|
| 157 | %dir %{_datadir}/gtk-doc/html/libmm-glib |
---|
| 158 | %{_datadir}/gtk-doc/html/libmm-glib/* |
---|
| 159 | |
---|
| 160 | |
---|
[985] | 161 | %changelog |
---|
[9073] | 162 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[9002] | 165 | * Tue Oct 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.0-2 |
---|
| 166 | - moved ModemManager-glib to System Environment/Libraries Group |
---|
| 167 | - removed BR: ppp, ppp-devel and dbus-glib-devel |
---|
| 168 | |
---|
[8353] | 169 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 170 | - new upstream release |
---|
| 171 | - remove Patch1 (ModemManager-1.0.0-git20130911.patch) |
---|
| 172 | |
---|
[8073] | 173 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2 |
---|
| 174 | - add Patch1 (ModemManager-1.0.0-git20130911.patch) |
---|
| 175 | |
---|
[7786] | 176 | * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1 |
---|
| 177 | - new upstream release |
---|
| 178 | - update Patch0 |
---|
| 179 | |
---|
[7712] | 180 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.991-1.git20130607 |
---|
| 181 | - update to 0.7.991 snapshot |
---|
| 182 | - fix spec file based on FC package |
---|
| 183 | * Fri Jun 7 2013 Dan Williams <dcbw@redhat.com> - 0.7.991-1.git20130607 |
---|
| 184 | - Update to 0.7.991 snapshot |
---|
| 185 | - Fix SMS validity parsing |
---|
| 186 | - Allow registration changes to 'searching' without disconnecting |
---|
| 187 | - Fix reading SMS messages from some QMI-based devices |
---|
| 188 | - Increase connection timeout for Novatel E362 |
---|
| 189 | - Fix PIN retries checking when unlocking Ericsson devices |
---|
| 190 | - Better handling of supported and preferred modes (eg 2G, 3G, 4G preference) |
---|
| 191 | - add configure option (--enable-gtk-doc=yes, --without-qmi) |
---|
| 192 | |
---|
[6011] | 193 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.2.0-1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
[4650] | 196 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1 |
---|
| 197 | - new upstream release |
---|
| 198 | |
---|
[4616] | 199 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.998-1 |
---|
| 200 | - delete Patch20 |
---|
| 201 | |
---|
[3791] | 202 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
| 203 | - update Patch20 (ModemManager-0.4-git20110428.patch) |
---|
| 204 | - delete Patch21,22 |
---|
| 205 | |
---|
[2422] | 206 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-1 |
---|
| 207 | - update to 0.4 |
---|
| 208 | - add Patch20 (ModemManager-0.4-git20100720.patch) |
---|
| 209 | - add Patch21 (ModemManager-0.4-glib2-2.25.12.patch) |
---|
| 210 | - add Patch22 (ModemManager-0.4-dbus-glib-property-access-bug.patch) |
---|
| 211 | |
---|
[985] | 212 | * Fri May 07 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3-1.git20100502 |
---|
| 213 | - initial build for Vine Linux |
---|
| 214 | |
---|
| 215 | * Sun May 2 2010 Dan Williams <dcbw@redhat.com> - 0.3-11.git20100502 |
---|
| 216 | - core: ignore some failures on disconnect (rh #578280) |
---|
| 217 | - core: add support for platform serial devices |
---|
| 218 | - gsm: better Blackberry DUN support |
---|
| 219 | - gsm: periodically poll access technology |
---|
| 220 | - cdma: prevent crash on modem removal (rh #571921) |
---|
| 221 | - mbm: add support for Sony Ericsson MD400, Dell 5541, and Dell 5542 modems |
---|
| 222 | - novatel: better signal strength reporting on CDMA cards |
---|
| 223 | - novatel: add access technology and mode preference support on GSM cards |
---|
| 224 | - zte: fix mode preference retrieval |
---|
| 225 | - longcheer: add support for Zoom modems (4595, 4596, etc) |
---|
| 226 | - longcheer: add access technology and mode preference support |
---|
| 227 | |
---|
| 228 | * Fri Apr 30 2010 Matthias Clasen <mclasen@redhat.com> - 0.3-10.git20100409 |
---|
| 229 | - Silence %%post |
---|
| 230 | - Update scripts |
---|
| 231 | |
---|
| 232 | * Fri Apr 9 2010 Dan Williams <dcbw@redhat.com> - 0.3-9.git20100409 |
---|
| 233 | - gsm: fix parsing Blackberry supported character sets response |
---|
| 234 | |
---|
| 235 | * Thu Apr 8 2010 Dan Williams <dcbw@redhat.com> - 0.3-8.git20100408 |
---|
| 236 | - mbm: fix retrieval of current allowed mode |
---|
| 237 | - gsm: fix initialization issues with some devices (like Blackberries) |
---|
| 238 | |
---|
| 239 | * Mon Apr 5 2010 Dan Williams <dcbw@redhat.com> - 0.3-7.git20100405 |
---|
| 240 | - core: fix detection of some generic devices (rh #579247) |
---|
| 241 | - core: fix detection regression of some Huawei devices in 0.3-5 |
---|
| 242 | - cdma: periodically poll registration state and signal quality |
---|
| 243 | - cdma: really fix registration detection on various devices (rh #569067) |
---|
| 244 | |
---|
| 245 | * Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-6.git20100331 |
---|
| 246 | - core: fix PPC/SPARC/etc builds |
---|
| 247 | |
---|
| 248 | * Wed Mar 31 2010 Dan Williams <dcbw@redhat.com> - 0.3-5.git20100331 |
---|
| 249 | - core: only export a modem when all its ports are handled (rh #540438, rh #569067, rh #552121) |
---|
| 250 | - cdma: handle signal quality requests while connected for more devices |
---|
| 251 | - cdma: handle serving system requests while connected for more devices |
---|
| 252 | - gsm: determine current access technology earlier |
---|
| 253 | - huawei: work around automatic registration issues on some devices |
---|
| 254 | |
---|
| 255 | * Tue Mar 23 2010 Dan Williams <dcbw@redhat.com> - 0.3-4.git20100323 |
---|
| 256 | - core: ensure enabled modems are disabled when MM stops |
---|
| 257 | - core: better capability detection for Blackberry devices (rh #573510) |
---|
| 258 | - cdma: better checking of registration states (rh #540438, rh #569067, rh #552121) |
---|
| 259 | - gsm: don't block modem when it requires PIN2 |
---|
| 260 | - option: fix access technology updates |
---|
| 261 | |
---|
| 262 | * Wed Mar 17 2010 Dan Williams <dcbw@redhat.com> - 0.3-3.git20100317 |
---|
| 263 | - mbm: add device IDs for C3607w |
---|
| 264 | - mbm: fail earlier during connection failures |
---|
| 265 | - mbm: fix username/password authentication when checked by the network |
---|
| 266 | - hso: implement asynchronous signal quality updates |
---|
| 267 | - option: implement asynchronous signal quality updates |
---|
| 268 | - novatel: correctly handle CDMA signal quality |
---|
| 269 | - core: basic PolicyKit support |
---|
| 270 | - core: fix direct GSM registration information requests |
---|
| 271 | - core: general GSM PIN/PUK unlock fixes |
---|
| 272 | - core: poll GSM registration state internally for quicker status updates |
---|
| 273 | - core: implement GSM 2G/3G preference |
---|
| 274 | - core: implement GSM roaming allowed/disallowed preference |
---|
| 275 | - core: emit signals on access technology changes |
---|
| 276 | - core: better handling of disconnections |
---|
| 277 | - core: fix simple CDMA status requests |
---|
| 278 | |
---|
| 279 | * Thu Feb 11 2010 Dan Williams <dcbw@redhat.com> - 0.3-2.git20100211 |
---|
| 280 | - core: startup speed improvements |
---|
| 281 | - core: GSM PIN checking improvements |
---|
| 282 | - huawei: fix EVDO-only connections on various devices (rh #553199) |
---|
| 283 | - longcheer: add support for more devices |
---|
| 284 | |
---|
| 285 | * Tue Jan 19 2010 Dan Williams <dcbw@redhat.com> - 0.3-1.git20100119 |
---|
| 286 | - anydata: new plugin for AnyData CDMA modems (rh #547294) |
---|
| 287 | - core: fix crashes when devices are unplugged during operation (rh #553953) |
---|
| 288 | - cdma: prefer primary port for status/registration queries |
---|
| 289 | - core: fix probing/detection of some PIN-locked devices (rh #551376) |
---|
| 290 | - longcheer: add plugin for Alcatel (X020, X030, etc) and other devices |
---|
| 291 | - gsm: fix Nokia N80 network scan parsing |
---|
| 292 | |
---|
| 293 | * Fri Jan 1 2010 Dan Williams <dcbw@redhat.com> - 0.2.997-5.git20100101 |
---|
| 294 | - core: fix apparent hangs by limiting retried serial writes |
---|
| 295 | - gsm: ensure modem state is reset when disabled |
---|
| 296 | |
---|
| 297 | * Fri Dec 18 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-4.git20091218 |
---|
| 298 | - sierra: fix CDMA registration detection in some cases (rh #547513) |
---|
| 299 | |
---|
| 300 | * Wed Dec 16 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-3.git20091216 |
---|
| 301 | - sierra: ensure CDMA device is powered up when trying to use it |
---|
| 302 | - cdma: better signal quality parsing (fixes ex Huawei EC168C) |
---|
| 303 | - zte: handle unsolicited messages better during probing |
---|
| 304 | |
---|
| 305 | * Mon Dec 14 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-2.git20091214 |
---|
| 306 | - cdma: fix signal strength reporting on some devices |
---|
| 307 | - cdma: better registration state detection when dialing (ex Sierra 5275) |
---|
| 308 | - option: always use the correct tty for dialing commands |
---|
| 309 | |
---|
| 310 | * Mon Dec 7 2009 Dan Williams <dcbw@redhat.com> - 0.2.997-1 |
---|
| 311 | - core: fix reconnect after manual disconnect (rh #541314) |
---|
| 312 | - core: fix various segfaults during registration |
---|
| 313 | - core: fix probing of various modems on big-endian architectures (ie PPC) |
---|
| 314 | - core: implement modem states to avoid duplicate operations |
---|
| 315 | - hso: fix authentication for Icera-based devices like iCON 505 |
---|
| 316 | - zte: use correct port for new devices |
---|
| 317 | - nozomi: fix detection |
---|
| 318 | |
---|
| 319 | * Thu Nov 5 2009 Dan Williams <dcbw@redhat.com> - 0.2-4.20091105 |
---|
| 320 | - Update to latest git |
---|
| 321 | - core: fix pppd 2.4.5 errors about 'baudrate 0' |
---|
| 322 | - cdma: wait for network registration before trying to connect |
---|
| 323 | - gsm: add cell access technology reporting |
---|
| 324 | - gsm: allow longer-running network scans |
---|
| 325 | - mbm: various fixes for Ericsson F3507g/F3607gw/Dell 5530 |
---|
| 326 | - nokia: don't power down phones on disconnect |
---|
| 327 | - hso: fix disconnection/disable |
---|
| 328 | |
---|
| 329 | * Wed Aug 26 2009 Dan Williams <dcbw@redhat.com> - 0.2-3.20090826 |
---|
| 330 | - Fixes for Motorola and Ericsson devices |
---|
| 331 | - Fixes for CDMA "serving-system" command parsing |
---|
| 332 | |
---|
| 333 | * Fri Jul 31 2009 Matthias Clasen <mclasen@redhat.com> |
---|
| 334 | - Fix a typo in one of the udev rules files |
---|
| 335 | |
---|
| 336 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2.20090707 |
---|
| 337 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 338 | |
---|
| 339 | * Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-1.20090707 |
---|
| 340 | - Fix source repo location |
---|
| 341 | - Fix directory ownership |
---|
| 342 | |
---|
| 343 | * Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-0.20090707 |
---|
| 344 | - Initial version |
---|
| 345 | |
---|