[s3ql] Initial import (#868940).

Marcel Wysocki maci at fedoraproject.org
Sun Nov 4 08:52:32 UTC 2012


commit f9b3ae101c251c82db76adba3194dabc5e7c86da
Author: Marcel Wysocki <maci at satgnu.net>
Date:   Sun Nov 4 09:52:19 2012 +0100

    Initial import (#868940).

 .gitignore |    1 +
 s3ql.spec  |  159 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 161 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3767c48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/s3ql-1.12.tar.bz2
diff --git a/s3ql.spec b/s3ql.spec
new file mode 100644
index 0000000..d0c6e93
--- /dev/null
+++ b/s3ql.spec
@@ -0,0 +1,159 @@
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+
+Name:               s3ql
+Version:            1.12
+Release:            7%{?dist}
+Summary:            Full-Featured File System for Online Data Storage
+Source0:            http://s3ql.googlecode.com/files/%{name}-%{version}.tar.bz2
+URL:                http://code.google.com/p/s3ql/
+Group:              System Environment/Base
+License:            GPLv3
+
+BuildRequires:      python-setuptools
+BuildRequires:      pycryptopp
+BuildRequires:      python-apsw >= 3.7.0
+BuildRequires:      python-llfuse >= 0.37
+BuildRequires:      pyliblzma
+BuildRequires:      python-sphinx
+BuildRequires:      Cython
+BuildRequires:      python2-devel
+BuildRequires:      sqlite-devel
+BuildRequires:      python-unittest2
+
+Requires:           pyliblzma
+Requires:           pycryptopp
+Requires:           python-apsw >= 3.7.0
+Requires:           python-llfuse >= 0.37
+Requires:           python-setuptools
+
+
+%description
+S3QL is a file system that stores all its data online using storage services
+like Google Storage, Amazon S3 or OpenStack. S3QL effectively provides a hard
+disk of dynamic, infinite capacity that can be accessed from any computer
+with Internet access.
+
+S3QL is a standard conforming, full featured UNIX file system that is
+conceptually indistinguishable from any local file system. Furthermore, S3QL
+has additional features like compression, encryption, data de-duplication,
+immutable trees and snapshotting which make it especially suitable for on-line
+backup and archival.
+
+S3QL is designed to favor simplicity and elegance over performance and feature-
+creep. Care has been taken to make the source code as readable and serviceable
+as possible. Solid error detection and error handling have been included
+from the very first line, and S3QL comes with extensive automated test cases
+for all its components.
+
+%prep
+%setup -q
+rm -rf doc/html/man
+rm doc/html/.buildinfo
+rm -rf src/%{name}.egg-info
+
+
+%build
+PYTHONDONTWRITEBYTECODE= %__python ./setup.py build
+
+%check
+# we can't test those, they use fuse and require the fuse
+# kernel module to be loaded, which we cannot do from a
+# chrooted package build environment where we don't run
+# as root:
+rm tests/t4* tests/t5*
+%__python ./setup.py test
+
+%install
+%__python ./setup.py install \
+    --prefix="%{_prefix}" \
+    --root="%{buildroot}"
+
+for x in contrib/*.py; do
+    f="${x##*/}"
+    case $f in
+        *dummy*) continue ;;
+        %{name}*) t="$f" ;;
+        *) t="%{name}-$f" ;;
+    esac
+    t="${t%.py}"
+    install -D -m0755 "$x" "%{buildroot}%{_bindir}/$t"
+done
+install -D -m0755 contrib/s3ql_backup.sh "%{buildroot}%{_bindir}/s3ql_backup"
+
+find "%{buildroot}%{python_sitearch}" -type f -name '*.py' -exec %__chmod 0644 {} \;
+# remove shebangs
+find "%{buildroot}%{python_sitearch}" -type f -name '*.py' -exec %__sed -i -e '/^#!\//, 1d' {} \;
+# recompile to fix mtimes
+%__python -c 'import compileall; compileall.compile_dir("%{buildroot}%{python_sitearch}/",ddir="%{python_sitearch}/",force=True)'
+
+%__perl -p -i -e 's,^(%{_mandir}/man\d/.+\.\d),${1}%{ext_man},' files.lst
+
+
+
+%files
+%doc doc/html
+%doc Changes.txt LICENSE
+%{_bindir}/*
+%{_mandir}/man1/*
+%{python_sitearch}/%{name}*
+
+
+%changelog
+* Fri Nov 02 2012 Marcel Wysocki <maci at satgnu.net> 1.12-7
+- python-argparse is provided by python-libs, remove it from requires
+
+* Fri Nov 02 2012 Marcel Wysocki <maci at satgnu.net> 1.12-6
+- fixed ownership /usr/lib*/python*/site-packages/s3ql*
+- added LICENSE
+
+* Fri Nov 02 2012 Marcel Wysocki <maci at satgnu.net> 1.12-5
+- filter out private shared objects
+- replace tabs by spaces
+- clean up requires and buildrequires
+- remove egg-info
+
+* Thu Nov 01 2012 Marcel Wysocki <maci at satgnu.net> 1.12-4
+- use python-setuptools instead of python-distribute
+- add pyliblzma to BR
+
+* Wed Oct 31 2012 Marcel Wysocki <maci at satgnu.net> 1.12-3
+- remove python from deps, rpm knows it
+- use python2-devel in BR
+
+* Tue Oct 23 2012 Marcel Wysocki <maci at satgnu.net> 1.12-2
+- don't use rm and install macros
+- add missing dependencies
+
+* Thu Oct 04 2012 Marcel Wysocki <maci at satgnu.net> 1.12-1
+- update to 1.12
+- fedora port
+- fixed dependencies
+
+* Sat May 05 2012 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.11.1-1
++ Revision: 796590
+- update ti 1.11.1
+
+* Sat Feb 25 2012 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.10-1
++ Revision: 780718
+- new version 1.10
+
+* Sun Jan 22 2012 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.9-1
++ Revision: 764917
+- new version 1.9
+
+* Tue Dec 06 2011 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.8.1-1
++ Revision: 738422
+- Update to 1.8.1
+
+* Wed Nov 30 2011 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.7-2
++ Revision: 735709
+- release bump
+- requires fixed
+- BR fixed
+
+* Tue Nov 29 2011 Dmitry Mikhirev <dmikhirev at mandriva.org> 1.7-1
++ Revision: 735440
+- create package
+- create current
+
diff --git a/sources b/sources
index e69de29..b36494f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2ceab74256823df586f8c0a729664ad5  s3ql-1.12.tar.bz2


More information about the scm-commits mailing list