Summary: Flexible backup script
Summary(pl): Elastyczny skrypt do tworzenia kopii zapasowych
Name: flexbackup
-Version: 0.9.8
-Release: 2
+Version: 1.2.1
+Release: 1
License: GPL
Group: Applications/Archiving
-Source0: http://members.home.com/flexbackup/tarball/%{name}-%{version}.tar.gz
-# Source0-md5: 5e5042794c778358dbda88c02fcdc4f0
-Patch0: %{name}-ksh.patch
+Source0: http://flexbackup.sourceforge.net/tarball/%{name}-%{version}.tar.gz
+# Source0-md5: 4955c89dbee354248f354a9bf0a480dd
URL: http://members.home.com/flexbackup/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: afio
%prep
%setup -q
-%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT%{_mandir}/man5
install flexbackup $RPM_BUILD_ROOT%{_bindir}
install flexbackup.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install flexbackup.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install flexbackup.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc flexbackup.lsm CHANGES CREDITS README TODO
+%doc CHANGES CREDITS README TODO faq.html
%attr(755,root,root) %{_bindir}/flexbackup
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/flexbackup.conf
+%{_mandir}/man?/*