summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2012-06-16 20:09:22 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit95b5b41df0e7b682cd9c75fbae14cad7f990244e (patch)
tree7fc6f1f996cbb535cbc517be3db276195a0c0234
downloadeds-to-idevice-95b5b41df0e7b682cd9c75fbae14cad7f990244e.zip
eds-to-idevice-95b5b41df0e7b682cd9c75fbae14cad7f990244e.tar.gz
Changed files: eds-to-idevice.spec -> 1.1
-rw-r--r--eds-to-idevice.spec52
1 files changed, 52 insertions, 0 deletions
diff --git a/eds-to-idevice.spec b/eds-to-idevice.spec
new file mode 100644
index 0000000..399c091
--- /dev/null
+++ b/eds-to-idevice.spec
@@ -0,0 +1,52 @@
+Summary: Tool to copy contacts to iDevices
+Name: eds-to-idevice
+Version: 0.5
+Release: 1
+License: GPL v2
+Group: Applications
+Source0: http://people.freedesktop.org/~teuf/eds-to-idevice/%{name}-%{version}.tar.bz2
+# Source0-md5: 66a6810c0a888506b832af6ce63f1db5
+URL: http://cfergeau.blogspot.fr/2011/03/transferring-contacts-to-idevice.html
+BuildRequires: evolution-data-server-devel
+BuildRequires: glib2-devel
+BuildRequires: libimobiledevice-devel >= 1.1
+BuildRequires: libplist-devel >= 1.4
+BuildRequires: pkg-config
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+eds-to-idevice is a commandline tool to transfer contacts stored in
+evolution-data-server addressbooks to an iDevice from Apple. It uses
+libebook for the communication with evolution-data-server and
+libimobiledevice to communicate with iDevices.
+
+This tool isn't a synchronization tool, it makes no attempt at
+matching contacts from evolution with contacts from the iDevice. If
+you try to copy contacts that are already present on the iDevice, they
+will likely be duplicated.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CFLAGS=$(pkg-config --cflags glib-2.0)
+%configure \
+ --disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_bindir}/eds-to-idevice