b4768b
Name:          modem-manager-gui
b4768b
Summary:       Graphical interface for ModemManager
b4768b
Summary(de):   Grafische Oberfläche für ModemManager
b4768b
Summary(ru):   Графический интерфейс для демона ModemManager
b4768b
Version:       0.0.16
cce74c
Release:       6%{?dist}
b4768b
License:       GPLv3
b4768b
URL:           http://linuxonly.ru/cms/page.php?7
b4768b
# The original download link is a PHP script which points to this file:
b4768b
Source0:       http://download.tuxfamily.org/gsf/source/%{name}-%{version}.tar.gz
b4768b
# The German translation has been submitted upstream:
b4768b
# https://www.transifex.com/projects/p/modem-manager-gui/language/de/
b4768b
Source1:       %{name}-de.po
b4768b
Source2:       %{name}-de.1
b4768b
Source3:       %{name}-ru.1
b4768b
b4768b
BuildRequires: pkgconfig
b4768b
BuildRequires: gtk3-devel
b4768b
BuildRequires: glib2-devel
b4768b
BuildRequires: gdbm-devel
b4768b
BuildRequires: libnotify-devel
b4768b
BuildRequires: desktop-file-utils
b4768b
BuildRequires: gettext
b4768b
b4768b
%description
b4768b
This program is a simple graphical interface for Modem Manager 
b4768b
daemon dbus interface.
b4768b
Current features:
b4768b
- View device information: Operator name, Mode, IMEI, IMSI,
b4768b
  Signal level.
b4768b
- Send and receive SMS messages with long massages 
b4768b
  concatenation and store messages in database.
b4768b
- Send USSD requests and read answers in GSM7 and UCS2 formats
b4768b
  converted to system UTF8 charset.
b4768b
- Scan available mobile networks.
b4768b
b4768b
%description -l de
b4768b
Dieses Programm ist eine einfache grafische Oberfläche für
b4768b
die DBus-Schnittstelle des ModemManager-Daemons.
b4768b
Funktionen:
b4768b
- Geräteinformationen anzeigen: Name des Netzanbieters, Modus,
b4768b
  IMEI, IMSI, Signalstärke.
b4768b
- SMS senden und empfangen, Verkettung langer Nachrichten,
b4768b
  Speichern der Nachrichten in der Datenbank.
b4768b
- USSD-Befehle in den Formaten GSM7 und UCS2 senden und
b4768b
  Antworten empfangen, Umwandlung in den UTF-8-Zeichensatz.
b4768b
- Nach verfügbaren Mobilnetzwerken suchen.
b4768b
b4768b
%description -l ru
b4768b
Данная программа является простым графическим интерфейсом для
b4768b
демона Modem Manager, использующим интерфейс dbus.
b4768b
Текущие возможности:
b4768b
- Просмотр информации об устройстве: имени оператора, режима работы,
b4768b
  IMEI, IMSI и уровня сигнала.
b4768b
- Прием и отправка сообщений SMS с объединением длинных сообщений 
b4768b
  и сохранением сообщений в базе данных.
b4768b
- Отправка запросов USSD и прием ответов в кодировках GSM7 и UCS2
b4768b
  с последующей конвертацией в системную кодировку UTF8.
b4768b
- Сканирование доступных мобильных сетей.
b4768b
b4768b
%prep
b4768b
%setup -q
b4768b
# This locale doesn't exist in Fedora
b4768b
rm -f po/bn_BD.po
b4768b
cp %{SOURCE1} ./po/de.po
b4768b
b4768b
%build
b4768b
%configure
b4768b
make %{?_smp_mflags}
b4768b
b4768b
%install
b4768b
make install INSTALLPREFIX=%{buildroot}
b4768b
mkdir -p %{buildroot}/%{_mandir}/de/man1
b4768b
install -p %{SOURCE2} %{buildroot}/%{_mandir}/de/man1/%{name}.1
b4768b
mkdir -p %{buildroot}/%{_mandir}/ru/man1
b4768b
install -p %{SOURCE3} %{buildroot}/%{_mandir}/ru/man1/%{name}.1
b4768b
%find_lang %{name}
b4768b
b4768b
%check
b4768b
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
b4768b
b4768b
b4768b
%files -f %{name}.lang
b4768b
%doc LICENSE AUTHORS Changelog
b4768b
%{_bindir}/%{name}
b4768b
%{_datadir}/pixmaps/%{name}.png
b4768b
%{_datadir}/%{name}/
b4768b
%{_datadir}/applications/%{name}.desktop
b4768b
%{_libdir}/%{name}/
b4768b
%{_mandir}/man1/%{name}.1.*
b4768b
%{_mandir}/*/man1/%{name}.1.*
b4768b
b4768b
%changelog
cce74c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-6
cce74c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cce74c
5f9fa5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-5
5f9fa5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5f9fa5
b4768b
* Fri Jan 03 2014 Mario Blättermann <mariobl@fedoraproject.org> - 0.0.16-4
b4768b
- Remove the bn_BD translation because the locale doesn't exist in Fedora
b4768b
- Added German and Russian man pages
b4768b
b4768b
* Thu Jan 02 2014 Mario Blättermann <mariobl@fedoraproject.org> - 0.0.16-3
b4768b
- Fix folder ownership
b4768b
- Move desktop-file-validate to %%check
b4768b
b4768b
* Sat Dec 28 2013 Mario Blättermann <mariobl@fedoraproject.org> - 0.0.16-2
b4768b
- Added German translation
b4768b
b4768b
* Sat Oct 26 2013 Mario Blättermann <mariobl@fedoraproject.org> 0.0.16-1
b4768b
- New upstream version
b4768b
- Some spec file cleanup
b4768b
b4768b
* Sun Dec 16 2012 Alex <alex@linuxonly.ru>
b4768b
- added additional pictures for 0.0.15 release
b4768b
b4768b
* Wed Aug 08 2012 Alex <alex@linuxonly.ru>
b4768b
- released spec
b4768b