File libopensync-plugin-file.spec of Package libopensync-plugin-file

#
# spec file for package libopensync-plugin-file (Version 0.22)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           libopensync-plugin-file
BuildRequires:  libopensync-devel
URL:            http://www.opensync.org
Version:        0.22
Release:        36
Summary:        File Synchronization Plug-In for OpenSync
License:        LGPL v2 or later
Group:          Productivity/Other
Autoreqprov:    on
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define prefix   /usr

%description
This plug-in allows applications using OpenSync to synchronize to and
from files stored on disk.

Additionally install the libopensync package.



Authors:
--------
    Armin Bauer <armin.bauer@desscon.com>

%prep
%setup -q

%build
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
# only needed for development, and currently there's no package needing it.
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/plugins/file_sync.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/file_sync.so
%{_datadir}/opensync/defaults/file-sync
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README

%changelog
* Thu Mar 29 2007 - cstender@suse.de
- updated to version 0.22
  o added doc comments in default config
* Mon Nov 06 2006 - cstender@suse.de
- bumped version to 0.20
* Fri Sep 29 2006 - cstender@suse.de
- updated to version 0.19
  o fixed a bug where it would be possible to generate
  invalid filenames
  o disabled fam
  o fixed detection of invalid filenames
  o fixed a bug where all file names are autogenerated
* Mon Aug 28 2006 - cstender@suse.de
- updated to version 0.18+svn1233
  o fixed the license (all code is LGPL)
* Thu Jul 06 2006 - dgollub@suse.de
- updatd to version 0.18_SVN1095:
  o fixed problem with reading files from the beginning
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 - dgollub@suse.de
- update to version 0.18_SVN770
* Fri Nov 18 2005 - dgollub@suse.de
- fixed typo in spec file
* Fri Nov 11 2005 - dgollub@suse.de
- updated to version 0.18
* Fri Oct 21 2005 - behlert@suse.de
- updated svn-version (svn20051021)
* Wed Oct 05 2005 - behlert@suse.de
- updated svn-version (svn20051005)
* Wed Jun 29 2005 - behlert@suse.de
- fixes in spec-file
* Fri Jun 24 2005 - behlert@suse.de
- initial version for package (v0.17)