]> git.pld-linux.org Git - packages/bbackup.git/blob - bbackup.spec
b12ab1c66c8b030c2a7a0d1144b97b804632b435
[packages/bbackup.git] / bbackup.spec
1 Summary:        A sophisticated backup script, based on GNU tar
2 Summary(pl.UTF-8):      Wyszukany skrypt to tworzenia kopii zapasowych
3 Name:           bbackup
4 Version:        0.52
5 Release:        3
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://dl.sourceforge.net/bbackup/%{name}-%{version}.tar.gz
9 # Source0-md5:  3fcff65424da518ca351971c00b51912
10 URL:            http://bbackup.sourceforge.net/
11 BuildRequires:  perl-AppConfig
12 BuildRequires:  perl-devel >= 1:5.6.0
13 BuildRequires:  perl-perldoc
14 BuildRequires:  rpm-perlprov
15 Requires:       tar >= 1.12
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 bbackup is a sophisticated frontend for GNU-tar. It allows you to
21 perform full backups as well as incremental backups. It can handle a
22 number of filesystems to be backed up (which could even be mounted at
23 runtime). It is possible to write backups either to streaming media or
24 to plain files (preferably on a separate harddisk).
25
26 %description -l pl.UTF-8
27 bbackup jest wyrafinowaną nakładką na GNU tar. Pozwala on na tworzenie
28 zarówno pełnych jak i inkrementalnych kopii zapasowych. Potrafi
29 obsługiwać wiele systemów plików przeznaczonych do archiwizacji.
30 Możliwe jest zapisywanie kopii zarówno na mediach strumieniowych jak i
31 w zwykłych plikach.
32
33 %prep
34 %setup -q
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/bbackup,%{_mandir}/man1} \
39         $RPM_BUILD_ROOT%{_var}/bbackup
40
41 %{__make} install \
42         BINDEST=$RPM_BUILD_ROOT%{_bindir} \
43         ETCDEST=$RPM_BUILD_ROOT%{_sysconfdir} \
44         MANDEST=$RPM_BUILD_ROOT%{_datadir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README THANKS TODO
52 %attr(750,root,root) %dir %{_var}/bbackup
53 %attr(750,root,root) %dir %{_sysconfdir}/bbackup
54 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{_sysconfdir}/bbackup/*
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man?/*
This page took 0.05155 seconds and 3 git commands to generate.