Release: 1
License: GPL
Group: Networking/Utilities
-Group(de): Netzwerkwesen/Werkzeuge
-Group(pl): Sieciowe/Narzêdzia
-Source0: http://prdownloads.sourceforge.net/bbackup/%{name}-%{version}.tar.gz
-Requires: tar >= 1.12
+Source0: http://dl.sourceforge.net/bbackup/%{name}-%{version}.tar.gz
+# Source0-md5: 3fcff65424da518ca351971c00b51912
+URL: http://bbackup.sourceforge.net/
BuildRequires: perl >= 5.6.0
BuildRequires: perl-AppConfig
BuildRequires: perl-devel
+Requires: tar >= 1.12
BuildArch: noarch
-URL: http://bbackup.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%description
-bbackup is a sophisticated frontend for GNU-tar. It allows to perform
-full backups as well as incremental backups. It can handle a number of
-filesystems to be backed up (which could even be mounted at runtime).
-It is possible to write backups either to streaming media or to plain
-files (perferrably on a separate harddisk).
+%description
+bbackup is a sophisticated frontend for GNU-tar. It allows you to
+perform full backups as well as incremental backups. It can handle
+a number of filesystems to be backed up (which could even be mounted
+at runtime). It is possible to write backups either to streaming
+media or to plain files (preferably on a separate harddisk).
%description -l pl
bbackup jest wyrafinowan± nak³adk± na GNU tar. Pozwala on na tworzenie
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/bbackup,%{_mandir}/man1}
-install -d $RPM_BUILD_ROOT%{_var}/bbackup
-ln -s $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/%{_prefix}/man
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/bbackup,%{_mandir}/man1} \
+ $RPM_BUILD_ROOT%{_var}/bbackup
%{__make} install \
BINDEST=$RPM_BUILD_ROOT%{_bindir} \
ETCDEST=$RPM_BUILD_ROOT%{_sysconfdir} \
- MANDEST=$RPM_BUILD_ROOT%{_prefix}
-
-
-gzip -9nf README THANKS TODO
+ MANDEST=$RPM_BUILD_ROOT%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README THANKS TODO
%attr(750,root,root) %dir %{_var}/bbackup
%attr(750,root,root) %dir %{_sysconfdir}/bbackup
%config(noreplace) %verify(not md5 size mtime) %attr(640,root,root) %{_sysconfdir}/bbackup/*