Summary: File-synchronization tool for Unix and Windows Name: unison Version: 2.40.63 Release: %mkrel 1 License: GPLv2 Group: File tools Requires: openssh-clients x11-font-schumacher-misc rsync BuildRequires: ocaml-lablgtk2-devel gtk+2-devel glib2-devel pango-devel emacs-bin Source0: http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/%{name}-%{version}.tar.gz Source1: unison.png Source2: http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/%{name}-%{version}-manual.pdf URL: http://www.cis.upenn.edu/~bcpierce/unison/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unlike simple mirroring or backup utilities, Unison can deal with updates to both replicas of a distributed directory structure. Updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed. Unison can synchronize either locally (between volumes mounted on the same computer) or remotely,between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an rsh or an encrypted ssh connection. It is careful with network bandwidth, and runs well over slow links such as PPP connections. Unison is available for both Windows (95/98/NT/2K) and Unix (Linux, Solaris). Moreover, Unison works across platforms, allowing you to synchronize a Windows laptop with a Unix server, for example. %prep %setup -q %build %make THREADS=true UISTYLE=gtk2 buildexecutable %install %__rm -rf %{buildroot} install -m755 %{name} -D %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}%{_datadir}/pixmaps cp -f %{SOURCE1} %{buildroot}%{_datadir}/pixmaps cp -f %{SOURCE2} . mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF [Desktop Entry] Name=%{name} Comment=%{summary} Exec=%{_bindir}/%{name} Icon=%{name} Terminal=false Type=Application Categories=GTK;Network;FileTransfer;P2P; EOF %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc NEWS TODO.txt README CONTRIB COPYING %{name}-%{version}-manual.pdf %{_bindir}/* %{_datadir}/applications/mandriva-%{name}.desktop %{_datadir}/pixmaps/* %changelog * Wed Aug 10 2011 Lev Givon <lev@mandriva.org> 2.40.63-1mdv2012.0 + Revision: 693801 - Update to 2.40.63. Patch to build with ocaml 3.12 no longer needed. * Tue Mar 15 2011 Lev Givon <lev@mandriva.org> 2.40.61-1 + Revision: 644837 - Update to 2.40.61. * Thu Dec 09 2010 Luc Menut <lmenut@mandriva.org> 2.32.52-2mdv2011.0 + Revision: 616493 - add upstream patch to fix compilation with OCcaml 3.12 drop unused patch Makefile.OCaml.patch + Oden Eriksson <oeriksson@mandriva.com> - the mass rebuild of 2010.1 packages + Sandro Cazzaniga <kharec@mandriva.org> - clean spec, not bumping rel. * Thu Dec 24 2009 Funda Wang <fwang@mandriva.org> 2.32.52-1mdv2010.1 + Revision: 482107 - New version 2.32.52 + Thierry Vignaud <tv@mandriva.org> - rebuild * Thu Jul 03 2008 Lev Givon <lev@mandriva.org> 2.27.57-1mdv2009.0 + Revision: 231198 - Update to 2.27.57. + Thierry Vignaud <tv@mandriva.org> - fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <blino@mandriva.org> - restore BuildRoot * Sat Sep 01 2007 Emmanuel Andry <eandry@mandriva.org> 2.17.1-3mdv2008.0 + Revision: 77708 - add icon from fedora + Thierry Vignaud <tv@mandriva.org> - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' * Sat Mar 17 2007 Emmanuel Andry <eandry@mandriva.org> 2.17.1-3mdv2007.1 + Revision: 145517 - enable threads - requires x11-font-schumacher-misc (bug #24811) - requires rsync * Fri Jan 05 2007 Emmanuel Andry <eandry@mandriva.org> 2.17.1-1mdv2007.1 + Revision: 104646 - New version 2.17.1 fix source URL - Import unison * Mon Aug 28 2006 Emmanuel Andry <eandry@mandriva.org> 2.13.16-2mdv2007.0 - switch to gtk+2 - xdg menu * Fri Aug 26 2005 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 2.13.16-1mdk - 2.13.16 - %%mkrel - wipe out buildroot at the beginning of %%install * Wed Jul 06 2005 Lenny Cartier <lenny@mandriva.com> 2.12.0-1mdk - 2.12.0 * Fri Apr 23 2004 Götz Waschk <waschk@linux-mandrake.com> 2.9.1-7mdk - fix buildrequires