]> git.pld-linux.org Git - packages/ModemManager.git/blame - ModemManager.spec
- remove obsolete patches
[packages/ModemManager.git] / ModemManager.spec
CommitLineData
bac17c7e 1%define ppp_version 2.4.5
16e59ac6
MB
2Summary: Mobile broadband modem management service
3Name: ModemManager
b632cd74
JP
4Version: 0.5
5Release: 1
16e59ac6
MB
6License: GPL v2
7Group: Networking
b632cd74
JP
8Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.bz2
9# Source0-md5: cd04109506e88bf4c4cd3e7ce0034c08
16e59ac6
MB
10URL: http://www.gnome.org/projects/NetworkManager/
11BuildRequires: autoconf >= 2.52
12BuildRequires: automake >= 1:1.9
55351b05
MB
13BuildRequires: dbus-glib-devel >= 0.86
14BuildRequires: gettext-devel
16e59ac6 15BuildRequires: glib2-devel >= 1:2.18.0
55351b05 16BuildRequires: intltool
16e59ac6
MB
17BuildRequires: libtool
18BuildRequires: pkgconfig
911b5f94 19BuildRequires: polkit-devel
bac17c7e 20BuildRequires: ppp-plugin-devel >= 3:%{ppp_version}
16e59ac6
MB
21BuildRequires: udev-glib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25The ModemManager service provides a consistent API to operate many
26different modems, including mobile broadband (3G) devices.
27
28%prep
29%setup -q
30
31%build
32%{__libtoolize}
55351b05 33%{__aclocal} -I m4
16e59ac6
MB
34%{__autoconf}
35%{__autoheader}
36%{__automake}
bac17c7e 37%configure \
304ba825
ER
38 --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
39 --with-polkit \
b632cd74
JP
40 --enable-more-warnings=yes \
41 --disable-silent-rules
16e59ac6
MB
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
4749311e 50rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
e0ba636c 51rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.{a,la}
16e59ac6
MB
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog NEWS README
59%attr(755,root,root) %{_sbindir}/modem-manager
60%dir %{_libdir}/ModemManager
4749311e
ER
61%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-anydata.so
62%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-generic.so
63%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so
64%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so
65%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so
b632cd74 66%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so
4749311e
ER
67%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so
68%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so
69%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so
70%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so
71%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so
72%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so
b632cd74 73%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so
4749311e
ER
74%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so
75%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so
b632cd74
JP
76%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so
77%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so
4749311e 78%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so
bac17c7e 79%attr(755,root,root) %{_libdir}/pppd/%{ppp_version}/mm-test-pppd-plugin.so
16e59ac6
MB
80/lib/udev/rules.d/77-mm-ericsson-mbm.rules
81/lib/udev/rules.d/77-mm-longcheer-port-types.rules
55351b05
MB
82/lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
83/lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
84/lib/udev/rules.d/77-mm-simtech-port-types.rules
85/lib/udev/rules.d/77-mm-usb-device-blacklist.rules
b632cd74 86/lib/udev/rules.d/77-mm-x22x-port-types.rules
16e59ac6 87/lib/udev/rules.d/77-mm-zte-port-types.rules
b632cd74 88/lib/udev/rules.d/80-mm-candidate.rules
16e59ac6 89%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf
b632cd74
JP
90%{_datadir}/dbus-1/interfaces/mm-mobile-error.xml
91%{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml
92%{_datadir}/dbus-1/interfaces/mm-modem-error.xml
93%{_datadir}/dbus-1/interfaces/mm-serial-error.xml
94%{_datadir}/dbus-1/interfaces/org.freedesktop.DBus.Properties.xml
95%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml
96%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml
97%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml
98%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml
99%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml
100%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml
101%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml
102%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml
103%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml
104%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml
105%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml
106%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml
16e59ac6 107%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
55351b05
MB
108%{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy
109%{_iconsdir}/hicolor/*/apps/*.png
This page took 0.036751 seconds and 4 git commands to generate.