SPECS: libopensync-plugin-moto.spec (NEW) - new

glen glen at pld-linux.org
Fri Aug 31 22:39:44 CEST 2007


Author: glen                         Date: Fri Aug 31 20:39:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   libopensync-plugin-moto.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libopensync-plugin-moto.spec
diff -u /dev/null SPECS/libopensync-plugin-moto.spec:1.1
--- /dev/null	Fri Aug 31 22:39:44 2007
+++ SPECS/libopensync-plugin-moto.spec	Fri Aug 31 22:39:38 2007
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+Summary:	OpenSync plugin for syncing to a Motorola mobile phone
+Name:		libopensync-plugin-moto
+Version:	0.22
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	http://www.opensync.org/attachment/wiki/download/%{name}-%{version}.tar.bz2?format=raw
+# Source0-md5:	255f2eb991579bcbcc971ab25e58127b
+URL:		http://www.opensync.org/
+BuildRequires:	sed >= 4.0
+Requires:	python-dateutil
+Requires:	python-pybluez
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSync Plugin for syncing with Motorola phones using the AT command
+set.
+
+%prep
+%setup -q
+%{__sed} -i -e '1s,#!.*python,#!%{__python},' mototool
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir}/opensync/plugins,%{_datadir}/opensync/defaults}
+install motosync.py $RPM_BUILD_ROOT%{_libdir}/opensync/plugins
+cp -a moto-sync $RPM_BUILD_ROOT%{_datadir}/opensync/defaults
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/opensync/plugins/motosync.py
+%{_datadir}/opensync/defaults/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/08/31 20:39:38  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list