%define lib_major 8 %define libcpp_major 0 %define libname %mklibname pisock %{lib_major} %define libnamecpp %mklibname pisock++ %{libcpp_major} %define libsync %mklibname pisync %{sync_major} %define sync_major 0 Summary: File transfer utilities between Linux and PalmPilots Name: pilot-link Version: 0.11.8 Release: 9mdk Source: http://www.pilot-link.org/source/pilot-link-%{version}.tar.bz2 Source1: connect-palm-ppp.tar.bz2 # (gb) 0.11.8-8mdk direct libtool fixes, don't bother with aclocal/autoconf Patch0: pilot-link-0.11.8-libtool.patch.bz2 # (gb) 0.11.8-8mdk don't build Tcl bindings Patch1: pilot-link-0.11.8-no-tcl.patch.bz2 # (fc) 0.10.99-1mdk fix python/perl installation Patch7: pilot-link-0.11.8-destdir.patch.bz2 # (fc) 0.11.8-5mdk fix DLP buffer size (fix sync on T3) (CVS) Patch8: pilot-link-0.11.8-dlpsize.patch.bz2 # (fc) 0.11.8-9mdk remove obsolete options from usage (Mdk bug #13060) Patch9: pilot-link-0.11.8-noquiet.patch.bz2 URL: http://www.pilot-link.org/ License: GPL/LGPL Group: Communications BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: bison BuildRequires: perl-devel BuildRequires: XFree86-devel BuildRequires: readline-devel BuildRequires: ncurses-devel BuildRequires: automake1.4 BuildRequires: chrpath Obsoletes: %{name}-tcl Provides: %{name}-tcl %description This suite of tools allows you to upload and download programs and data files between a Linux/UNIX machine and the PalmPilot. It has a few extra utils that will allow for things like syncing the PalmPilot's calendar app with Ical. Note that you might still need to consult the sources for pilot-link if you would like the Python, Tcl, or Perl bindings. Install pilot-link if you want to synchronize your Palm with your Linux system. %package -n %{libname} Summary: Libraries needed to use pilot-link Group: System/Libraries %description -n %{libname} Libraries needed to use pilot-link %package -n %{libsync} Summary: Libraries needed to use pilot-link Group: System/Libraries %description -n %{libsync} Libraries needed to use pilot-link %package -n %{libnamecpp} Summary: Libraries needed to use pilot-link Group: System/Libraries %description -n %{libnamecpp} Libraries needed to use pilot-link %package -n %{libname}-devel Summary: PalmPilot development header files Group: Development/C Requires: %{name} = %{version}-%{release} Requires: %{libname} = %{version}-%{release} Requires: %{libnamecpp} = %{version}-%{release} Requires: %{libsync} = %{version}-%{release} Obsoletes: %{name}-devel Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Provides: libpisock-devel = %{version}-%{release} %description -n %{libname}-devel This package contains the development headers that are used to build the pilot-link package. It also includes the static libraries necessary to build static pilot apps. If you want to develop PalmPilot synchronizing applications, you'll need to install this package. %package -n perl-PDA-Pilot Summary: Perl module for Palm Group: Communications Requires: %{name} = %{version}-%{release} %description -n perl-PDA-Pilot This package provides perl modules for supporting Palm. %prep %setup -q -a 1 %patch0 -p1 -b .libtool %patch1 -p1 -b .no-tcl %patch7 -p1 -b .destdir %patch8 -p1 -b .dlpsize %patch9 -p1 -b .noquiet #needed by patches 0 & 1 autoconf #needed by patch 7 automake-1.4 %build %configure2_5x --with-perl --with-cpp %make cd src make ietf2datebook pilot-undelete sync-plan cd .. %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %{makeinstall_std} cd src cp ietf2datebook pilot-undelete sync-plan $RPM_BUILD_ROOT%{_bindir} cd .. chrpath -d %buildroot%{perl_vendorarch}/auto/PDA/Pilot/Pilot.so %post -p /sbin/ldconfig -n %{libname} %postun -p /sbin/ldconfig -n %{libname} %post -p /sbin/ldconfig -n %{libsync} %postun -p /sbin/ldconfig -n %{libsync} %post -p /sbin/ldconfig -n %{libnamecpp} %postun -p /sbin/ldconfig -n %{libnamecpp} %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING ChangeLog README NEWS %doc connect-palm-ppp/ %doc doc/README.usb doc/TODO %{_bindir}/addresses %{_bindir}/ccexample %{_bindir}/debugsh %{_bindir}/dlpsh %{_bindir}/hinotes %{_bindir}/install-datebook %{_bindir}/install-expenses %{_bindir}/install-hinote %{_bindir}/install-memo %{_bindir}/install-netsync %{_bindir}/install-todo %{_bindir}/install-todos %{_bindir}/install-user %{_bindir}/memos %{_bindir}/money2qif %{_bindir}/pi-csd %{_bindir}/pi-getram %{_bindir}/pi-getrom %{_bindir}/pi-getromtoken %{_bindir}/pi-nredir %{_bindir}/pilot-addresses %{_bindir}/pilot-archive %{_bindir}/pilot-clip %{_bindir}/pilot-datebook #%{_bindir}/pilot-debug %{_bindir}/pilot-dedupe %{_bindir}/pilot-file %{_bindir}/pilot-foto %{_bindir}/pilot-prc %{_bindir}/pilot-schlep %{_bindir}/pilot-xfer %{_bindir}/read-expenses %{_bindir}/read-ical %{_bindir}/read-notepad %{_bindir}/read-palmpix %{_bindir}/read-todos %{_bindir}/reminders %{_mandir}/man1/addresses* %{_mandir}/man1/dlpsh* %{_mandir}/man1/hinotes* %{_mandir}/man1/install-datebook* %{_mandir}/man1/install-expenses* %{_mandir}/man1/install-hinote* %{_mandir}/man1/install-memo* %{_mandir}/man1/install-netsync* %{_mandir}/man1/install-todo* %{_mandir}/man1/install-user* %{_mandir}/man1/memos* %{_mandir}/man1/pi-getram* %{_mandir}/man1/pi-getrom* %{_mandir}/man1/pilot-addresses* %{_mandir}/man1/pilot-foto* %{_mandir}/man1/pilot-xfer* %{_mandir}/man1/read-expenses* %{_mandir}/man1/read-ical* %{_mandir}/man1/read-notepad* %{_mandir}/man1/read-palmpix* %{_mandir}/man1/read-todos* %{_mandir}/man7/* %{_datadir}/pilot-link %files -n %{libname} %defattr(-,root,root) %{_libdir}/libpisock.so.* %files -n %{libsync} %defattr(-,root,root) %{_libdir}/libpisync.so.* %files -n %{libnamecpp} %defattr(-,root,root) %{_libdir}/libpisock++.so.* %files -n %{libname}-devel %defattr(-,root,root) %{_libdir}/*a %{_libdir}/*.so %{_includedir}/* %{_datadir}/aclocal/pilot-link.m4 %files -n perl-PDA-Pilot %defattr(-,root,root) %{_bindir}/ietf2datebook %{_bindir}/sync-plan %{_bindir}/pilot-undelete %{_mandir}/man1/ietf2datebook* %{perl_vendorarch}/auto/PDA/* %{perl_vendorarch}/PDA/* %changelog * Tue Feb 22 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.8-9mdk - Patch9: remove obsolete options from usage (Mdk bug #13060) * Mon Feb 14 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.11.8-8mdk - libtool fixes - use perl macros - make sure we don't build (unwanted?) tcl bindings * Thu Jan 20 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.11.8-7mdk - rebuild for new readline - fix bogus use of provides/obsoletes * Mon Jun 7 2004 Götz Waschk <waschk@linux-mandrake.com> 0.11.8-6mdk - remove wrong rpath from perl module - fix automake call - rebuild for new g++ * Thu Nov 20 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.8-5mdk - Patch8 (CVS): fix size of dlp buffer (fix sync on Palm T3) * Thu Aug 14 2003 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.11.8-4mdk - rebuild for new perl - don't use PREFIX * Tue Jul 22 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.11.8-3mdk - rebuild - cosmetics * Mon Jul 21 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.11.8-2mdk - Fix buildrequires * Fri Jul 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.11.8-1mdk - Release 0.11.8 (and upload all packages, this time :) - Regenerate patch 7 * Thu Jul 10 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 0.11.7-4mdk - Rebuild * Mon May 26 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 0.11.7-3mdk - Rebuild * Tue Apr 22 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.11.7-2mdk - Fix BuildRequires - mklibnamification * Thu Jan 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.7-1mdk - Release 0.11.7 * Fri Jan 3 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.6-1mdk - Release 0.11.6 - Regenerate patch7 (partially merged) * Fri Oct 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.5-1mdk - Release 0.11.5 - Remove patch11 (no longer needed) * Tue Aug 13 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.11.3-2mdk - Automated rebuild with gcc 3.2-0.3mdk * Thu Aug 8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.3-1mdk - Release 0.11.3 - Regenerate patch0 - Remove patches 9 (merged upstream) & 10 (no longer needed) * Mon Aug 5 2002 Pixel <pixel@mandrakesoft.com> 0.11.1-4mdk - rebuild for perl thread-multi (add patch11 to fix build) * Thu Jul 25 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.11.1-3mdk - Automated rebuild with gcc3.2 * Wed Jul 24 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.1-2mdk - Recompiled against latest readline * Fri Jul 19 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.1-1mdk - Release 0.11.1 - Regenerate patch 9 - Remove patch8 (merged upstream) - Patch10 : fix versionning of library * Wed Jul 17 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.0-4mdk - Fix obsoletes in -devel package * Tue Jul 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.0-3mdk - Add new subpackage for libpysync * Tue Jul 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.0-2mdk - Fix name of devel packages - Split library packages in two packages (C and C++) * Tue Jul 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.11.0-1mdk - Release 0.11.0 (stable release) * Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 0.10.99-2mdk - patch9 for vendor_perl - rebuild for perl 5.8.0 * Thu Jun 13 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.10.99-1mdk - Release 0.10.99 (WARNING : this is a developer release) - Remove patches 0, 1, 2, 3, 5 & 6 (merged upstream) - Patch7: use DESTDIR compliant makefile for Perl/Python bindings - Patch8: fix perl scripts generation - Merge Tcl stuff in main package (most part is no longer generated) * Tue May 28 2002 François Pons <fpons@mandrakesoft.com> 0.9.5-9mdk - build release (for newer libstdc++). * Sat Jan 19 2002 Jeff Garzik <jgarzik@mandrakesoft.com> 0.9.5-8mdk - Patch6: fix build under g++ v3 * Mon Jan 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-7mdk - Patch4 (Ximian): If the record was created and deleted between syncs (without being archived) ignore it - Patch5 (Ximian): Fix memory leaks * Tue Jan 8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-6mdk - Patch3 (Chmouel): use PILOTPORT when available in pilot-address * Mon Dec 17 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.9.5-5mdk - Add connect-palm-ppp documentation. * Wed Dec 12 2001 Stefan van der Eijk <stefan@eijk.nu> 0.9.5-4mdk - Fix BuildRequires - Fix build with tools/Tcl. (Geoffrey Lee) * Tue Jul 3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-3mdk - Add missing BuildRequires (tcl) * Mon Jun 25 2001 Stefan van der Eijk <stefan@eijk.nu> 0.9.5-2mdk - BuildRequires: XFree86-devel * Wed Jun 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-1mdk - Release 0.9.5 (final) - Regenerate configure and libtool - Regenerate patch0 for tcl part * Mon May 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.6.1mdk - Release 0.9.5-pre6 - Recompiled against latest perl - Change library package name * Thu Apr 5 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.5.4mdk - Correct descriptions again.. * Thu Mar 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.5.3mdk - Correct descriptions * Mon Mar 12 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.5.2mdk - Change patch 1 to correctly remove rpath * Fri Mar 9 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.5.1mdk - Release 0.9.5-pre5 - regenerate patch 0 - generate different packages for different languages * Wed Nov 15 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.3.2mdk - Rebuild with last stdlibc++ - Split lib package * Fri Oct 27 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-0.3.1mdk - Release 0.9.5-pre3 * Tue Oct 3 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.9.3-15mdk - Remove pilot-bug since it is unusefull and bring tcltk dependences. * Fri Sep 22 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-14mdk - Move perl part to its own package (which was preventing bootstrapping of package) * Tue Aug 29 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-13mdk - merge Alpha diff from Stefan van der Eijk * Mon Aug 28 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-12mdk - BM + macroszification * Wed May 17 2000 David BAUENS <baudens@mandrakesoft.com> 0.9.3-11mdk - Fix build for i486 * Thu Apr 13 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.9.3-10mdk - fix group * Tue Mar 28 2000 Pixel <pixel@mandrakesoft.com> 0.9.3-9mdk - cleanup - patch for perl 5.6 - rebuild for new readline * Tue Mar 21 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.9.3-8mdk - Fix group. * Thu Jan 20 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.9.3-7mdk - libtoolize --force. * Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com> - Fixes sync-plan - Fixed spec to build and install perl modules * Sat Nov 6 1999 John Buswell <johnb@mandrakesoft.com> - Build Release * Tue Nov 2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 0.9.3. - Fix building as user. - Rewrote spec. * Wed May 05 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com> - Mandrake adaptions - handle RPM_OPT_FLAGS - %post / %postun: make -p * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com> - strip binaries * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com> - added missing files from devel subpackage * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com> - move %{_libdir}/pix to %{_libdir}/pilot-link (dumb, BAD name) * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> - Injected new description and group. * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com> - arm fix * Fri Sep 24 1998 Michael Maher <mike@redhat.com> - cleaned up spec file, updated package * Tue May 19 1998 Michael Maher <mike@redhat.com> - updated rpm * Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com> - added changelog - updated to 0.8.9 - removed explicit requires for /usr/bin/perl