Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50cecb071d | ||
|
|
8b4ed49b91 | ||
|
|
9801c12676 | ||
|
|
dc22d62b77 | ||
|
|
d14fff7d50 | ||
|
|
a6b364bace | ||
|
|
e06f7fc516 | ||
|
|
8ee46e55b0 |
5 changed files with 92 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
wammu-0.23.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: wammu
|
||||
# $Id$
|
||||
NAME := wammu
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
9c76d2e3e01b162389feab7255131028 wammu-0.23.tar.gz
|
||||
90
wammu.spec
Normal file
90
wammu.spec
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
|
||||
|
||||
Name: wammu
|
||||
Version: 0.25
|
||||
Release: 1%{?dist}
|
||||
Summary: Mobile Phone Manager - Gammu GUI
|
||||
|
||||
Group: Applications/Communications
|
||||
License: GPL
|
||||
URL: http://wammu.eu/
|
||||
Source0: ftp://dl.cihar.com/wammu/latest/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel, python-gammu, gettext
|
||||
BuildRequires: wxPython-devel, desktop-file-utils
|
||||
Requires: gammu, python-gammu, wxPython
|
||||
|
||||
%description
|
||||
Wammu is mobile phone manager running on Linux,
|
||||
Windows and possibly other platforms,where Gammu and wxPython works.
|
||||
The communication is made by Gammu library. Currently supported features:
|
||||
|
||||
* complete support (can read/edit/delete/copy) for contacts, todo, calendar
|
||||
* can read/create/save/send/backup smses
|
||||
* sending files to phone (OBEX and Sony Ericsson phones only)
|
||||
* sms composer for multi part smses
|
||||
(currently only text and predefined bitmap/sound can be edited)
|
||||
* display message including pictures and ringtones playback
|
||||
* support for backup and import in various formats (vCard, iCalendar,...)
|
||||
* export messages to mail (IMAP4, maildir and mailbox storages are supported)
|
||||
* searching for phone
|
||||
* translated into several languages
|
||||
* rated as best on many software servers
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
python setup.py build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
python setup.py install \
|
||||
--skip-build --root $RPM_BUILD_ROOT
|
||||
# --record=INSTALLED_FILES
|
||||
|
||||
desktop-file-install --vendor "" \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
--mode 0644 \
|
||||
--remove-category=Application \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING AUTHORS FAQ README NEWS
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-configure
|
||||
%{_datadir}/Wammu
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_mandir}/man1/*.1.gz
|
||||
%{python_sitelib}/Wammu
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 03 2008 Xavier Lamien < lxtnow[at]gmail.com > - 0.25-1
|
||||
- Updated Release.
|
||||
|
||||
* Sun Oct 14 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.23-1
|
||||
- Updated Release.
|
||||
|
||||
* Tue Jul 03 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.19-3
|
||||
- Added additional Requires.
|
||||
|
||||
* Wed Jun 06 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.19-2
|
||||
- Fixed mixed-use-of-spaces warning.
|
||||
|
||||
* Tue May 08 2007 Xavier Lamien < lxtnow[at]gmail.com > - 0.19-1
|
||||
- Initial RPM Release.
|
||||
Loading…
Add table
Add a link
Reference in a new issue