From 16e59ac653bf17218bba18bdbfe7653666621258 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Sat, 20 Feb 2010 16:12:31 +0000 Subject: [PATCH 1/1] - new Changed files: ModemManager.spec -> 1.1 --- ModemManager.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 ModemManager.spec diff --git a/ModemManager.spec b/ModemManager.spec new file mode 100644 index 0000000..9f56e93 --- /dev/null +++ b/ModemManager.spec @@ -0,0 +1,70 @@ +Summary: Mobile broadband modem management service +Name: ModemManager +Version: 0.3 +Release: 1 +License: GPL v2 +Group: Networking +Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.3/%{name}-%{version}.tar.bz2 +# Source0-md5: c617210a9e388841b8aa782cdd9b48a0 +URL: http://www.gnome.org/projects/NetworkManager/ +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1:1.9 +BuildRequires: dbus-glib-devel >= 0.75 +BuildRequires: glib2-devel >= 1:2.18.0 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: ppp-plugin-devel >= 3:2.4.4-2 +BuildRequires: udev-glib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The ModemManager service provides a consistent API to operate many +different modems, including mobile broadband (3G) devices. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{_libdir}/ModemManager/*.{a,la} +rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.4.4/*.{a,la} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_sbindir}/modem-manager +%dir %{_libdir}/ModemManager +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-generic.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-gobi.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-hso.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-huawei.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-longcheer.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-mbm.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-moto-c.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-nokia.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-novatel.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-option.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-sierra.so +%attr(755,root,root) %{_libdir}/ModemManager/libmm-plugin-zte.so +%attr(755,root,root) %{_libdir}/pppd/2.4.4/mm-test-pppd-plugin.so +/lib/udev/rules.d/77-mm-ericsson-mbm.rules +/lib/udev/rules.d/77-mm-longcheer-port-types.rules +/lib/udev/rules.d/77-mm-zte-port-types.rules +%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf +%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service -- 2.44.0