File manent.spec of Package manent
# norootforbuild
Name: manent
Version: 0.10.22
Release: 0
Summary: Backup and Archival System
Source: http://manent.googlecode.com/files/manent-%{version}.tar.bz2
Source99: manent-rpmlintrc
URL: http://www.manent-backup.com/
Group: Productivity/Archiving/Backup
License: GNU General Public License version 3 (GPL v3)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: python python-devel
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%py_requires
%description
Manent is an algorithmically strong backup and archival program. It features
efficient backup to anything that looks like storage.
Currently it supports plain filesystems ("directories"), FTP, and
SFTP. Planned are Amazon S3, optical disks, and email (SMTP and IMAP). It can
work (making progress towards finishing a backup) over a slow and unreliable
network. It can offer online access to the contents of the backup.
Backed up storage is completely encrypted. Backup is incremental, including
changed parts of large files. Moved, renamed, and duplicate files will not
require additional storage. Several computers can use the same storage for
backup, automatically sharing data. Both very large and very small files are
supported efficiently.
Manent does not rely on timestamps of the remote system to detect changes.
Authors:
--------
Alex Gontmakher <gsasha@gmail.com>
%prep
%setup -q
%__sed -ri "s/(^[ \t]*version[ \t]*=[ \t]*').+('.*)$/\1%{version}\2/" ./src/setup.py
%build
pushd src
%__python ./setup.py build
popd #src
%install
FILES="$PWD/files.lst"
pushd src
%__python ./setup.py install \
--root="%{buildroot}" \
--prefix="%{_prefix}" \
--record-rpm="$FILES"
popd #src
%clean
%__rm -rf "%{buildroot}"
%files -f files.lst
%defattr(-,root,root)
%doc *.txt
%changelog
# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: