1 %define ppp_version 2.4.5
2 Summary: Mobile broadband modem management service
3 Summary(pl.UTF-8): Usługa zarządzająca szerokopasmowymi modemami komórkowymi
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.bz2
10 # Source0-md5: cd04109506e88bf4c4cd3e7ce0034c08
11 URL: http://www.gnome.org/projects/NetworkManager/
12 BuildRequires: autoconf >= 2.60
13 BuildRequires: automake >= 1:1.9
14 BuildRequires: dbus-glib-devel >= 0.86
15 BuildRequires: gettext-devel
16 BuildRequires: glib2-devel >= 1:2.18
17 BuildRequires: intltool >= 0.35.0
18 BuildRequires: libtool >= 2:2.2
19 BuildRequires: pkgconfig
20 BuildRequires: polkit-devel >= 0.95
21 BuildRequires: ppp-plugin-devel >= 3:%{ppp_version}
22 BuildRequires: udev-glib-devel
23 Requires: dbus-glib >= 0.86
24 Requires: glib2 >= 1:2.18
25 Requires: polkit >= 0.95
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The ModemManager service provides a consistent API to operate many
30 different modems, including mobile broadband (3G) devices.
32 %description -l pl.UTF-8
33 Usługa ModemManager zapewnia spójne API do obsługi wielu różnych
34 modemów, w tym szerokopasmowych modemów komórkowych (3G).
37 Summary: Header file defining ModemManager D-Bus interface
38 Summary(pl.UTF-8): Plik nagłówkowy opisujący interfejs D-Bus ModemManagera
39 Group: Development/Libraries
40 # doesn't require base
43 Header file defining ModemManager D-Bus interface.
45 %description devel -l pl.UTF-8
46 Plik nagłówkowy opisujący interfejs D-Bus ModemManagera.
58 --disable-silent-rules \
60 --enable-more-warnings \
62 --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version}
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
71 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.la
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README
80 %attr(755,root,root) %{_sbindir}/modem-manager
81 %dir %{_libdir}/ModemManager
82 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-anydata.so
83 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-generic.so
84 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so
85 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so
86 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so
87 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so
88 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so
89 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so
90 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so
91 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so
92 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so
93 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so
94 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so
95 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so
96 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so
97 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so
98 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so
99 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so
100 %attr(755,root,root) %{_libdir}/pppd/%{ppp_version}/mm-test-pppd-plugin.so
101 /lib/udev/rules.d/77-mm-ericsson-mbm.rules
102 /lib/udev/rules.d/77-mm-longcheer-port-types.rules
103 /lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
104 /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
105 /lib/udev/rules.d/77-mm-simtech-port-types.rules
106 /lib/udev/rules.d/77-mm-usb-device-blacklist.rules
107 /lib/udev/rules.d/77-mm-x22x-port-types.rules
108 /lib/udev/rules.d/77-mm-zte-port-types.rules
109 /lib/udev/rules.d/80-mm-candidate.rules
110 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf
111 %{_datadir}/dbus-1/interfaces/mm-mobile-error.xml
112 %{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml
113 %{_datadir}/dbus-1/interfaces/mm-modem-error.xml
114 %{_datadir}/dbus-1/interfaces/mm-serial-error.xml
115 %{_datadir}/dbus-1/interfaces/org.freedesktop.DBus.Properties.xml
116 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml
117 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml
118 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml
119 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml
120 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml
121 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml
122 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml
123 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml
124 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml
125 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml
126 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml
127 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml
128 %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
129 %{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy
130 %{_iconsdir}/hicolor/*/apps/*.png
133 %defattr(644,root,root,755)