Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
wammu
wammu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wammu.spec of Package wammu
# # spec file for package wammu (Version 0.32.1) # # Copyright (c) 2010 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 http://bugs.opensuse.org/ # Name: wammu Version: 0.32.1 Release: 2 %define extension bz2 %define python_gammu_req 0.24 %{!?__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 %endif Requires: wxPython >= 2.6, python-gammu >= %{python_gammu_req}, python-xml BuildRequires: python-devel %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 %endif %{?py_requires} Url: http://wammu.eu/ BuildRoot: %{_tmppath}/%{name}-%{version}-build # 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 %endif %description It works with any phone that Gammu supports, including many models from Nokia, Siemens, and Alcatel. It has complete support (read, edit, delete, copy) for contacts, todo, and calendar. It can read, save, and send SMS. It includes an SMS composer for multi-part SMS messages, and it can display SMS messages that include pictures. Currently, only text and predefined bitmaps or sounds can be edited in the SMS composer. It can export messages to an IMAP4 server (or other email storage). This program does not support browsing files in phone, use gMobileMedia instead. %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 %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} %endif %find_lang %{name} --all-name --with-man %if 0%{?suse_version} %suse_update_desktop_file %{name} %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} desktop-file-install --vendor "" \ --dir %buildroot%{_datadir}/applications \ --mode 0644 \ --remove-category=Application \ %buildroot%{_datadir}/applications/%{name}.desktop %endif %clean rm -rf %buildroot %files -f %name.lang %defattr(-,root,root) %doc COPYING AUTHORS FAQ README PKG-INFO ChangeLog %doc %{_mandir}/man1/* %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}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor