From 5c381367be95e4419b31f0aaa81119c4bbffa298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20T=C3=A4tzner?= Date: Sat, 14 Jan 2012 11:34:43 +0100 Subject: [PATCH] Initial import (#734531). --- .gitignore | 1 + sources | 1 + unison.png | Bin 0 -> 976 bytes unison240.spec | 225 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 227 insertions(+) create mode 100644 unison.png create mode 100644 unison240.spec diff --git a/.gitignore b/.gitignore index e69de29..b8598c7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/unison-2.40.63.tar.gz diff --git a/sources b/sources index e69de29..e6ae003 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3281207850cf6f0a17fe73f371893bd3 unison-2.40.63.tar.gz diff --git a/unison.png b/unison.png new file mode 100644 index 0000000000000000000000000000000000000000..22c623930119be892817fa99535048a7f586af22 GIT binary patch literal 976 zcmW-fU1-j66vw~Mylpcq^VYPQD6P&iDKI{!cY#R!t}_F9tB7zOFV4 zAkD9E6o8xE`9YxIWaHZAmBI1|i_i#(08j4W7OvqE4mQohEKI{B47{rzYM~k`q2N>T z5DU=|2|*wN90%pSO3NT~xTC zf7{Hemo=~J@-1>^N^ea|M{8gC>@klIZ|V5Z6g_qM)xB$r$1VD|ZZNg9ecX-drC;-9 z4^sE%KPzfZU%J+ss;GXtdR-dVE1wl*CY_vh`AFG})IiewQ&iH~S~&ON=5)`O-0p&k z^KDZzFUNM|Dl13IJG ver_compat == 2.13 +# In older versions, even patch levels were not compatible +# Examples are ver_compat==2.9.0 and ver_compat==2.9.1 +%define ver_compat %{ver_maj}.%{ver_min} +%define ver_compat_name %{ver_maj}%{ver_min} +%define ver_noncompat .%{ver_patch} + +# ver_priority is the first component of ver_compat, catenated with the second +# component of ver_compat zero-filled to 3 digits, catenated with a final +# zero-filled 3-digit field. The final field contains the 3rd component of +# ver_compat (if there is one), otherwise 0. +%define ver_priority %(printf %%d%%03d%%03d `echo %{ver_compat}|sed 's/\\./ /g'`) + +# Is this package the unisonNNN package with the highest ${ver_compat} +# available in this Fedora branch/release? If so, we provide unison. +%define provide_unison 1 + +Name: unison%{ver_compat_name} +Version: %{ver_compat}%{ver_noncompat} +Release: 4%{?dist} + +Summary: Multi-master File synchronization tool + +Group: Applications/File +License: GPLv3+ +URL: http://www.cis.upenn.edu/~bcpierce/unison +Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-%{version}/unison-%{version}.tar.gz +Source1: unison.png +ExcludeArch: sparc64 s390 s390x + +BuildRequires: ocaml +BuildRequires: ocaml-lablgtk-devel +BuildRequires: desktop-file-utils +# for lablgtk +BuildRequires: gtk2-devel + +Requires(posttrans): %{_sbindir}/alternatives +Requires(postun): %{_sbindir}/alternatives + +# Enforce the switch from unison to unisonN.NN +Obsoletes: unison < 2.27.57-3 +# Let users just install "unison" if they want +%if 0%{?provide_unison} +Provides: unison = %{version}-%{release} +%endif + +%description +Unison is a multi-master file-synchronization tool. It allows two +replicas of a collection of files and directories to be stored on +different hosts (or different locations on the same host), modified +separately, and then brought up to date by propagating the changes +in each replica to the other. + +Note that this package contains Unison version %{ver_compat}, and +will never be upgraded to a different major version. Other packages +exist if you require a different major version. + +%prep +%setup -q -n unison-%{version} + +cat > %{name}.desktop < - 2.40.63-4 +- remove ocaml minimum version +- add Requires and provides scripts + +* Tue Sep 27 2011 Gregor Taetzner - 2.40.63-3 +- vendor tag removed + +* Sun Sep 04 2011 Gregor Taetzner - 2.40.63-2 +- remove xorg-x11-font-utils Requirement +- enable THREADS=true + +* Thu Aug 30 2011 Gregor Taetzner - 2.40.63-1 +- Version bump. + +* Sun Jul 26 2009 Fedora Release Engineering - 2.27.57-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Apr 16 2009 S390x secondary arch maintainer +- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs + (added sparc64 per request from the sparc maintainer) + +* Wed Feb 25 2009 Fedora Release Engineering - 2.27.57-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 8 2009 Stephen Warren - 2.27.57-11 +- Add Requires: xorg-x11-fonts-misc + +* Wed Nov 26 2008 Richard W.M. Jones - 2.27.57-10 +- Rebuild for OCaml 3.11.0+rc1. + +* Sat May 24 2008 Richard W.M. Jones - 2.27.57-9 +- Rebuild with OCaml 3.10.2-2 (fixes bz 441685, 445545). + +* Sun Mar 30 2008 Stephen Warren - 2.27.57-8 +- Don't use alternatives for desktop and icon files, to avoid duplicate + menu entries. + +* Wed Mar 19 2008 Stephen Warren - 2.27.57-7 +- Fix license to match correct interpretation of source & GPL +- Remove Excludes for ppc64, since ocaml is available there now, in devel + +* Sat Mar 15 2008 Stephen Warren - 2.27.57-6 +- Rename package unison2.27 -> unison227 to match Fedora naming rules +- Automatically calculate ver_priority using the shell; easier maintenance + +* Sat Mar 1 2008 Stephen Warren - 2.27.57-5 +- Use Provides/Obsoletes to provide upgrade path, per: + http://fedoraproject.org/wiki/Packaging/NamingGuidelines + +* Thu Feb 28 2008 Stephen Warren - 2.27.57-4 +- Explicitly conflict with existing unison package + +* Fri Feb 22 2008 Stephen Warren - 2.27.57-3 +- Derived unison2.27 package from unison2.13 package + +* Mon Feb 4 2008 Gerard Milmeister - 2.27.57-2 +- exclude arch ppc64 + +* Mon Feb 4 2008 Gerard Milmeister - 2.27.57-1 +- new release 2.27.57 + +* Tue Aug 29 2006 Gerard Milmeister - 2.13.16-3 +- Rebuild for FE6 + +* Tue Feb 28 2006 Gerard Milmeister - 2.13.16-2 +- Rebuild for Fedora Extras 5 + +* Thu Sep 1 2005 Gerard Milmeister - 2.13.16-1 +- New Version 2.13.16 + +* Sun Jul 31 2005 Gerard Milmeister - 2.12.0-0 +- New Version 2.12.0 + +* Fri May 27 2005 Toshio Kuratomi - 2.10.2-7 +- Bump and rebuild with new ocaml and new lablgtk + +* Sun May 22 2005 Jeremy Katz - 2.10.2-6 +- rebuild on all arches + +* Mon May 16 2005 Gerard Milmeister - 2.10.2-5 +- Patch: http://groups.yahoo.com/group/unison-users/message/3200 + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Thu Feb 24 2005 Michael Schwendt - 0:2.10.2-2 +- BR gtk2-devel +- Added NEWS and README docs + +* Sat Feb 12 2005 Gerard Milmeister - 0:2.10.2-1 +- New Version 2.10.2 + +* Wed Apr 28 2004 Gerard Milmeister - 0:2.9.74-0.fdr.1 +- New Version 2.9.74 +- Added icon + +* Tue Jan 13 2004 Gerard Milmeister - 0:2.9.72-0.fdr.1 +- New Version 2.9.72 + +* Tue Dec 9 2003 Gerard Milmeister - 0:2.9.70-0.fdr.2 +- Changed Summary +- Added .desktop file + +* Fri Oct 31 2003 Gerard Milmeister - 0:2.9.70-0.fdr.1 +- First Fedora release +