rpms/synce/devel synce-rra-0.9.0-ambiguous.patch, NONE, 1.1 synce.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Cristian Gafton (gafton) fedora-extras-commits at redhat.com
Wed Dec 8 15:47:21 UTC 2004


Changeset from: gafton

Update of /cvs/extras/rpms/synce/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv25723/devel

Modified Files:
	.cvsignore sources 
Added Files:
	synce-rra-0.9.0-ambiguous.patch synce.spec 
Log Message:
auto-import synce-0.9.0-1 on branch devel from synce-0.9.0-1.src.rpm

synce-rra-0.9.0-ambiguous.patch:

--- NEW FILE synce-rra-0.9.0-ambiguous.patch ---
--- synce-rra-0.9.0/lib/appointment.c.ambiguous	2004-08-19 18:50:26.000000000 -0400
+++ synce-rra-0.9.0/lib/appointment.c	2004-08-19 18:51:07.000000000 -0400
@@ -665,7 +665,7 @@
             event_parser_data.exdates))
         synce_warning("Failed to parse recurrence rule");
 
-      if (event_parser_data.uid)
+      if (event_parser_data.uid) {
         if (0 == strncmp(event_parser_data.uid->values[0], BLOB0067_STR, strlen(BLOB0067_STR)))
         {
           /* A binary UID from SynCE */
@@ -694,6 +694,7 @@
               (uint8_t*)event_parser_data.uid->values[0], 
               strlen(event_parser_data.uid->values[0]));
         }
+      }
     }
     else
 #endif


--- NEW FILE synce.spec ---
Summary: SynCE: Serial connection support for Pocket PC devices
Name: synce
Version: 0.9.0
Release: 1
License: MIT
Group: Applications/Communications
Source0: synce-libsynce-%{version}.tar.gz
Source1: synce-dccm-%{version}.tar.gz
Source2: synce-serial-%{version}.tar.gz
Source3: synce-rra-%{version}.tar.gz
Source4: synce-librapi2-%{version}.tar.gz
Source5: libmimedir-0.3.tar.gz
Patch0: synce-rra-0.9.0-ambiguous.patch
URL: http://synce.sourceforge.net/
Distribution: Fedora Core
Requires: ppp
BuildRoot: /var/tmp/%{name}-%{version}-root

%description
The purpose of the SynCE project is to provide a means of
communication with a Windows CE device from a computer running Linux,
FreeBSD or a similar operating system. The SynCE project homepage is
available here: http://synce.sourceforge.net/

%package devel
Summary: Development libraries and header files for SynCE
Group: Development
Requires: %{name} = %{version}

%description devel
This package contains the header files and link libraries for SynCE
application development. SynCE provides support for communication
between a Windows CE device (PDA, smart phone) and a Linux machine.

For more details on the SynCE project, please refer to the project's
homepage at http://synce.sourceforge.net/

%prep
%setup -q -c -a 1 -a 2 -a 3 -a 4 -a 5
%patch0 -p0 -b .ambiguous

%build
# build libsynce
cd synce-libsynce-%{version}
%configure
make
SYNCEINC="$(pwd)/lib"
SYNCELIB="$(pwd)/lib/.libs"
cd ..
# build dccm
cd synce-dccm-%{version}
%configure \
    --with-libsynce-include="${SYNCEINC}" \
    --with-libsynce-lib="${SYNCELIB}"
make LDFLAGS="-L${SYNCEINC}"
cd ..
# build librapi2
cd synce-librapi2-%{version}
%configure \
    --with-libsynce-include="${SYNCEINC}" \
    --with-libsynce-lib="${SYNCELIB}"
