summaryrefslogtreecommitdiff
path: root/atob.spec
blob: a12ab306de2b68f1b225433e7bab36d3455a93fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Summary:	Ain't Tape Oriented Backup
Summary(pl):	Ain't Tape Oriented Backup - system kopii zapasowych
Name:		atob
Version:	0.14.104
Release:	1
License:	GPL
Group:		Networking/Utilities
Source0:	cvs://cvs.pld.org.pl/cvsroot/%{name}-%{version}.tar.bz2
Vendor:		wrobell <wrobell@pld.org.pl>
Requires:	afio
Requires:	findutils
Requires:	grep
Requires:	sh-utils
Requires:	textutils
BuildRequires:	afio
BuildRequires:	findutils
BuildRequires:	grep
BuildRequires:	sh-utils
BuildRequires:	textutils
BuildRequires:	libxslt-progs
BuildRequires:	docbook-style-xsl
BuildRequires:	docbook-dtd42-xml
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_localstatedir	%{_var}/lib/atob

%description
Atob is based on tob (Tape Oriented Backup). The main difference
between tob and atob is that only afio is supported to create backups.

The atob package presents a shell-script to create and maintain full
or differential or incremental backups. Backups are defined by a
`volume', listings of backups are kept. The archive contains extensive
documentation.

%description -l pl
Atob bazuje na tob (Tape Oriented Backup - system kopii zapasowych
zorientowany na taśmy).  Główną różnicą pomiędzy tob i atob jest to, że
atob potrafi używać afio do tworzenia kopii zapasowych.

Pakiet atob to skrypt shella do tworzenia pełnych, różnicowych lub
przyrostowych kopii zapasowych. Kopie, zdefiniowane są za pomocą
`wolumenów'. Informacja o tym, co zostało zarchiwizowane jest
przechowywana w systemie. Archiwum zawiera dokładną dokumentację.

%prep
%setup -q

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

cd doc && xsltproc --xinclude -o atob.html html.xsl atob.docb

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc doc/*.html AUTHORS README TODO examples/[a-z]*
%attr(755,root,root) %{_sbindir}/*
%{_mandir}/man?/*
%dir %{_sysconfdir}/atob
%dir %{_sysconfdir}/atob/volumes
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/atob/atobrc
%attr(750,root,root) %dir %{_localstatedir}/atob