]> git.pld-linux.org Git - packages/bbackup.git/blob - bbackup.spec
d77497c6ec9ee7643bbf9f25366f3ba066542fa3
[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 Group(de):      Netzwerkwesen/Werkzeuge
10 Group(pl):      Sieciowe/Narzêdzia
11 Source0:        http://prdownloads.sourceforge.net/bbackup/%{name}-%{version}.tar.gz
12 Requires:       tar >= 1.12
13 BuildRequires:  perl >= 5.6.0
14 BuildRequires:  perl-AppConfig
15 BuildRequires:  perl-modules
16 BuildArch:      noarch
17 URL:            http://bbackup.sourceforge.net/
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _sysconfdir     /etc
21 %define         _localstatedir  /var
22 %define         _libexecdir     %{_libdir}/amanda
23
24 %description 
25 bbackup is a sophisticated frontend for GNU-tar. It allows to perform
26 full backups as well as incremental backups. It can handle a number of
27 filesystems to be backed up (which could even be mounted at runtime).
28 It is possible to write backups either to streaming media or to plain
29 files (perferrably on a separate harddisk).
30
31 %description -l pl
32 bbackup jest wyszukan± nak³adk± na GNU tar. Pozwala on na tworzenie
33 zarówno pe³nych jak i inkrementalnych kopii zapasowych. Potrawfi
34 obs³ugiwaæ wiele systemów plików przeznaczonych do archiwizacji.
35 Mo¿liwe jest zapisywanie kopii zarówno na mediach strumieniowych jak i
36 w zwyk³ych plikach.
37
38 %prep
39 %setup -q
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d      $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/bbackup,%{_mandir}/man1}
44 install -d      $RPM_BUILD_ROOT%{_var}/bbackup
45 ln -s           $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/%{_prefix}/man
46
47 %{__make} install \
48         BINDEST=$RPM_BUILD_ROOT%{_bindir} \
49         ETCDEST=$RPM_BUILD_ROOT%{_sysconfdir} \
50         MANDEST=$RPM_BUILD_ROOT%{_prefix}
51
52
53 gzip -9nf README THANKS TODO
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz
61 %attr(750,root,root) %dir %{_var}/bbackup
62 %attr(750,root,root) %dir %{_sysconfdir}/bbackup
63 %config(noreplace) %verify(not md5 size mtime) %attr(640,root,root) %{_sysconfdir}/bbackup/*
64 %attr(755,root,root) %{_bindir}/*
65 %{_mandir}/man?/*
This page took 0.030547 seconds and 2 git commands to generate.