diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bf529a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wammu-0.23.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 1906de0..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/sources b/sources index e69de29..a85b256 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9c76d2e3e01b162389feab7255131028 wammu-0.23.tar.gz diff --git a/wammu.spec b/wammu.spec new file mode 100644 index 0000000..76621e6 --- /dev/null +++ b/wammu.spec @@ -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.