]>
Commit | Line | Data |
---|---|---|
16e59ac6 MB |
1 | Summary: Mobile broadband modem management service |
2 | Name: ModemManager | |
3 | Version: 0.3 | |
e0ba636c | 4 | Release: 2 |
16e59ac6 MB |
5 | License: GPL v2 |
6 | Group: Networking | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.3/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: c617210a9e388841b8aa782cdd9b48a0 | |
9 | URL: http://www.gnome.org/projects/NetworkManager/ | |
10 | BuildRequires: autoconf >= 2.52 | |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: dbus-glib-devel >= 0.75 | |
13 | BuildRequires: glib2-devel >= 1:2.18.0 | |
14 | BuildRequires: libtool | |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: ppp-plugin-devel >= 3:2.4.4-2 | |
17 | BuildRequires: udev-glib-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | The ModemManager service provides a consistent API to operate many | |
22 | different modems, including mobile broadband (3G) devices. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %{__libtoolize} | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %{__autoheader} | |
32 | %{__automake} | |
33 | %configure | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | rm -f $RPM_BUILD_ROOT%{_libdir}/ModemManager/*.{a,la} | |
e0ba636c | 43 | rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.{a,la} |
16e59ac6 MB |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc AUTHORS ChangeLog NEWS README | |
51 | %attr(755,root,root) %{_sbindir}/modem-manager | |
52 | %dir %{_libdir}/ModemManager | |
53 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-generic.so | |
54 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-gobi.so | |
55 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-hso.so | |
56 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-huawei.so | |
57 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-longcheer.so | |
58 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-mbm.so | |
59 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-moto-c.so | |
60 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-nokia.so | |
61 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-novatel.so | |
62 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-option.so | |
63 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-sierra.so | |
64 | %attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-zte.so | |
e0ba636c | 65 | %attr(755,root,root) %{_libdir}/pppd/*.*.*/mm-test-pppd-plugin.so |
16e59ac6 MB |
66 | /lib/udev/rules.d/77-mm-ericsson-mbm.rules |
67 | /lib/udev/rules.d/77-mm-longcheer-port-types.rules | |
68 | /lib/udev/rules.d/77-mm-zte-port-types.rules | |
69 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf | |
70 | %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service |