diff --git a/gammu-1.31.0.tar.bz2 b/gammu-1.31.0.tar.bz2 deleted file mode 100644 index 81e6520..0000000 --- a/gammu-1.31.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:623286e06c8faad391c26786adac87f9e620b5a09781c61ecca37afea46ac7cf -size 6326580 diff --git a/gammu-1.32.0.tar.xz b/gammu-1.32.0.tar.xz new file mode 100644 index 0000000..be7f0c7 --- /dev/null +++ b/gammu-1.32.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c0979affc17d92b81c39f4d35a1b213f2f56323bf261a07432b3f99124d5242 +size 2072408 diff --git a/gammu.changes b/gammu.changes index b517380..cd41df4 100644 --- a/gammu.changes +++ b/gammu.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Tue Jul 31 12:25:03 UTC 2012 - asterios.dramis@gmail.com + +- Updated to 1.32.0: + * Fixed auto installation of EventLog registry. + * Improved support for Arduino GPRS shield (bug #1592). + * Fixed communication with Cross PD1101wi (bug #1617). + * Ignore another unknown block in Nokia phonebook (bug #1614). + * Do not encode number when setting up diverts. + From 1.31.90: + * Improved compatibility with ES75 (bug #1586). + * Changed API for call diverts. + * Added support for call diverts in Python API. + * AT backend supports manipulating with call diverts. + * Added support for suspending/resuming SMSD using SIGUSR1/2. + * Changed protocol for S60 applet. + * S60 applet now handles SMS with new lines. + * Improved support for Windows Event Log. +- Added xz as build requirement for openSUSE <= 12.1 (needed to unpack the + package sources). +- Don't install the init script "gammu-smsd" (doesn't work correctly out of the + box). Instead install it in the documentation. +- Build the package manual (html) for openSUSE > 11.4 (fails for <= 11.4 due to + python-sphinx). Added gnu-free-fonts, graphviz, graphviz-gd and python-Sphinx + build requirements for this. Added it in a separate subpackage (gammu-doc) to + fix rpmlint warning "package-with-huge-docs". + ------------------------------------------------------------------- Fri Dec 23 18:45:46 UTC 2011 - asterios.dramis@gmail.com diff --git a/gammu.spec b/gammu.spec index a8dcbd8..913e259 100644 --- a/gammu.spec +++ b/gammu.spec @@ -1,7 +1,7 @@ # # spec file for package gammu # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,14 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: gammu -Version: 1.31.0 +Version: 1.32.0 Release: 0 Summary: Mobile phone management utility License: GPL-2.0 Group: Productivity/Telephony/Utilities Url: http://wammu.eu/gammu/ -Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE gammu-smsd.lsb.patch asterios.dramis@gmail.com -- Fix rpmlint warnings "unknown-lsb-keyword" and "init-script-runlevel-4" Patch0: gammu-smsd.lsb.patch # Python location @@ -84,6 +85,17 @@ BuildRequires: cmake BuildRequires: doxygen BuildRequires: gettext BuildRequires: glib2-devel +%if 0%{?suse_version} > 1210 +BuildRequires: gnu-free-fonts +%else +%if 0%{?suse_version} == 1210 +BuildRequires: freefont +%endif +%endif +%if 0%{?suse_version} > 1140 +BuildRequires: graphviz +BuildRequires: graphviz-gd +%endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?rhel} BuildRequires: curl-devel %else @@ -109,9 +121,15 @@ BuildRequires: pkg-config %else BuildRequires: pkgconfig %endif +BuildRequires: %{dist_bluez_libs} +%if 0%{?suse_version} > 1140 +BuildRequires: python-Sphinx +%endif BuildRequires: python-devel BuildRequires: unixODBC-devel -BuildRequires: %{dist_bluez_libs} +%if 0%{?suse_version} && 0%{?suse_version} <= 1210 +BuildRequires: xz +%endif %if 0%{?suse_version} > 1130 || 0%{?mandriva_version} > 2010 || 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} BuildRequires: %{dist_dbi_libs} %endif @@ -119,6 +137,7 @@ BuildRequires: %{dist_postgres_libs} BuildRequires: %{dist_usb_libs} Requires: bluez Requires: dialog +Recommends: gammu-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -167,19 +186,19 @@ Currently supported phones include: This package contain files needed for development. +%if 0%{?suse_version} > 1140 +%package doc +Summary: Documentation of Gammu +Group: Documentation/HTML +BuildArch: noarch + +%description doc +This package contains the manual for gammu. +%endif + %package smsd Summary: SMS message daemon Group: Hardware/Mobile -%if 0%{?suse_version} -Requires(post): %insserv_prereq %fillup_prereq -Requires(preun): %insserv_prereq %fillup_prereq -Requires(postun): %insserv_prereq %fillup_prereq -%endif -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -Requires(post): chkconfig -Requires(preun): chkconfig -Requires(preun): initscripts -%endif %description smsd Gammu is command line utility and library to work with mobile phones @@ -247,8 +266,8 @@ This package contains the Gammu SMS daemon shared library. %package -n python-gammu Summary: Python module to communicate with mobile phones Group: Development/Languages/Python -Requires: python >= %{g_python_major_version} Requires: python < %{g_python_major_version}.99 +Requires: python >= %{g_python_major_version} %{?py_requires} %description -n python-gammu @@ -265,6 +284,7 @@ sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" gammu/gammu.c gammu-detect/main.c libga sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" gammu/gammu.c gammu-detect/main.c libgammu/gsmstate.c libgammu/phone/dummy/dummy.c smsd/inject.c smsd/monitor.c smsd/main.c # Change permissions - Fix rpmlint warning "doc-file-dependency" chmod 644 python/examples/*.py +chmod 644 contrib/init/gammu-smsd.lsb %build mkdir build @@ -278,8 +298,12 @@ cmake ../ \ -DINSTALL_DOC_DIR=%{gammu_docdir} \ -DINSTALL_LIB_DIR=%{_lib} \ -DINSTALL_LIBDATA_DIR=%{_lib} \ - -DINSTALL_LSB_INIT=ON + -DINSTALL_LSB_INIT=OFF \ + -DINSTALL_UDEV_RULES=OFF make %{?_smp_mflags} VERBOSE=1 +%if 0%{?suse_version} > 1140 +make manual-html +%endif cd .. %check @@ -296,19 +320,19 @@ cd build cd .. %endif -# Change permissions - Fix rpmlint warning "non-executable-script" -chmod 755 %{buildroot}%{_sysconfdir}/init.d/gammu-smsd - -# rc-symlink for gammu-smsd -mkdir -p %{buildroot}%{_sbindir} -ln -sf ../../etc/init.d/gammu-smsd %{buildroot}%{_sbindir}/rcgammu-smsd - # Install config file install -pm 0644 docs/config/smsdrc %{buildroot}%{_sysconfdir}/gammu-smsdrc # Install additional doc files install -pm 0644 AUTHORS README.cs README.da README.de README.en_GB README.es README.id README.pl README.pt_BR %{buildroot}%{gammu_docdir}/ +%if 0%{?suse_version} > 1140 +# Install the html manual +rm -rf %{buildroot}%{gammu_docdir}/manual/ +rm -rf build/docs/manual/html/{.doctrees/,.buildinfo,_sources/} +cp -a build/docs/manual/html/ %{buildroot}%{gammu_docdir}/manual +%endif + # Remove unneeded locales %if 0%{?suse_version} && 0%{?suse_version} < 1140 rm -rf %{buildroot}%{_datadir}/locale/sw/ @@ -317,38 +341,6 @@ rm -rf %{buildroot}%{_datadir}/locale/sw/ %find_lang %{name} %find_lang libgammu -%post smsd -%if 0%{?mandriva_version} -%_post_service gammu-smsd -%endif -%if 0%{?suse_version} -%fillup_and_insserv gammu-smsd -%endif -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -/sbin/chkconfig --add gammu-smsd -%endif - -%preun smsd -%if 0%{?suse_version} -%stop_on_removal gammu-smsd -%endif -%if 0%{?mandriva_version} -%_preun_service gammu-smsd -%endif -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -if [ $1 = 0 ] ; then - /sbin/service gammu-smsd stop >/dev/null 2>&1 - /sbin/chkconfig --del