pdumpfs/pdumpfs.spec

Name: pdumpfs
Summary: Daily backup system similar to Plan9's dumpfs
Version: 1.3
Release: 1
License: GPL
Group: Applications/Archiving
URL: http://namazu.org/~satoru/pdumpfs/
Description: pdumpfs is a simple daily backup system similar to Plan9's dumpfs which preserves every daily snapshot. pdumpfs is written in Ruby. You can access the past snapshots at any time for retrieving a certain day's file. Let's backup your home directory with pdumpfs!

pdumpfs constructs the snapshot YYYY/MM/DD in the destination directory. All source files are copied to the snapshot directory for the first time. On and after the second time, pdumpfs copies only updated or newly created files and stores unchanged files as hard links to the files of the previous day's snapshot for saving a disk space.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Satoru Takabayashi <satoru$namazu,org>

Summary: Daily backup system similar to Plan9's dumpfs
Name: pdumpfs
Version: 1.3
Release: 1%{?dist}
License: GPL
Group: Applications/Archiving
URL: http://namazu.org/~satoru/pdumpfs/

Source: http://namazu.org/~satoru/pdumpfs/pdumpfs-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: ruby
Requires: ruby

%description
pdumpfs is a simple daily backup system similar to Plan9's dumpfs which
preserves every daily snapshot. pdumpfs is written in Ruby. You can
access the past snapshots at any time for retrieving a certain day's
file. Let's backup your home directory with pdumpfs!

pdumpfs constructs the snapshot YYYY/MM/DD in the destination directory.
All source files are copied to the snapshot directory for the first time.
On and after the second time, pdumpfs copies only updated or newly created
files and stores unchanged files as hard links to the files of the previous
day's snapshot for saving a disk space.

%prep
%setup

%build
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 pdumpfs %{buildroot}%{_bindir}/pdumpfs
%{__install} -Dp -m0644 man/man8/pdumpfs.8 %{buildroot}%{_mandir}/man8/pdumpfs.8

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING doc/ README
%doc %{_mandir}/man8/pdumpfs.8*
%{_bindir}/pdumpfs

%changelog
* Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 1.3-1
- Updated to release 1.3.

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.2-1.2
- Rebuild for Fedora Core 5.

* Wed Aug 11 2004 Dag Wieers <dag@wieers.com> - 1.2-1
- Updated to release 1.2.

* Mon Jul 12 2004 Dag Wieers <dag@wieers.com> - 1.1-1
- Initial package. (using DAR)