]> git.pld-linux.org Git - packages/bbackup.git/blob - bbackup.spec
cosmetics1
[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 %description 
21 bbackup is a sophisticated frontend for GNU-tar. It allows to perform
22 full backups as well as incremental backups. It can handle a number of
23 filesystems to be backed up (which could even be mounted at runtime).
24 It is possible to write backups either to streaming media or to plain
25 files (perferrably on a separate harddisk).
26
27 %description -l pl
28 bbackup jest wyszukan± nak³adk± na GNU tar. Pozwala on na tworzenie
29 zarówno pe³nych jak i inkrementalnych kopii zapasowych. Potrawfi
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 install -d      $RPM_BUILD_ROOT%{_var}/bbackup
41 ln -s           $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/%{_prefix}/man
42
43 %{__make} install \
44         BINDEST=$RPM_BUILD_ROOT%{_bindir} \
45         ETCDEST=$RPM_BUILD_ROOT%{_sysconfdir} \
46         MANDEST=$RPM_BUILD_ROOT%{_prefix}
47
48
49 gzip -9nf README THANKS TODO
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc *.gz
57 %attr(750,root,root) %dir %{_var}/bbackup
58 %attr(750,root,root) %dir %{_sysconfdir}/bbackup
59 %config(noreplace) %verify(not md5 size mtime) %attr(640,root,root) %{_sysconfdir}/bbackup/*
60 %attr(755,root,root) %{_bindir}/*
61 %{_mandir}/man?/*
This page took 0.032302 seconds and 3 git commands to generate.