File ModemManager.spec of Package ModemManager

#
# spec file for package ModemManager (Version 0.2_20090810)
#
# 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.2_20090810
Release:        1
License:        LGPL v2.1 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  dbus-1-glib-devel hal-devel libgudev-1_0-devel libtool
Group:          Productivity/Networking/System
Summary:        DBus interface for modem handling
Source0:        ModemManager-%{version}.tar.bz2
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}

%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
/lib/udev/rules.d/77-mm-ericsson-mbm.rules
/lib/udev/rules.d/77-mm-zte-port-types.rules

%changelog
openSUSE Build Service is sponsored by