]>
Commit | Line | Data |
---|---|---|
833bc4bf AM |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | ||
5 | Summary: Filesystem that stores data in Google Storage, Amazon S3 etc | |
6 | Name: s3ql | |
483cdab0 | 7 | Version: 2.28 |
bf7b4e6b | 8 | Release: 7 |
833bc4bf AM |
9 | License: GPL v3 |
10 | Group: Applications/System | |
11 | Source0: https://bitbucket.org/nikratio/s3ql/downloads/%{name}-%{version}.tar.bz2 | |
483cdab0 | 12 | # Source0-md5: 3533a5608ce009a6b834853c7fc4cae4 |
833bc4bf AM |
13 | URL: https://bitbucket.org/nikratio/s3ql/ |
14 | BuildRequires: python3-Crypto | |
483cdab0 | 15 | BuildRequires: python3-Cython |
dbe99695 | 16 | BuildRequires: python3-apsw >= 3.7.0 |
74078341 | 17 | BuildRequires: python3-defusedxml |
833bc4bf | 18 | BuildRequires: python3-devel |
74078341 | 19 | BuildRequires: python3-dugong >= 3.2 |
dbe99695 | 20 | BuildRequires: python3-llfuse >= 0.39 |
92401bd0 | 21 | BuildRequires: python3-modules >= 1:3.3 |
833bc4bf | 22 | BuildRequires: rpm-pythonprov |
3727fb13 | 23 | %{?with_tests:BuildRequires: python3-requests} |
833bc4bf | 24 | Requires: python3-Crypto |
dbe99695 | 25 | Requires: python3-apsw >= 3.7.0 |
74078341 AM |
26 | Requires: python3-defusedxml |
27 | Requires: python3-dugong >= 3.2 | |
dbe99695 | 28 | Requires: python3-llfuse >= 0.39 |
92401bd0 | 29 | Requires: python3-modules >= 1:3.3 |
833bc4bf AM |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | S3QL is a file system that stores all its data online using storage | |
34 | services like Google Storage, Amazon S3, or OpenStack. S3QL | |
35 | effectively provides a hard disk of dynamic, infinite capacity that | |
36 | can be accessed from any computer with internet access running Linux, | |
37 | FreeBSD or OS-X. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
483cdab0 AM |
43 | cython3 src/s3ql/deltadump.pyx |
44 | ||
13ccad4c AM |
45 | %{py3_build} \ |
46 | %{?with_tests:test} | |
833bc4bf AM |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
13ccad4c | 51 | %{py3_install} |
833bc4bf AM |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
74078341 | 58 | %doc Changes.txt README.rst |
833bc4bf AM |
59 | %attr(755,root,root) %{_bindir}/fsck.s3ql |
60 | %attr(755,root,root) %{_bindir}/mkfs.s3ql | |
61 | %attr(755,root,root) %{_bindir}/mount.s3ql | |
62 | %attr(755,root,root) %{_bindir}/s3ql* | |
63 | %attr(755,root,root) %{_bindir}/umount.s3ql | |
64 | %{py3_sitedir}/s3ql | |
65 | %{py3_sitedir}/s3ql-%{version}-py*.egg-info | |
66 | %{_mandir}/man1/*.1* |