File modem-manager-gui.spec of Package modem-manager-gui

# spec file for package modem-manager-gui
# Copyright (c) 2014 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

Name:           modem-manager-gui
Version:        0.0.18
Release:        0
License:        GPL-3.0+
Summary:        Modem Manager GUI
Group:          System/GUI/GNOME
Source:         %{name}-%{version}.tar.gz
Source1:        %{name}-rpmlintrc
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.4.0
BuildRequires:  pkgconfig(glib-2.0) >= 2.32.1
BuildRequires:  pkgconfig(gtkspell3-3.0) >= 3.0.3
BuildRequires:  pkgconfig(ofono) >= 1.9
BuildRequires:  gdbm-devel
BuildRequires:  desktop-file-utils
BuildRequires:  update-desktop-files
BuildRequires:  fdupes
Requires:       ModemManager
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Modem Manager GUI is frontend for ModemManager daemon able to control specific modem functions.
  Main features:
  * GTK3 interface
  * Send and receive SMS messages with messages concatenation
  * Send USSD request and receive answer in system encoding
  * Get modem and SIM information (Device info, Operator name, Mode, IMEI, IMSI/ESN, Signal level)
  * Scan available mobile networks
  * Control data transmission process and set session traffic and time limits


%package doc
Summary:        Documentation for %{name}
Group:          Documentation/Other
BuildArch:      noarch
BuildRequires:  itstool
BuildRequires:  po4a
Requires:       %{name} = %{version}-%{release}

%description doc
This package contains the documentation for the %{name}.

%setup -q

make %{?_smp_mflags}

rm -rf %{buildroot}
%suse_update_desktop_file -r %{name} GTK GNOME System X-SuSE-ServiceConfiguration
desktop-file-install --dir %{buildroot}%{_datadir}/applications --delete-original %{buildroot}%{_datadir}/applications/%{name}.desktop
%fdupes %{buildroot}

%find_lang %{name} %{?no_lang_C}

rm -rf %{buildroot}



%doc AUTHORS Changelog LICENSE
%dir %{_datadir}/appdata
%dir %{_mandir}/id
%dir %{_mandir}/tr
%dir %{_mandir}/uk
%dir %{_mandir}/uz@Cyrl
%dir %{_mandir}/uz@Latn
%dir %{_mandir}/*/man1
%doc %{_mandir}/*/man1/%{name}.1.*

%files lang -f %{name}.lang
%exclude %{_datadir}/help

%files doc
%doc %{_datadir}/help/*/%{name}

openSUSE Build Service is sponsored by