File ModemManager.spec of Package ModemManager
#
# spec file for package ModemManager (Version 0.1_20081203)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ModemManager
Url: http://gitorious.org/projects/modemmanager
Version: 0.1_20081203
Release: 6.<RELEASE1>
License: LGPL v2.1 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-glib-devel hal-devel libtool
Group: Productivity/Networking/System
Summary: DBus interface for modem handling
Source0: ModemManager-%{version}.tar.bz2
%if 0%{?suse_version} == 1100
Patch0: mm-dbus-glib-opensuse110.patch
%endif
Patch1: mm-hso-netdev-detection.patch
Patch2: mm-option-require-option-driver.patch
Patch3: mm-generic-gsm-disable-unsolicited-messages.patch
Patch4: mm-huawei-disable-dcd.patch
Patch5: mm-bnc-430673.patch
Patch6: mm-connect-regex.patch
Patch7: mm-novatel-plugin.patch
Patch8: mm-dbus-permissions.patch
Patch9: mm-v1-e1-parser.patch
Patch10: mm-nokia.patch
Patch11: mm-zte.patch
Patch12: mm-hp-sierra.patch
Patch13: mm-sierra.patch
Patch14: mm-huawei-port-detection.patch
Patch15: mm-hso-sysfs-detection.patch
Provides: org.freedesktop.ModemManager
Recommends: usb_modeswitch
Recommends: ozerocdoff
%description
DBus interface for modem handling. Provides a standard abstracted API
(over DBus) to communicate with all sorts of modems (landline, GSM,
CDMA).
Authors:
--------
Tambet Ingo
%prep
%setup -n %{name}-0.1
%if 0%{?suse_version} == 1100
%patch0 -p1
%endif
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%build
autoreconf -fi
%configure
make
%install
%makeinstall
# No development files
rm $RPM_BUILD_ROOT%{_libdir}/ModemManager/*.la
rm $RPM_BUILD_ROOT%{_libdir}/ModemManager/*.a
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS AUTHORS README
%{_sbindir}/modem-manager
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager.conf
%{_libdir}/ModemManager/
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
%changelog