rpms/synce/devel synce-README.Fedora,1.1,1.2 synce.spec,1.24,1.25

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Tue May 1 17:52:07 UTC 2007


Author: abompard

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

Modified Files:
	synce-README.Fedora synce.spec 
Log Message:
* Tue May 01 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.9.1-10
- split and create meta-package to provide an upgrade path



Index: synce-README.Fedora
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/synce-README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- synce-README.Fedora	28 Nov 2005 21:43:35 -0000	1.1
+++ synce-README.Fedora	1 May 2007 17:51:36 -0000	1.2
@@ -1,5 +1,5 @@
-To configure the connection of your handheld through SynCE,
-plug it in, run "dccm" as your desktop user, and the run
-"synce-serial-config ipaq" as root.
-Unplug the device, and plug it back. It should connect
-automatically from now on.
+This package does not contain any file, it's a meta-package
+which will bring the components of the SynCE framework
+through its dependencies
+
+It is safe to remove this package.


Index: synce.spec
===================================================================
RCS file: /cvs/extras/rpms/synce/devel/synce.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- synce.spec	11 Nov 2006 08:42:30 -0000	1.24
+++ synce.spec	1 May 2007 17:51:36 -0000	1.25
@@ -1,27 +1,17 @@
 Name:           synce
 Version:        0.9.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Serial connection support for Pocket PC devices
 
 Group:          Applications/Communications
 License:        MIT
 URL:            http://synce.sourceforge.net/
-Source0:        http://dl.sf.net/synce/synce-libsynce-%{version}.tar.gz
-Source1:        http://dl.sf.net/synce/synce-dccm-%{version}.tar.gz
-Source2:        http://dl.sf.net/synce/synce-serial-%{version}.tar.gz
-Source3:        http://dl.sf.net/synce/synce-rra-%{version}.tar.gz
-Source4:        http://dl.sf.net/synce/synce-librapi2-%{version}.tar.gz
-Source5:        http://dl.sf.net/synce/libmimedir-0.4.tar.gz
-Source6:        synce.dev
-Source7:        synce-README.Fedora
-Patch0:         synce-rra-Makefile.patch
-Patch1:         synce-rra-devel.patch
+Source0:        synce-README.Fedora
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  automake
-BuildRequires:  libtool
-
-Requires: ppp
+Requires:       libsynce, librapi, librra, libmimedir
+# Required to provide an upgrade path from the monolithic synce package
+Provides:       libsynce.so.0, librapi.so.2, librra.so.0
 
 %description
 The purpose of the SynCE project is to provide a means of
@@ -33,6 +23,7 @@
 Summary: Development libraries and header files for SynCE
 Group: Development
 Requires: %{name} = %{version}-%{release}
+Requires: libsynce-devel, librapi-devel, librra-devel, libmimedir-devel
 
 %description devel
 This package contains the header files and link libraries for SynCE
@@ -43,158 +34,29 @@
 homepage at http://synce.sourceforge.net/
 
 %prep
-%setup -q -c -a 1 -a 2 -a 3 -a 4 -a 5
-%patch0
-%patch1
-
-%build
-# build libsynce
-cd synce-libsynce-%{version}
-%configure --disable-static --disable-rpath
-make
-SYNCEINC="$(pwd)/lib"
-SYNCELIB="$(pwd)/lib/.libs"
-cd ..
-# build dccm
-cd synce-dccm-%{version}
-%configure \
-    --with-libsynce-include="${SYNCEINC}" \
-    --with-libsynce-lib="${SYNCELIB}" \
-    --disable-static
-make LDFLAGS="-L${SYNCEINC}"
-cd ..
-# build librapi2
-cd synce-librapi2-%{version}
-%configure \
-    --with-libsynce-include="${SYNCEINC}" \
-    --with-libsynce-lib="${SYNCELIB}" \
-    --disable-static \
-    --disable-rpath
-make LDFLAGS="-L${SYNCEINC}"
-RAPI2INC="$(pwd)/src"
-RAPI2LIB="$(pwd)/src/.libs"
-cd ..
-# build libmimedir
-cd libmimedir-0.4
-CFLAGS="$RPM_OPT_FLAGS -fPIC" %configure 
-make
-# build shared libmimedir to work around x86_64 build error
-ld --shared --whole-archive libmimedir.a -o libmimedir.so
-rm libmimedir.a
-MIMEDIRINC="$(pwd)"
-MIMEDIRLIB="$(pwd)"
-cd ..
-# build rra
-cd synce-rra-%{version}
-./bootstrap
-%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}" \
-    --disable-static \
-    --disable-rpath
-
-make LDFLAGS="-L${SYNCEINC} -L${RAPI2INC} -L${MIMEDIRLIB} --shared"
-cd ..
-# build the serial support
-cd synce-serial-%{version}
-%configure
-make
-cd ..
+%setup -q -c
+cp %{SOURCE0} README.Fedora
 
 %install
 rm -rf $RPM_BUILD_ROOT
-for module in libsynce dccm librapi2 rra serial ; do
-    cd synce-${module}-%{version}
-    %makeinstall
-    cd ..
-done
-
-install -m 775 libmimedir-0.4/libmimedir.so $RPM_BUILD_ROOT/%{_libdir}/libmimedir.so
-
-find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
-
-# Enable autoconnect
-install -p -m 755 -D %{SOURCE6} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/scripts/synce.dev
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/dev.d/ipaq/
-ln -s ../../udev/scripts/synce.dev $RPM_BUILD_ROOT/%{_sysconfdir}/dev.d/ipaq/synce.dev
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/
-echo 'DRIVER=="ipaq", NAME="ipaq", SYMLINK+="ttyUSB%%n"' > \
-    $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/50-ipaq.rules
-cp %{SOURCE7} README.Fedora
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
 %doc README.Fedora
 
-#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-*
-#libmimedir
-%{_libdir}/libmimedir.so
-
-#autoconnect
-%{_sysconfdir}/udev/rules.d/50-ipaq.rules
-%{_sysconfdir}/udev/scripts/synce.dev
-%{_sysconfdir}/dev.d/ipaq/
-
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/*.h
-%{_libdir}/lib*.so
-%{_datadir}/aclocal/*.m4
+%doc README.Fedora
 
 %changelog
+* Tue May 01 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.9.1-10
+- split and create meta-package to provide an upgrade path
+
 * Sat Nov 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 0.9.1-9
 - fix udev script (#215129, #208517)




More information about the fedora-extras-commits mailing list