File ModemManager.spec of Package ModemManager

#
# spec file for package ModemManager (Version 0.1_20081118)
#
# Copyright (c) 2008 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_20081118
Release:        1
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
Recommends:     usb_modeswitch

%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

%build
%if 0%{?suse_version} == 1100
autoreconf -fi
%endif
%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
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager.conf
%{_libdir}/ModemManager/
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service

%changelog
* Tue Nov 18 2008 tambet@suse.de
- Don't require CDMA modems to implement verbose error reporting
  (+CMEE command) (bnc #430502).
- Add a Sierra Wireless plugin that waits a bit after enabling the
  radio (bnc #430673).
* Fri Nov 07 2008 tambet@suse.de
- Implement a plugin for Option devices.
- Enable/disable plugging with SIGUSR1.
- Recommend usb_modeswitch (bnc #442515).
* Fri Oct 24 2008 tambet@suse.de
- Add support for MBM modems.
- Use only one serial port for Huawei modems.
* Mon Oct 20 2008 tambet@suse.de
- Fix a segfault which occured when scanning results could not be
  parsed.
- Register a correct response parser for generic CDMA
  implementation.
* Fri Sep 19 2008 tambet@suse.de
- Make it build for openSUSE 11.0 as well.
- Update from upstream:
  + Implement smarter APN choosing.
  + Implement PIN changing and enabling/disabling.
  + Make sure the device is enabled before trying to send commands to it.
  + Disconnect modem if it's connected while disabling.
  + Fix the loadable module name checking.
  + Document DBus error codes and messages.
  + Get the monitoring device from HAL for Huawei modems.
  + Add correct message to mobile (+CMEE) errors.
  + Finish the non-verbose (V0) mode parser.
  + Reduce the amount of power used to minimum when modem is disabled.
  + Reset the CID when the modem is enabled/disabled and disconnected.
  + Specify call mode in the modem init string.
* Fri Sep 12 2008 tambet@suse.de
- Remove the patch to not require dbus-glib-0.75, factory has it.
- Update from upstream:
  + Rewrite the serial port handling.
  + Implement serial command queueing.
  + Define and implement error reporting.
  + Fix device added and removed signals.
* Sun Sep 07 2008 schwab@suse.de
- Use autoreconf -fi.
* Mon Sep 01 2008 tambet@suse.de
- Update from upstream:
  + Fix upper case inconsistency in the public API (SetApn).
  + Fix HSO modem plugin.
  + Implement reading IMEI, IMSI, manufacturer, model, and version (revision).
  + License ModemManager with GNU Lesser General Public License, version 2.1.
* Fri Aug 29 2008 tambet@suse.de
- Update from upstream to get the API redesign agreed on NetworkManager
  mailing list.
* Thu Aug 28 2008 tambet@suse.de
- Initial checkin for autobuild.
openSUSE Build Service is sponsored by