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..7f9361a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +synce-vdccm-0.9.3.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index f029cb2..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vdccm -# $Id$ -NAME := vdccm -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..076e006 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +996236320a6b4c9410050c4dc6e53164 synce-vdccm-0.9.3.tar.gz diff --git a/vdccm.spec b/vdccm.spec new file mode 100644 index 0000000..0bdc617 --- /dev/null +++ b/vdccm.spec @@ -0,0 +1,72 @@ +Name: vdccm +Version: 0.9.3 +Release: 1%{?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/synce-vdccm-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libsynce-devel +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 + +%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}/proxyclient +%{_bindir}/triggerconnection +%{_libdir}/libdescriptor.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so + + +%changelog +* Sat Mar 03 2007 Aurelien Bompard 0.9.3-1 +- split off the synce package