make LDFLAGS="-L${SYNCEINC}"
RAPI2INC="$(pwd)/src"
RAPI2LIB="$(pwd)/src/.libs"
cd ..
# build libmimedir
cd libmimedir-0.3
%configure
make
MIMEDIRINC="$(pwd)"
MIMEDIRLIB="$(pwd)"
cd ..
# build rra
cd synce-rra-%{version}
%configure \
    --with-libsynce-include="${SYNCEINC}" \
    --with-libsynce-lib="${SYNCELIB}" \
    --with-librapi2-include="${RAPI2INC}" \
    --with-librapi2-lib="${RAPI2LIB}" \
    --with-libmimedir-include="${MIMEDIRINC}" \
    --with-libmimedir-lib="${MIMEDIRLIB}"
make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB}"
cd ..
# build the serial support
cd synce-serial-%{version}
%configure
make
cd ..

%install
rm -rf $RPM_BUILD_ROOT
for module in libsynce dccm librapi2 rra serial ; do 
    cd synce-${module}-%{version}
    %makeinstall
    cd ..
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
#%doc README LICENSE

#libsynce
%{_libdir}/libsynce.so.0*
%{_mandir}/man1/synce.*
#librapi2
%{_bindir}/pcp
%{_bindir}/pls
%{_bindir}/pmkdir
%{_bindir}/pmv
%{_bindir}/prm
%{_bindir}/prmdir
%{_bindir}/prun
%{_bindir}/pstatus
%{_bindir}/rapiconfig
%{_bindir}/synce-install-cab
%{_bindir}/synce-list-programs
%{_bindir}/synce-registry
%{_bindir}/synce-remove-program
%{_libdir}/librapi.so.2*
%{_mandir}/man1/pcp.*
%{_mandir}/man1/pls.*
%{_mandir}/man1/pmkdir.*
%{_mandir}/man1/pmv.*
%{_mandir}/man1/prm.*
%{_mandir}/man1/prmdir.*
%{_mandir}/man1/prun.*
%{_mandir}/man1/pstatus.*
%{_mandir}/man1/synce-install-cab.*
%{_mandir}/man1/rapiconfig.*
%{_mandir}/man1/synce-list-programs.*
%{_mandir}/man1/synce-remove-program.*
#rra
%{_bindir}/synce-matchmaker
%{_libdir}/librra.so.0*
%{_mandir}/man1/synce-matchmaker.*
#dccm
%{_bindir}/dccm
%{_bindir}/synce-sound
%{_mandir}/man1/dccm.*
%{_mandir}/man1/synce-sound.*
#serial
%{_bindir}/synce-serial-*
%{_datadir}/synce
%{_mandir}/man8/synce-serial-*

%files devel
%{_includedir}/*.h
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_datadir}/aclocal/*.m4

%changelog
* Thu Aug 19 2004 Cristian Gafton <gafton at redhat.com> 0.9.0-1
- build new spec file from scratch that groups all the little modules
  together to avoid the proliferation of another half dozen single
  purpose packages...



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2004 15:46:22 -0000	1.1
+++ .cvsignore	8 Dec 2004 15:47:19 -0000	1.2
@@ -0,0 +1,6 @@
+libmimedir-0.3.tar.gz
+synce-dccm-0.9.0.tar.gz
+synce-librapi2-0.9.0.tar.gz
+synce-libsynce-0.9.0.tar.gz
+synce-rra-0.9.0.tar.gz
+synce-serial-0.9.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2004 15:46:22 -0000	1.1
+++ sources	8 Dec 2004 15:47:19 -0000	1.2
@@ -0,0 +1,6 @@
+bb967f6f8931d4efdc34d3729b7f819b  libmimedir-0.3.tar.gz
+a32607bf423e5e5467b80edc2b7dac5d  synce-dccm-0.9.0.tar.gz
+f585e8d56c83d4e811197d671fd4c201  synce-librapi2-0.9.0.tar.gz
+497efcbf55453da808041e7f8d55690b  synce-libsynce-0.9.0.tar.gz
+c6e6c29916518359a9c188f455305970  synce-rra-0.9.0.tar.gz
+3042891c850fa685e40b1216debc34f9  synce-serial-0.9.0.tar.gz




More information about the fedora-extras-commits mailing list