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