]> git.pld-linux.org Git - packages/bbackup.git/blob - bbackup.spec
- adapterized.
[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 to perform
20 full backups as well as incremental backups. It can handle a number of
21 filesystems to be backed up (which could even be mounted at runtime).
22 It is possible to write backups either to streaming media or to plain
23 files (perferrably 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 gzip -9nf README THANKS TODO
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(750,root,root) %dir %{_var}/bbackup
54 %attr(750,root,root) %dir %{_sysconfdir}/bbackup
55 %config(noreplace) %verify(not md5 size mtime) %attr(640,root,root) %{_sysconfdir}/bbackup/*
56 %attr(755,root,root) %{_bindir}/*
57 %{_mandir}/man?/*
This page took 0.068559 seconds and 3 git commands to generate.