]> git.pld-linux.org Git - packages/ModemManager.git/blob - ModemManager.spec
- use unversioned ppp plugins dir
[packages/ModemManager.git] / ModemManager.spec
1 Summary:        Mobile broadband modem management service
2 Summary(pl.UTF-8):      Usługa zarządzająca szerokopasmowymi modemami komórkowymi
3 Name:           ModemManager
4 Version:        0.5.2.0
5 Release:        2
6 License:        GPL v2+
7 Group:          Networking
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.xz
9 # Source0-md5:  a4da11ad17f937156c30b08a29cee13f
10 URL:            http://www.gnome.org/projects/NetworkManager/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  dbus-glib-devel >= 0.86
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.18
16 BuildRequires:  intltool >= 0.35.0
17 BuildRequires:  libtool >= 2:2.2
18 BuildRequires:  pkgconfig
19 BuildRequires:  polkit-devel >= 0.95
20 BuildRequires:  ppp-plugin-devel >= 3:2.4.5
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  udev-glib-devel
23 BuildRequires:  xz
24 Requires:       dbus-glib >= 0.86
25 Requires:       glib2 >= 1:2.18
26 Requires:       hicolor-icon-theme
27 Requires:       polkit >= 0.95
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
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
50 %prep
51 %setup -q
52
53 %build
54 %{__libtoolize}
55 %{__aclocal} -I m4
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure \
60         --disable-silent-rules \
61         --disable-static \
62         --enable-more-warnings \
63         --with-polkit \
64         --with-pppd-plugin-dir=%{_libdir}/pppd/plugins
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.la
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 %update_icon_cache hicolor
81
82 %postun
83 %update_icon_cache hicolor
84
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
90 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-anydata.so
91 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-generic.so
92 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so
93 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so
94 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so
95 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so
96 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so
97 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so
98 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so
99 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so
100 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so
101 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so
102 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so
103 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so
104 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so
105 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so
106 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so
107 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so
108 %attr(755,root,root) %{_libdir}/pppd/plugins/mm-test-pppd-plugin.so
109 /lib/udev/rules.d/77-mm-ericsson-mbm.rules
110 /lib/udev/rules.d/77-mm-longcheer-port-types.rules
111 /lib/udev/rules.d/77-mm-nokia-port-types.rules
112 /lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
113 /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
114 /lib/udev/rules.d/77-mm-simtech-port-types.rules
115 /lib/udev/rules.d/77-mm-usb-device-blacklist.rules
116 /lib/udev/rules.d/77-mm-x22x-port-types.rules
117 /lib/udev/rules.d/77-mm-zte-port-types.rules
118 /lib/udev/rules.d/80-mm-candidate.rules
119 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf
120 %{_datadir}/dbus-1/interfaces/mm-mobile-error.xml
121 %{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml
122 %{_datadir}/dbus-1/interfaces/mm-modem-error.xml
123 %{_datadir}/dbus-1/interfaces/mm-serial-error.xml
124 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml
125 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml
126 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml
127 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml
128 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml
129 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml
130 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml
131 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml
132 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml
133 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml
134 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml
135 %{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml
136 %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
137 %{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy
138 %{_iconsdir}/hicolor/*/apps/*.png
139
140 %files devel
141 %defattr(644,root,root,755)
142 %{_includedir}/mm
This page took 0.043572 seconds and 4 git commands to generate.