File msynctool.spec of Package msynctool

Name:           msynctool
Url:            http://www.opensync.org/
Version:        0.33
Release:        1
Summary:        CLI for synchronization with OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Source:         msynctool-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libopensync >= 0.32
Obsoletes:      multisync-cli
Provides:       multisync-cli

%if 0%{?fedora_version}
BuildRequires: opensync-devel
%else
%if 0{?suse_version}
BuildRequires: libopensync-devel
%endif
%endif

BuildRequires: scons

%define prefix   /usr

%description
Command line interface for libopensync to allow synchronization on
machines which lack a X server. It relies on the OpenSync framework to
do the actual synchronization. You need to install the libopensync
package and the plugins for it, too.

%prep
%setup -q

%build
scons APPEND_CCFLAGS="$RPM_OPT_FLAGS" prefix=%_prefix libsuffix=%_lib enable_rpath=0

%install
scons DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README
%{_bindir}/msynctool

%changelog
* Tue Oct 16 2007 - john@curioussymbols.com
- working on support for Fedora
* Mon Oct 15 2007 - cstender@suse.de
- updated to version 0.33
  o added support for unidirectional synchronization
* Thu Aug 02 2007 - cstender@suse.de
- updated to version 0.32
  o ported to the new OpenSync 0.3x API
  o changed to scons buildenv
  o added support for backup synchronization
  o removed convcard
  o removed convtest
* Thu Mar 29 2007 - cstender@suse.de
- updated to version 0.22
  o added convtest
  o fixed typo in format detector
  o removed useless debugging output
  o added event comparer to convcard
* Mon Nov 06 2006 - cstender@suse.de
- updated to version 0.20
  o fixed a crash due to missing return
* Tue Oct 10 2006 - cstender@suse.de
- obsoletes multisync-cli
* Fri Sep 29 2006 - cstender@suse.de
- renamed package from multisync-cli to msynctool
- updated to version 0.19
  o fixed autoconf warnings
  o added manpages for convcard and msynctool
* Mon Aug 28 2006 - cstender@suse.de
- updated to version 0.90.18+svn170
  o added checks to see if a conflict can be ignored
* Thu Jul 06 2006 - dgollub@suse.de
- initial import of multisync command line client 0.90.18_SVN168
openSUSE Build Service is sponsored by