]>
Commit | Line | Data |
---|---|---|
16e59ac6 | 1 | Summary: Mobile broadband modem management service |
30689186 | 2 | Summary(pl.UTF-8): Usługa zarządzająca szerokopasmowymi modemami komórkowymi |
16e59ac6 | 3 | Name: ModemManager |
618d8cda JP |
4 | Version: 0.6.0.0 |
5 | Release: 1 | |
30689186 | 6 | License: GPL v2+ |
16e59ac6 | 7 | Group: Networking |
618d8cda JP |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.6/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f32640f6672d997ec0887307186e9639 | |
16e59ac6 | 10 | URL: http://www.gnome.org/projects/NetworkManager/ |
30689186 | 11 | BuildRequires: autoconf >= 2.60 |
16e59ac6 | 12 | BuildRequires: automake >= 1:1.9 |
55351b05 MB |
13 | BuildRequires: dbus-glib-devel >= 0.86 |
14 | BuildRequires: gettext-devel | |
30689186 JB |
15 | BuildRequires: glib2-devel >= 1:2.18 |
16 | BuildRequires: intltool >= 0.35.0 | |
17 | BuildRequires: libtool >= 2:2.2 | |
16e59ac6 | 18 | BuildRequires: pkgconfig |
30689186 | 19 | BuildRequires: polkit-devel >= 0.95 |
db905a16 | 20 | BuildRequires: ppp-plugin-devel >= 3:2.4.5 |
9ede919e | 21 | BuildRequires: tar >= 1:1.22 |
16e59ac6 | 22 | BuildRequires: udev-glib-devel |
9ede919e | 23 | BuildRequires: xz |
30689186 JB |
24 | Requires: dbus-glib >= 0.86 |
25 | Requires: glib2 >= 1:2.18 | |
9ede919e | 26 | Requires: hicolor-icon-theme |
30689186 | 27 | Requires: polkit >= 0.95 |
16e59ac6 MB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | The ModemManager service provides a consistent API to operate many | |
32 | different modems, including mobile broadband (3G) devices. | |
33 | ||
30689186 JB |
34 | %description -l pl.UTF-8 |
35 | Usługa ModemManager zapewnia spójne API do obsługi wielu różnych | |
36 | modemów, w tym szerokopasmowych modemów komórkowych (3G). | |
37 | ||
38 | %package devel | |
39 | Summary: Header file defining ModemManager D-Bus interface | |
40 | Summary(pl.UTF-8): Plik nagłówkowy opisujący interfejs D-Bus ModemManagera | |
41 | Group: Development/Libraries | |
42 | # doesn't require base | |
43 | ||
44 | %description devel | |
45 | Header file defining ModemManager D-Bus interface. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Plik nagłówkowy opisujący interfejs D-Bus ModemManagera. | |
49 | ||
16e59ac6 MB |
50 | %prep |
51 | %setup -q | |
52 | ||
53 | %build | |
54 | %{__libtoolize} | |
55351b05 | 55 | %{__aclocal} -I m4 |
16e59ac6 MB |
56 | %{__autoconf} |
57 | %{__autoheader} | |
58 | %{__automake} | |
bac17c7e | 59 | %configure \ |
30689186 JB |
60 | --disable-silent-rules \ |
61 | --disable-static \ | |
62 | --enable-more-warnings \ | |
304ba825 | 63 | --with-polkit \ |
db905a16 | 64 | --with-pppd-plugin-dir=%{_libdir}/pppd/plugins |
16e59ac6 MB |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
30689186 | 73 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
d3ddb6f9 | 74 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/plugins/*.la |
16e59ac6 MB |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
9ede919e MB |
79 | %post |
80 | %update_icon_cache hicolor | |
81 | ||
82 | %postun | |
83 | %update_icon_cache hicolor | |
84 | ||
16e59ac6 MB |
85 | %files |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS ChangeLog NEWS README | |
88 | %attr(755,root,root) %{_sbindir}/modem-manager | |
89 | %dir %{_libdir}/ModemManager | |
4749311e | 90 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-anydata.so |
618d8cda | 91 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-cinterion.so |
4749311e ER |
92 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-generic.so |
93 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so | |
94 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so | |
95 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so | |
618d8cda | 96 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-iridium.so |
b632cd74 | 97 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so |
4749311e ER |
98 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so |
99 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so | |
100 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so | |
101 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so | |
102 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so | |
103 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so | |
b632cd74 | 104 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so |
4749311e ER |
105 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so |
106 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so | |
b632cd74 JP |
107 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so |
108 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so | |
4749311e | 109 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so |
db905a16 | 110 | %attr(755,root,root) %{_libdir}/pppd/plugins/mm-test-pppd-plugin.so |
16e59ac6 MB |
111 | /lib/udev/rules.d/77-mm-ericsson-mbm.rules |
112 | /lib/udev/rules.d/77-mm-longcheer-port-types.rules | |
9ede919e | 113 | /lib/udev/rules.d/77-mm-nokia-port-types.rules |
55351b05 MB |
114 | /lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules |
115 | /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules | |
116 | /lib/udev/rules.d/77-mm-simtech-port-types.rules | |
117 | /lib/udev/rules.d/77-mm-usb-device-blacklist.rules | |
b632cd74 | 118 | /lib/udev/rules.d/77-mm-x22x-port-types.rules |
16e59ac6 | 119 | /lib/udev/rules.d/77-mm-zte-port-types.rules |
b632cd74 | 120 | /lib/udev/rules.d/80-mm-candidate.rules |
16e59ac6 | 121 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf |
b632cd74 JP |
122 | %{_datadir}/dbus-1/interfaces/mm-mobile-error.xml |
123 | %{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml | |
124 | %{_datadir}/dbus-1/interfaces/mm-modem-error.xml | |
125 | %{_datadir}/dbus-1/interfaces/mm-serial-error.xml | |
b632cd74 | 126 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml |
618d8cda | 127 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Firmware.xml |
b632cd74 JP |
128 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml |
129 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml | |
130 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml | |
131 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml | |
132 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml | |
133 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml | |
134 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml | |
135 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml | |
136 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml | |
618d8cda | 137 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Time.xml |
b632cd74 JP |
138 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml |
139 | %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml | |
16e59ac6 | 140 | %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service |
55351b05 MB |
141 | %{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy |
142 | %{_iconsdir}/hicolor/*/apps/*.png | |
30689186 JB |
143 | |
144 | %files devel | |
145 | %defattr(644,root,root,755) | |
146 | %{_includedir}/mm |