diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b17bf44 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vdccm-0.10.1.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5b11471..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Package is retired and obsoleted by synce-connector diff --git a/sources b/sources new file mode 100644 index 0000000..e3b3566 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +43bca4c2fdb658f99b07549fa03832e0 vdccm-0.10.1.tar.gz diff --git a/vdccm-gcc43.patch b/vdccm-gcc43.patch new file mode 100644 index 0000000..a2ef732 --- /dev/null +++ b/vdccm-gcc43.patch @@ -0,0 +1,93 @@ +--- lib/tcpsocket.cpp.orig 2008-02-22 15:26:59.000000000 +0100 ++++ lib/tcpsocket.cpp 2008-02-22 15:27:42.000000000 +0100 +@@ -23,7 +23,7 @@ + #include "tcpsocket.h" + #include + #include +- ++#include + + using namespace std; + +--- lib/localconnectedsocket.cpp.orig 2008-02-22 15:44:58.000000000 +0100 ++++ lib/localconnectedsocket.cpp 2008-02-22 15:45:50.000000000 +0100 +@@ -22,6 +22,7 @@ + ***************************************************************************/ + #include "localconnectedsocket.h" + #include ++#include + + using namespace std; + +--- lib/tcpclientsocket.cpp.orig 2008-02-22 15:45:13.000000000 +0100 ++++ lib/tcpclientsocket.cpp 2008-02-22 15:45:58.000000000 +0100 +@@ -22,6 +22,7 @@ + ***************************************************************************/ + #include "tcpclientsocket.h" + #include ++#include + + using namespace std; + +--- lib/tcpconnectedsocket.cpp.orig 2008-02-22 15:44:19.000000000 +0100 ++++ lib/tcpconnectedsocket.cpp 2008-02-22 15:44:34.000000000 +0100 +@@ -23,6 +23,7 @@ + #include "tcpconnectedsocket.h" + #include + #include ++#include + + // Ugly hack - the header could not be included + // due to conflicts with other systemheader +--- lib/udpsocket.cpp.orig 2008-02-22 15:45:24.000000000 +0100 ++++ lib/udpsocket.cpp 2008-02-22 15:46:04.000000000 +0100 +@@ -11,6 +11,7 @@ + // + #include "udpsocket.h" + #include ++#include + + using namespace std; + +--- src/rapiclient.h.orig 2008-02-22 16:13:42.000000000 +0100 ++++ src/rapiclient.h 2008-02-22 16:14:16.000000000 +0100 +@@ -14,6 +14,8 @@ + + #include + ++#include ++ + /** + @author Volker Christian + */ +--- src/rapiclient.cpp.orig 2008-02-22 16:23:05.000000000 +0100 ++++ src/rapiclient.cpp 2008-02-22 16:23:21.000000000 +0100 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + + using namespace std; +--- src/rapiconnection.cpp.orig 2008-02-22 16:25:36.000000000 +0100 ++++ src/rapiconnection.cpp 2008-02-22 16:26:00.000000000 +0100 +@@ -22,6 +22,7 @@ + #include "synce_log.h" + #include + #include ++#include + + using namespace std; + +--- src/rapiproxyconnection.cpp.orig 2008-02-22 16:27:02.000000000 +0100 ++++ src/rapiproxyconnection.cpp 2008-02-22 16:27:18.000000000 +0100 +@@ -19,6 +19,8 @@ + + #include + ++#include ++ + RapiProxyConnection::RapiProxyConnection(RapiConnection *rapiConnection, RapiProxy *rapiProxy, + RapiProvisioningClient *rapiProvisioningClient) + : rapiConnection(rapiConnection), diff --git a/vdccm.spec b/vdccm.spec new file mode 100644 index 0000000..ec81f72 --- /dev/null +++ b/vdccm.spec @@ -0,0 +1,85 @@ +Name: vdccm +Version: 0.10.1 +Release: 3%{?dist} +Summary: Serial connection daemon for Pocket PC devices + +Group: Applications/Communications +License: MIT +URL: http://www.synce.org +Source0: http://download.sf.net/synce/vdccm-%{version}.tar.gz +Patch0: %{name}-gcc43.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libsynce-devel >= 0.10.0 +BuildRequires: libtool + +Requires: synce-serial + +%description +Vdccm is a daemon running as the user on the desktop machine, which +the Pocket PC connects to. +This vdccm is a replacement of the original dccm and the vdccm comming +with SynCE-KDE. + +%package devel +Summary: Development libraries and header files for vdccm +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the header files and link libraries for vdccm + + +%prep +%setup -q +sed -i -e "/chown root/d" src/Makefile.in +%patch0 + +%build +%configure --disable-static +make LIBTOOL=%{_bindir}/libtool %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README TODO +%attr(4755,root,root) %{_bindir}/vdccm +%{_bindir}/triggerconnection +%{_mandir}/man1/* + +%files devel +%defattr(-,root,root,-) + +%changelog +* Fri Feb 22 2008 Andreas Bierfert +- 0.10.1-3 +- fix gcc43 build (#433998) + +* Mon Feb 18 2008 Fedora Release Engineering - 0.10.1-2 +- Autorebuild for GCC 4.3 + +* Fri Dec 21 2007 Andreas Bierfert +- 0.10.1-1 +- version upgrade + +* Wed May 09 2007 Aurelien Bompard 0.10.0-1 +- version 0.10.0 + +* Sat Mar 03 2007 Aurelien Bompard 0.9.3-1 +- split off the synce package