2007-01-16 00:40:09 +01:00
|
|
|
#
|
2008-01-21 13:38:13 +01:00
|
|
|
# spec file for package unison (Version 2.27.57)
|
2007-01-16 00:40:09 +01:00
|
|
|
#
|
2009-06-19 00:18:08 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:40:09 +01:00
|
|
|
#
|
2009-06-19 00:18:08 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:40:09 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-19 00:18:08 +02:00
|
|
|
|
2007-01-16 00:40:09 +01:00
|
|
|
Name: unison
|
2007-10-08 12:31:34 +02:00
|
|
|
BuildRequires: gtk2-devel ncurses-devel update-desktop-files
|
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: lablgtk2-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: lablgtk2
|
|
|
|
%endif
|
|
|
|
License: GPL v2 or later
|
2007-01-16 00:40:09 +01:00
|
|
|
Group: Productivity/Networking/Other
|
2007-10-08 12:31:34 +02:00
|
|
|
AutoReqProv: on
|
2008-01-21 13:38:13 +01:00
|
|
|
Version: 2.27.57
|
2009-06-20 04:52:40 +02:00
|
|
|
Release: 117
|
2007-01-16 00:40:09 +01:00
|
|
|
Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-%{version}.tar.gz
|
|
|
|
Source1: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-%{version}-manual.html
|
|
|
|
Source2: %name.desktop
|
2007-11-28 23:52:23 +01:00
|
|
|
Source3: %name.png
|
2007-10-08 12:31:34 +02:00
|
|
|
Url: http://www.cis.upenn.edu/~bcpierce/unison
|
2007-01-16 00:40:09 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: A file synchronization tool
|
|
|
|
|
|
|
|
%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, then brought up to date by propagating the changes in each
|
|
|
|
replica to the other.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Benjamin Pierce <bcpierce@cis.upenn.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-06-20 04:52:40 +02:00
|
|
|
# This package failed when testing with -Wl,-as-needed being default.
|
|
|
|
# So we disable it here, if you want to retest, just delete this comment and the line below.
|
|
|
|
export SUSE_ASNEEDED=0
|
2007-01-16 00:40:09 +01:00
|
|
|
%ifarch s390 s390x
|
|
|
|
make UISTYLE=gtk2 NATIVE=false THREADS=false
|
|
|
|
%else
|
|
|
|
make UISTYLE=gtk2 NATIVE=true THREADS=true
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -m 755 %name $RPM_BUILD_ROOT%{_bindir}
|
2007-11-28 23:52:23 +01:00
|
|
|
install -m 755 -d $RPM_BUILD_ROOT/%{_prefix}/share/pixmaps
|
|
|
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_prefix}/share/pixmaps
|
2007-01-16 00:40:09 +01:00
|
|
|
install -m 644 %{SOURCE1} unison-manual.html
|
|
|
|
%suse_update_desktop_file -i %name Utility SyncUtility
|
|
|
|
%ifarch s390 s390x
|
|
|
|
# do not strip non-optimized builds
|
|
|
|
export NO_BRP_STRIP_DEBUG=true
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc BUGS.txt CONTRIB COPYING NEWS README ROADMAP.txt TODO.txt unison-manual.html
|
|
|
|
/usr/share/applications/*
|
2007-11-28 23:52:23 +01:00
|
|
|
/usr/share/pixmaps/unison.png
|
2007-01-16 00:40:09 +01:00
|
|
|
%{_bindir}/%{name}
|
2007-11-28 23:52:23 +01:00
|
|
|
|
2007-04-18 00:50:55 +02:00
|
|
|
%changelog
|
2009-06-20 04:52:40 +02:00
|
|
|
* Fri Jun 19 2009 coolo@novell.com
|
|
|
|
- disable as-needed for this package as it fails to build with it
|
2008-01-21 13:38:13 +01:00
|
|
|
* Mon Jan 21 2008 seife@suse.de
|
|
|
|
- Updated to 2.27.57:
|
|
|
|
* only some minor bugfixes (mistriggering assertions etc)
|
|
|
|
* the patch vor bug 331513 is incorporated upstream
|
|
|
|
* Wed Nov 28 2007 seife@suse.de
|
2007-11-28 23:52:23 +01:00
|
|
|
- add an application icon for unison (bug 309880)
|
2008-01-21 13:38:13 +01:00
|
|
|
* Thu Oct 25 2007 seife@suse.de
|
2007-11-28 23:52:23 +01:00
|
|
|
- fix bug 331513 (one ":" too much in the profile)
|
2008-01-21 13:38:13 +01:00
|
|
|
* Sun Oct 07 2007 tsieden@suse.de
|
2007-10-08 12:31:34 +02:00
|
|
|
- Updated to 2.27.47:
|
|
|
|
* Major rewrite and cleanup of the whole Mac OS X graphical user
|
|
|
|
interface by Craig Federighi.
|
|
|
|
* Ignore all-whitespace lines in preference files
|
|
|
|
* Small fix to ctime (non-)handling in update detection under windows
|
|
|
|
with fastcheck.
|
2008-01-21 13:38:13 +01:00
|
|
|
* Fri Aug 24 2007 tsieden@suse.de
|
2007-10-08 12:31:34 +02:00
|
|
|
- Updated to 2.27.29:
|
|
|
|
* small bugfixes - mostly windows related
|
2008-01-21 13:38:13 +01:00
|
|
|
* Thu Aug 23 2007 tsieden@suse.de
|
2007-10-08 12:31:34 +02:00
|
|
|
- fix build (BuildRequires lablgtk2-devel only if suse_version >1020)
|
2008-01-21 13:38:13 +01:00
|
|
|
* Fri May 25 2007 ro@suse.de
|
2007-05-25 01:38:32 +02:00
|
|
|
- added lablgtk2-devel to buildreq
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Apr 25 2007 mhopf@suse.de
|
2007-04-26 15:38:51 +02:00
|
|
|
- Updated to 2.27.24:
|
|
|
|
* Backup functionality completely rewritten, removing bugs.
|
|
|
|
* Several savety improvements: mountpoint checks, big deletes, missing
|
|
|
|
symlink destinations
|
|
|
|
* New forcepartial and preferpartial preferences
|
|
|
|
* Improved debugging
|
|
|
|
* Merge functionality partially rewritten
|
|
|
|
* Reversed diff arguments.
|
|
|
|
* Many bugfixes (fastcheck + daylight saving time under windows, 32/64
|
|
|
|
bit cleanup, removing deadlocks, ...)
|
2008-01-21 13:38:13 +01:00
|
|
|
* Tue Apr 17 2007 seife@suse.de
|
2007-04-18 00:50:55 +02:00
|
|
|
- add ncurses-devel to buildrequires, to fix build on s390
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Dec 13 2006 mhopf@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- added patch for no longer closing main window if subwindows open
|
|
|
|
- removed unison-gtk1 again
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Dec 06 2006 seife@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- add unison-gtk1, a binary compiled against lablgtk
|
2008-01-21 13:38:13 +01:00
|
|
|
* Mon Sep 25 2006 mhopf@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- Update to version 2.17.1
|
|
|
|
- Completely rewritten backup function (actually working now)
|
|
|
|
- Ip V6 support
|
|
|
|
- Several bug fixes
|
2008-01-21 13:38:13 +01:00
|
|
|
* Thu Sep 21 2006 seife@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- switch to GTK2 / lablgtk2
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-01-21 13:38:13 +01:00
|
|
|
* Mon Oct 10 2005 rommel@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- update to version 2.13.16 (includes all of our recent fixes)
|
|
|
|
- updated spec file, manual is available in html now
|
2008-01-21 13:38:13 +01:00
|
|
|
* Tue Mar 15 2005 ro@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- enable optimized compile on x86_64
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Sep 15 2004 ro@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- fix build with ocaml-3.08 (from unison-hackers ml)
|
2008-01-21 13:38:13 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- build as user
|
2008-01-21 13:38:13 +01:00
|
|
|
* Fri Aug 15 2003 adrian@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- add desktop file
|
2008-01-21 13:38:13 +01:00
|
|
|
* Tue Jul 22 2003 rommel@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- fixed "invalid escape sequence" error messages
|
|
|
|
- fixed %%install (not using make install anymore)
|
|
|
|
- compiling with thread support
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed May 07 2003 ro@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- fix tail calling syntax
|
2008-01-21 13:38:13 +01:00
|
|
|
* Mon Jan 27 2003 rommel@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- replaced pdf file (unreadable) with ps file
|
2008-01-21 13:38:13 +01:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- removed bogus self-provides
|
2009-06-20 04:52:40 +02:00
|
|
|
* Tue May 28 2002 ro@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- update to 2.9.1 makes it build with current ocaml
|
2008-01-21 13:38:13 +01:00
|
|
|
* Fri Sep 14 2001 grimmer@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- Update to 2.7.7, which fixes the following bugs (since
|
|
|
|
2.7.1):
|
|
|
|
* Fixed a silly bug that would reliably prevent the Unison
|
|
|
|
client from starting in 2.7.4.
|
|
|
|
* Bug fix (2.7.4): read the initial connection header one byte
|
|
|
|
at a time, so that we don't block if the header is shorter
|
|
|
|
than expected.
|
2008-01-21 13:38:13 +01:00
|
|
|
* Wed Aug 29 2001 grimmer@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- Update to 2.7.1 (see the NEWS file for changes)
|
|
|
|
- updated PDF manual to latest version
|
2008-01-21 13:38:13 +01:00
|
|
|
* Thu Aug 16 2001 grimmer@suse.de
|
2007-01-16 00:40:09 +01:00
|
|
|
- Initial package for SuSE Linux (version 2.6.59)
|