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-includes.patch b/vdccm-includes.patch new file mode 100644 index 0000000..a266580 --- /dev/null +++ b/vdccm-includes.patch @@ -0,0 +1,116 @@ +diff -ru vdccm-0.10.1.orig/lib/localconnectedsocket.cpp vdccm-0.10.1/lib/localconnectedsocket.cpp +--- vdccm-0.10.1.orig/lib/localconnectedsocket.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/localconnectedsocket.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -22,6 +22,7 @@ + ***************************************************************************/ + #include "localconnectedsocket.h" + #include ++#include + + using namespace std; + +diff -ru vdccm-0.10.1.orig/lib/tcpclientsocket.cpp vdccm-0.10.1/lib/tcpclientsocket.cpp +--- vdccm-0.10.1.orig/lib/tcpclientsocket.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/tcpclientsocket.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -22,6 +22,7 @@ + ***************************************************************************/ + #include "tcpclientsocket.h" + #include ++#include + + using namespace std; + +diff -ru vdccm-0.10.1.orig/lib/tcpconnectedsocket.cpp vdccm-0.10.1/lib/tcpconnectedsocket.cpp +--- vdccm-0.10.1.orig/lib/tcpconnectedsocket.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/tcpconnectedsocket.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -23,6 +23,7 @@ + #include "tcpconnectedsocket.h" + #include + #include ++#include + + // Ugly hack - the header could not be included + // due to conflicts with other systemheader +diff -ru vdccm-0.10.1.orig/lib/tcpsocket.cpp vdccm-0.10.1/lib/tcpsocket.cpp +--- vdccm-0.10.1.orig/lib/tcpsocket.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/tcpsocket.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -23,7 +23,7 @@ + #include "tcpsocket.h" + #include + #include +- ++#include + + using namespace std; + +diff -ru vdccm-0.10.1.orig/lib/udpsocket.cpp vdccm-0.10.1/lib/udpsocket.cpp +--- vdccm-0.10.1.orig/lib/udpsocket.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/udpsocket.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -11,6 +11,7 @@ + // + #include "udpsocket.h" + #include ++#include + + using namespace std; + +diff -ru vdccm-0.10.1.orig/lib/udpsocket.h vdccm-0.10.1/lib/udpsocket.h +--- vdccm-0.10.1.orig/lib/udpsocket.h 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/lib/udpsocket.h 2009-03-06 12:48:21.000000000 +0000 +@@ -13,6 +13,7 @@ + #define UDPSOCKET_H + + #include ++#include + #include + + /** +diff -ru vdccm-0.10.1.orig/src/rapiclient.cpp vdccm-0.10.1/src/rapiclient.cpp +--- vdccm-0.10.1.orig/src/rapiclient.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/src/rapiclient.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + + using namespace std; +diff -ru vdccm-0.10.1.orig/src/rapiclient.h vdccm-0.10.1/src/rapiclient.h +--- vdccm-0.10.1.orig/src/rapiclient.h 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/src/rapiclient.h 2009-03-06 13:15:37.000000000 +0000 +@@ -14,6 +14,8 @@ + + #include + ++#include ++ + /** + @author Volker Christian + */ +diff -ru vdccm-0.10.1.orig/src/rapiconnection.cpp vdccm-0.10.1/src/rapiconnection.cpp +--- vdccm-0.10.1.orig/src/rapiconnection.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/src/rapiconnection.cpp 2009-03-06 13:15:48.000000000 +0000 +@@ -22,6 +22,8 @@ + #include "synce_log.h" + #include + #include ++#include ++#include + + using namespace std; + +Only in vdccm-0.10.1/src: rapiconnection.cpp.orig +Only in vdccm-0.10.1/src: rapiconnection.cpp.rej +diff -ru vdccm-0.10.1.orig/src/rapiproxyconnection.cpp vdccm-0.10.1/src/rapiproxyconnection.cpp +--- vdccm-0.10.1.orig/src/rapiproxyconnection.cpp 2009-03-06 12:47:32.000000000 +0000 ++++ vdccm-0.10.1/src/rapiproxyconnection.cpp 2009-03-06 13:15:37.000000000 +0000 +@@ -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..717398e --- /dev/null +++ b/vdccm.spec @@ -0,0 +1,94 @@ +Name: vdccm +Version: 0.10.1 +Release: 6%{?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}-includes.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 -p1 + +%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 +* Sun Jul 26 2009 Fedora Release Engineering - 0.10.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Mar 05 2009 Caolán McNamara - 0.10.1-5 +- fix build + +* Wed Feb 25 2009 Fedora Release Engineering - 0.10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* 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