]>
Commit | Line | Data |
---|---|---|
bac17c7e | 1 | %define ppp_version 2.4.5 |
16e59ac6 | 2 | Summary: Mobile broadband modem management service |
30689186 | 3 | Summary(pl.UTF-8): Usługa zarządzająca szerokopasmowymi modemami komórkowymi |
16e59ac6 | 4 | Name: ModemManager |
b632cd74 JP |
5 | Version: 0.5 |
6 | Release: 1 | |
30689186 | 7 | License: GPL v2+ |
16e59ac6 | 8 | Group: Networking |
b632cd74 JP |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: cd04109506e88bf4c4cd3e7ce0034c08 | |
16e59ac6 | 11 | URL: http://www.gnome.org/projects/NetworkManager/ |
30689186 | 12 | BuildRequires: autoconf >= 2.60 |
16e59ac6 | 13 | BuildRequires: automake >= 1:1.9 |
55351b05 MB |
14 | BuildRequires: dbus-glib-devel >= 0.86 |
15 | BuildRequires: gettext-devel | |
30689186 JB |
16 | BuildRequires: glib2-devel >= 1:2.18 |
17 | BuildRequires: intltool >= 0.35.0 | |
18 | BuildRequires: libtool >= 2:2.2 | |
16e59ac6 | 19 | BuildRequires: pkgconfig |
30689186 | 20 | BuildRequires: polkit-devel >= 0.95 |
bac17c7e | 21 | BuildRequires: ppp-plugin-devel >= 3:%{ppp_version} |
16e59ac6 | 22 | BuildRequires: udev-glib-devel |
30689186 JB |
23 | Requires: dbus-glib >= 0.86 |
24 | Requires: glib2 >= 1:2.18 | |
25 | Requires: polkit >= 0.95 | |
16e59ac6 MB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The ModemManager service provides a consistent API to operate many | |
30 | different modems, including mobile broadband (3G) devices. | |
31 | ||
30689186 JB |
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). | |
35 | ||
36 | %package devel | |
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 | |
41 | ||
42 | %description devel | |
43 | Header file defining ModemManager D-Bus interface. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Plik nagłówkowy opisujący interfejs D-Bus ModemManagera. | |
47 | ||
16e59ac6 MB |
48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %{__libtoolize} | |
55351b05 | 53 | %{__aclocal} -I m4 |
16e59ac6 MB |
54 | %{__autoconf} |
55 | %{__autoheader} | |
56 | %{__automake} | |
bac17c7e | 57 | %configure \ |
30689186 JB |
58 | --disable-silent-rules \ |
59 | --disable-static \ | |
60 | --enable-more-warnings \ | |
304ba825 | 61 | --with-polkit \ |
30689186 | 62 | --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} |
16e59ac6 MB |
63 | %{__make} |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
30689186 JB |
71 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
72 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.la | |
16e59ac6 MB |
73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog NEWS README | |
80 | %attr(755,root,root) %{_sbindir}/modem-manager | |
81 | %dir %{_libdir}/ModemManager | |
4749311e ER |
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 | |
b632cd74 | 87 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so |
4749311e ER |
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 | |
b632cd74 | 94 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so |
4749311e ER |
95 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so |
96 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so | |
b632cd74 JP |
97 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so |
98 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so | |
4749311e | 99 | %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so |
bac17c7e | 100 | %attr(755,root,root) %{_libdir}/pppd/%{ppp_version}/mm-test-pppd-plugin.so |
16e59ac6 MB |
101 | /lib/udev/rules.d/77-mm-ericsson-mbm.rules |
102 | /lib/udev/rules.d/77-mm-longcheer-port-types.rules | |
55351b05 MB |
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 | |
b632cd74 | 107 | /lib/udev/rules.d/77-mm-x22x-port-types.rules |
16e59ac6 | 108 | /lib/udev/rules.d/77-mm-zte-port-types.rules |
b632cd74 | 109 | /lib/udev/rules.d/80-mm-candidate.rules |
16e59ac6 | 110 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf |
b632cd74 JP |
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 | |
16e59ac6 | 128 | %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service |
55351b05 MB |
129 | %{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy |
130 | %{_iconsdir}/hicolor/*/apps/*.png | |
30689186 JB |
131 | |
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
134 | %{_includedir}/mm |