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