[genbackupdata] Initial import

Michel Alexandre Salim salimma at fedoraproject.org
Sun Jul 8 08:59:11 UTC 2012


commit 07c592a7a75f7e03b6a07af6bfa2a22a9ab397aa
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Sun Jul 8 15:58:57 2012 +0700

    Initial import

 .gitignore         |    1 +
 genbackupdata.spec |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7fbafa2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/genbackupdata_1.6.orig.tar.gz
diff --git a/genbackupdata.spec b/genbackupdata.spec
new file mode 100644
index 0000000..4e3bd1d
--- /dev/null
+++ b/genbackupdata.spec
@@ -0,0 +1,68 @@
+Name:           genbackupdata
+Version:        1.6
+Release:        2%{?dist}
+Summary:        A program to generate test data for testing backup software
+
+# upstream asked to include license text
+License:        GPLv2+
+URL:            http://liw.fi/%{name}/
+Source0:        http://ftp.debian.org/debian/pool/main/g/%{name}/%{name}_%{version}.orig.tar.gz
+
+BuildArch:      noarch
+# build-time
+BuildRequires:  python-coverage-test-runner
+# build- and run-time
+BuildRequires:  python-cliapp
+BuildRequires:  python-ttystatus
+Requires:       python-cliapp
+Requires:       python-ttystatus
+
+%description
+genbackupdata creates or modifies directory trees in ways that
+simulate real filesystems sufficiently well for performance testing of
+backup software. For example, it can create files that are a mix of
+small text files and big binary files, with the binary files
+containing random binary junk which compresses badly. This can then be
+backed up, and later the directory tree can be changed by creating new
+files, modifying files, or deleting or renaming files. The backup can
+then be run again.
+
+The output is deterministic, such that for a given set of parameters
+the same output always happens. Thus it is more efficient to
+distribute genbackupdata and a set of parameters between people who
+wish to benchmark backup software than distributing very large test
+sets.
+
+
+%prep
+%setup -q -n %{name}_%{version}.orig
+
+
+%build
+%{__python} setup.py build
+# build manpage
+make genbackupdata.1
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%check
+make check
+
+
+%files
+%doc NEWS README
+%{_mandir}/man1/genbackupdata.1*
+%{_bindir}/genbackupdata
+%{python_sitelib}/*
+
+
+%changelog
+* Sun Jul  8 2012 Michel Salim <salimma at fedoraproject.org> - 1.6-2
+- Remove deprecated %%{python_sitelib} declaration
+- Switch source URL to use the Debian-hosted file
+
+* Sun Jun  3 2012 Michel Salim <salimma at fedoraproject.org> - 1.6-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7ae8a16 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3626750ba2cf0e44d392ec3820de24f3  genbackupdata_1.6.orig.tar.gz


More information about the scm-commits mailing list