]> git.pld-linux.org Git - packages/bbackup.git/blob - bbackup.spec
- release 2 for Ac (1 is for Ra)
[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:        2
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 >= 5.6.0
13 BuildRequires:  perl-AppConfig
14 BuildRequires:  perl-devel
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
22 a number of filesystems to be backed up (which could even be mounted
23 at runtime).  It is possible to write backups either to streaming
24 media or to plain files (preferably on a separate harddisk).
25
26 %description -l pl
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 size mtime) %attr(640,root,root) %{_sysconfdir}/bbackup/*
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man?/*
This page took 0.133681 seconds and 3 git commands to generate.