source: projects/specs/trunk/M/ModemManager/ModemManager-vl.spec @ 12446

Revision 12446, 14.3 KB checked in by tomop, 4 years ago (diff)

updated 92 packages

ModemManager?-1.14.0-1

accountsservice-0.6.55-1

adwaita-icon-theme-3.36.1-1

cheese-3.34.0-1

clutter-gst3-3.0.27-1

clutter-gtk-1.8.4-2

clutter-1.26.4-1

cogl-1.22.8-1

colord-gtk-0.2.0-1

colord-1.4.4-1

control-center-3.36.4-1

eog-plugins-3.26.5-1

eog-3.36.3-1

evince-3.36.7-1

evolution-data-server-3.36.4-1

evolution-3.36.4-1

folks-0.14.0-1

fuse3-3.9.2-2

gcr-3.36.0-1

gdm-3.36.3-1

geocode-glib-3.26.2-1

gjs-1.64.4-1

glade3-3.36.0-1

gnome-applets-3.36.4-1

gnome-autoar-0.2.4-1

gnome-bluetooth-3.34.1-1

gnome-books-3.34.0-3

gnome-clocks-3.36.2-1

gnome-color-manager-3.36.0-1

gnome-contacts-3.36.2-1

gnome-desktop3-3.36.4-1

gnome-documents-3.34.0-1

gnome-flashback-3.36.3-1

gnome-font-viewer-3.34.0-1

gnome-keyring-3.36.0-1

gnome-menus-3.36.0-1

gnome-online-accounts-3.36.0-1

gnome-panel-3.36.2-1

gnome-session-3.36.0-1

gnome-settings-daemon-3.36.1-1

gnome-shell-3.36.4-1

gnome-software-3.36.1-1

gnome-themes-extra-3.28-2

gnome-tweaks-3.34.0-1

gnome-video-effects-0.5.0-1

gom-0.4-1

graphene-1.10.2-2

grilo-plugins-0.3.11-1

grilo-0.3.12-1

gsettings-desktop-schemas-3.36.1-1

gsound-1.0.2-3

gvfs-1.44.1-1

libaccounts-glib-1.25-1

libappindicator-12.10.0-1

libchamplain-0.12.20-1

libdbusmenu-16.04.0-1

libgdata-0.17.12-1

libgepub-0.6.0-4

libgphoto2-2.5.25-1

libgweather-3.36.1-1

libgxps-0.3.1-1

libhandy0-0.0.13-6

libical-3.0.8-2

libindicator-12.10.1-2

libmtp-1.1.17-1

libnma-1.8.30-2

liboauth-1.0.3-2

libsecret-0.20.3-1

libspectre-0.2.9-1

libwacom-1.4.1-1

libwnck3-3.36.0-1

libxmlb-0.1.15-3

metacity-3.36.1-1

mm-common-1.0.1-3

mobile-broadband-provider-info-0.20190618-1

mozjs68-68.11.0-1

mutter-3.36.4-1

nautilus-3.36.3-1

network-manager-applet-1.18.0-1

pipewire-0.3.8-1

python-dbusmock-0.18.3-6

python-mallard-ducktype-1.0.2-8

startup-notification-0.12-4

totem-pl-parser-3.26.5-1

totem-3.34.1-1

vala-0.48.8-1

xdg-desktop-portal-gtk-1.7.1-1

xdg-desktop-portal-1.7.2-1

yelp-tools-3.32.2-1

yelp-xsl-3.36.0-1

yelp-3.36.0-1

zenity-3.32.0-1

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