File synbak.spec of Package synbak

# vim: set ts=4 sw=4 et:

%define _libdir	%{_prefix}/lib

Name:           synbak
Version:        1.4.0
Release:        0
Summary:        Universal Backup System
# http://www.initzero.it/products/opensource/synbak/download/synbak-%{version}.tar.gz
Source:         synbak-%{version}.tar.bz2
Source99:       %{name}-rpmlintrc
URL:            http://www.initzero.it/products/opensource/synbak/
Group:          Productivity/Archiving/Backup
License:        GNU General Public License (GPL)
BuildRoot:      %{_tmppath}/build-%{name}-%{version}
Requires:       mkisofs cdrecord rsync tar
Requires:       gawk sed netcat bc mktemp bash
%if %suse_version >= 1010
Suggests:       openldap2-client mysql-client rsync mtx tar
%endif
BuildRequires:  autoconf automake libtool gettext
%if %suse_version >= 910
BuildRequires:  gettext-devel
%endif
BuildArch:      noarch

%description
Synbak is an application designed to unify several backup methods. Synbak
provides a powerful reporting system and a very simple interface for
configuration files.
Synbak is a wrapper for several existing backup programs suppling the end user
with common method for configuration that will manage the execution logic for
every single backup and will give detailed reports of backups result.

Synbak can make backups using:
- Rsync (over ssh, rsync smb and cifs protocols)
- Tar (tar.gz and tar.bz2) archives
- Tape (even using multi loader changer tapes)
- LDAP databases
- MySQL databases
- CDR/CD-RW/DVR/DVD-RW
- and more...

Synbak can make reports using:
- Email
- Html pages
- RSS feeds
- and more...

Moreover, if you are a developer and want to contribute, the modular nature of
synbak will allow you to easly write new backup methods, reports, and
translations.

%prep
%setup -q

%build
%configure
%__make %{?_smp_flags}

%install
%makeinstall
%__rm -rf "%{buildroot}%{_datadir}/doc"

%find_lang "%{name}"

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files -f "%{name}.lang"
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/synbak
%dir %{_datadir}/synbak
%{_datadir}/synbak/functions.sh
%dir %{_datadir}/synbak/method
%{_datadir}/synbak/method/*
%dir %{_datadir}/synbak/report
%{_datadir}/synbak/report/*
%config %{_datadir}/synbak/template.conf

%changelog
openSUSE Build Service is sponsored by