OBS User unknown
2009-05-05 16:06:19 +00:00
committed by Git OBS Bridge
parent 6acfdbbf1b
commit 6331839f99
4 changed files with 112 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package gammu (Version 1.23.1)
# spec file for package gammu (Version 1.24.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,7 +18,7 @@
Name: gammu
Version: 1.23.1
Version: 1.24.0
Release: 1
# Set to 0 to disable bluetooth support
%if 0%{?opensuse_bs} && 0%{?sles_version} == 9
@@ -45,7 +45,7 @@ Release: 1
%define gammu_docdir %_docdir/%{name}
%endif
Summary: Mobile phone management utility
License: GPL v2 or later
License: GPL v2 only
%if 0%{?suse_version}
Group: Hardware/Mobile
%else
@@ -54,6 +54,7 @@ Group: Hardware/Mobile
# Detect build requires, I really hate this crap
# SUSE
%if 0%{?suse_version}
%define dist_usb_libs libusb-1_0-devel
%define dist_dbi_libs libdbi-devel libdbi-drivers-dbd-sqlite3 sqlite
# 11.1 changed name of devel package for Bluetooth
%if 0%{?suse_version} >= 1110
@@ -61,27 +62,16 @@ Group: Hardware/Mobile
%else
%define dist_bluez_libs bluez-libs >= 2.0
%endif
# 10.3 changed name of several packages
%if 0%{?suse_version} >= 1030
%define dist_mysql_libs libmysqlclient-devel
%else
%define dist_mysql_libs mysql-devel
%endif
%define dist_postgres_libs postgresql-devel
%else
# Mandriva
%if 0%{?mandriva_version}
%define dist_usb_libs libusb-1_0-devel
%define dist_dbi_libs libdbi-devel libdbi-drivers-dbd-sqlite3 sqlite3-tools
# 64-bit Mandriva has 64 in package name
%ifarch x86_64
%define mandriva_hack 64
%endif
# MySQL devel packages got rename in 2007
%if 0%{?mandriva_version} > 2007
%define dist_mysql_libs lib%{?mandriva_hack}mysql-devel
%else
%define dist_mysql_libs lib%{?mandriva_hack}mysql15-devel
%endif
# Bluetooth things got renamed several times
%if 0%{?mandriva_version} > 2007
%define dist_bluez_libs lib%{?mandriva_hack}bluez2 lib%{?mandriva_hack}bluez-devel
@@ -101,18 +91,14 @@ Group: Hardware/Mobile
%else
# Fedora / Redhat / Centos
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
%define dist_dbi_libs libdbi-devel libdbi-drivers-dbd-sqlite3 sqlite
# MySQL devela package has different name since Fedora 8 and in all RHEL/Centos
%if 0%{?fedora_version} >= 8 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} >= 8 || 0%{?rhel}
%define dist_mysql_libs mysql-devel
%else
%define dist_mysql_libs mysqlclient14-devel
%endif
%define dist_usb_libs libusb1-devel
%define dist_dbi_libs libdbi-devel libdbi-dbd-sqlite sqlite
%define dist_bluez_libs bluez-libs >= 2.0 bluez-libs-devel >= 2.0
%define dist_postgres_libs postgresql-devel
%else
#Defaults for not know distributions
%define dist_mysql_libs libmysqlclient-devel
%define dist_usb_libs libusb1-devel
%define dist_dbi_libs libdbi-devel libdbi-dbd-sqlite sqlite
%define dist_bluez_libs bluez-libs >= 2.0 bluez-libs-devel >= 2.0
%define dist_postgres_libs postgresql-devel
%endif
@@ -125,7 +111,7 @@ BuildRequires: %{dist_bluez_libs}
BuildRequires: %{dist_postgres_libs}
%endif
%if %mysql
BuildRequires: %{dist_mysql_libs}
BuildRequires: mysql-devel
%endif
%if %dbi
BuildRequires: %{dist_dbi_libs}
@@ -133,7 +119,7 @@ BuildRequires: %{dist_dbi_libs}
BuildRequires: python-devel
BuildRequires: libcurl-devel
%if %usb
BuildRequires: libusb-1_0-devel
BuildRequires: %{dist_usb_libs}
%endif
BuildRequires: cmake gettext pkgconfig
Source: http://dl.cihar.com/gammu/releases/gammu-%{version}.tar.%{extension}
@@ -168,33 +154,36 @@ Authors:
Michal Cihar <michal@cihar.com>
%package devel
License: GPL v2 or later
License: GPL v2 only
Summary: Development files for Gammu
%if 0%{?suse_version}
Group: Development/Libraries/C and C++
%else
Group: Development/Libraries/C and C++
%endif
AutoReqProv: on
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Gammu can do such things with cellular phones as making data calls,
updating the address book, changing calendar and ToDo entries, sending
and receiving SMS messages, loading and getting ring tones and pictures
(different types of logos), synchronizing time, enabling NetMonitor,
managing WAP settings and bookmarks and much more. Functions depend on
the phone model.
Gammu is command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. Program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, filesystem,
integrated radio, camera, etc. It also supports daemon mode to send and
receive SMSes.
Currently supported phones are:
Currently supported phones include:
* Many Nokia phones.
* Many Nokia models.
* Alcatel BE5 (501/701), BF5 (715).
* Alcatel BE5 (501/701), BF5 (715), BH4 (535/735).
* Any AT capable phone (Siemens, Nokia, Alcatel, IPAQ,...).
* AT capable phones (Siemens, Nokia, Alcatel, IPAQ).
Another simmilar tool you might want to check is gnokii.
* OBEX and IrMC capable phones (Sony-Ericsson, Motorola).
* Symbian phones through gnapplet.
This package contain files needed for development.
@@ -204,7 +193,7 @@ Authors:
Michal Cihar <michal@cihar.com>
%package -n python-gammu
License: GPL v2 or later
License: GPL v2 only
Summary: Python module to communicate with mobile phones
%if 0%{?suse_version}
Group: Development/Libraries/Python
@@ -284,6 +273,45 @@ cat libgammu.lang >> %{name}.lang
rm -rf %buildroot
%changelog
* Tue May 05 2009 prusnak@suse.cz
- updated to 1.24.0
* Better detect Bluetooth ports on Samsung (bug #862).
* Ignore security errors on AT init (needed for Huawei).
* LUID reading requires IrMC profile.
* Locations for GlobeTrotter 3G+ start at 0 (bug #847).
* More verbose logging of delivery reports (bug #824).
* Increase default DeliveryReportDelay (bug #824).
* Fixed handling of SMS locations (bug #853).
* PostgreSQL backend now supports IDs for RunOnReceive.
* RunOnReceive is started through shell not directly.
* Fixed reading of empty phonebook entries from Samsung (bug #809).
* Reread messages if CMGL shows them corrupted (bug #691).
* Added support for vNote files.
* Properly detect Nokia 6220 Classic (bug #840).
* Fix writing of phonebook on Motorola V8 (bug #827).
* Detect daemon on FreeBSD.
* Ignore charset errors on AT init as some phones might need PIN.
* Optionally use MT for phone phonebook for AT phones.
* Added support for quick dial numbers on AT phones.
* Fixed decoding of Samsung memory entries.
* Properly handle corrupted messages from Nokia phones (bug #811).
* Fix parsing of calls from Alcatel C701 (bug #831).
* Fixed handling of error states with -len and -autolen parameters.
* Fixed possible crash in DBI engine.
* PostgreSQL engine properly uses sequences instead of reinventing.
* MySQL engine properly uses auto increments instead of reinventing.
* Fix escaping of field name in PostgreSQL engine.
* Better SMSD files logging.
* Added testing of SMSD files engine.
* Increase timeout for AT settings SIM card SMS storage.
* Fixed date formatting in PostgreSQL SMSD service.
* Add option to install without documentation.
* Add -textutf8 option for TEXT sms.
* Fix crash when some lines in config are too long.
* Make smsdrc example better looking by removing obsolete docs.
* Make dku2 connection types work on Linux (alias to fbususb).
* Better calculation of signal percent.
* Fixed getting of memory status for some Nokias (bug #836).
* Wed Mar 18 2009 prusnak@suse.cz
- updated to 1.23.1
* Documentation clarification.