commit wammu for openSUSE:Factory
Hello community, here is the log from the commit of package wammu for openSUSE:Factory checked in at Mon Mar 21 10:52:14 CET 2011. -------- --- wammu/wammu.changes 2010-04-18 21:16:11.000000000 +0200 +++ /mounts/work_src_done/STABLE/wammu/wammu.changes 2011-03-18 21:15:45.000000000 +0100 @@ -1,0 +2,37 @@ +Fri Mar 18 20:11:26 UTC 2011 - asterios.dramis@gmail.com + +- Spec file updates: + * Don't clean buildroot in %install section. + * Fix for "python setup.py install" invoked twice on non-Suse distros. + +------------------------------------------------------------------- +Sun Mar 13 19:57:31 UTC 2011 - asterios.dramis@gmail.com + +- Updated to 0.35: + * New Turkish translation. + * Updated Dutch translation. + * Handle security error when getting phone info (bug #1264). + * Read all messages on phones not supporting status but support GetNext (bug + #1261). + From 0.34: + * Fixed handling error when SMSC is not configured in phone (bug #1244). + * Drop dependency of RPM on python-xml, it's not needed anymore (bug #1248). + * Better error messages on non existing devices or on wrong privileges. + * Support for storing call entry as new contact (bug #1283). + * More user friendly errors from talkback dialog. + * Lot of translations were updated. + From 0.33: + * Fixed displaying of an animation in SMS (bug #1091). + * Can Add and Delete multiple selections when Edit Recipient's numbers. + * Better log messages when scanning for phones (bug #1182). +- Spec file updates: + * Changes based on rpmdevtools templates and spec-cleaner run. + * Updates in Url: and Group:. + * Updates in Buildrequires: and Requires: sections. + * Added a wammu-lang package based on rpmlint warning + "package-with-huge-translation". + * Fixed desktop file Category using "suse_update_desktop_file" instead of + using sed in %prep section. + * Minor other updates. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- wammu-0.32.1.tar.bz2 New: ---- wammu-0.35.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wammu.spec ++++++ --- /var/tmp/diff_new_pack.Y3hXwq/_old 2011-03-21 10:42:47.000000000 +0100 +++ /var/tmp/diff_new_pack.Y3hXwq/_new 2011-03-21 10:42:47.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package wammu (Version 0.32.1) +# spec file for package wammu # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -18,36 +18,49 @@ Name: wammu -Version: 0.32.1 -Release: 2 +Version: 0.35 +Release: 1 +Summary: Mobile Phone Manager -%define extension bz2 - -%define python_gammu_req 0.24 +License: GPLv2 +Url: http://wammu.eu/wammu/ +%if 0%{?suse_version} +Group: Applications/Communications +%else +Group: Applications/Communications +%endif +Source0: http://sourceforge.net/projects/gammu/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Python location %{!?__python: %define __python python} %define wammu_python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)") -Summary: Mobile phone manager -Source: http://dl.cihar.com/%{name}/latest/%{name}-%{version}.tar.%{extension} -License: GPLv2 -%if 0%{?suse_version} -Group: Hardware/Mobile -%else -Group: Hardware/Mobile +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} +BuildRequires: desktop-file-utils %endif -Requires: wxPython >= 2.6, python-gammu >= %{python_gammu_req}, python-xml BuildRequires: python-devel +BuildRequires: python-gammu >= 0.24 +BuildRequires: python-pybluez +%if 0%{?suse_version} > 1130 +BuildRequires: python-wxWidgets >= 2.6 +%else +BuildRequires: wxPython >= 2.6 +%endif +BuildRequires: python-xml %if 0%{?suse_version} BuildRequires: update-desktop-files %endif -%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -BuildRequires: desktop-file-utils +Requires: python-base = %py_ver +Requires: python-gammu >= 0.24 +Requires: python-pybluez +%if 0%{?suse_version} > 1130 +Requires: python-wxWidgets >= 2.6 +%else +Requires: wxPython >= 2.6 %endif -%{?py_requires} - -Url: http://wammu.eu/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-xml +Recommends: %{name}-lang = %{version} # These distributions use /usr/lib for python on all architectures %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} || 0%{?mandriva_version} || 0%{?suse_version} > 1110 BuildArch: noarch @@ -66,51 +79,61 @@ instead. +%lang_package %prep %setup -q -# Ugly hack for SUSE because it does not like TelephonyTools -%if 0%{?suse_version} -sed -i 's/TelephonyTools/Telephony/' wammu.desktop.in -%endif %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} setup.py build %install -%if 0%{?suse_version} == 0 -rm -rf %buildroot -mkdir %buildroot -%endif -%{__python} setup.py install --root=%buildroot --prefix=%{_prefix} %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} -%{__python} setup.py install -O1 --root=%buildroot --prefix=%{_prefix} +%{__python} setup.py install -O1 --root=%{buildroot} --prefix=%{_prefix} +%else +%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} %endif -%find_lang %{name} --all-name --with-man + %if 0%{?suse_version} -%suse_update_desktop_file %{name} +%suse_update_desktop_file -r %{name} GTK Utility Telephony %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} desktop-file-install --vendor "" \ - --dir %buildroot%{_datadir}/applications \ + --dir %{buildroot}%{_datadir}/applications \ --mode 0644 \ --remove-category=Application \ - %buildroot%{_datadir}/applications/%{name}.desktop + %{buildroot}%{_datadir}/applications/%{name}.desktop +%endif + +# Remove unneeded locales +%if 0%{?suse_version} < 1140 +rm -rf %{buildroot}%{_datadir}/locale/sw/ %endif +%find_lang %{name} --with-man --all-name + %clean -rm -rf %buildroot +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog FAQ PKG-INFO README* +%{_bindir}/wammu +%{_bindir}/wammu-configure +%{wammu_python_sitelib}/Wammu/ +%{wammu_python_sitelib}/wammu-*.egg-info +%{_datadir}/Wammu/ +%{_datadir}/applications/wammu.desktop +%doc %{_mandir}/man1/wammu.1%{ext_man} +%doc %{_mandir}/man1/wammu-configure.1%{ext_man} +%{_datadir}/pixmaps/wammu.* -%files -f %name.lang -%defattr(-,root,root) -%doc COPYING AUTHORS FAQ README PKG-INFO ChangeLog -%doc %{_mandir}/man1/* +%files lang -f %{name}.lang +%defattr(-,root,root,-) %lang(cs) %doc %dir %{_mandir}/cs %lang(nl) %doc %dir %{_mandir}/nl -%{_bindir}/%{name} -%{_bindir}/%{name}-configure -%{_datadir}/Wammu -%{_datadir}/pixmaps/* -%{_datadir}/applications/%{name}.desktop -%{wammu_python_sitelib}/* +%if 0%{?suse_version} < 1130 +%lang(ru) %doc %dir %{_mandir}/ru +%endif +%lang(sk) %doc %dir %{_mandir}/sk %changelog ++++++ wammu-0.32.1.tar.bz2 -> wammu-0.35.tar.bz2 ++++++ ++++ 61872 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de