]>
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 | |
74078341 | 7 | Version: 2.11.1 |
45feea5d | 8 | Release: 2 |
833bc4bf AM |
9 | License: GPL v3 |
10 | Group: Applications/System | |
11 | Source0: https://bitbucket.org/nikratio/s3ql/downloads/%{name}-%{version}.tar.bz2 | |
74078341 | 12 | # Source0-md5: f2af113cf1ee7cad98829cf0a972c8e4 |
833bc4bf AM |
13 | URL: https://bitbucket.org/nikratio/s3ql/ |
14 | BuildRequires: python3-Crypto | |
dbe99695 | 15 | BuildRequires: python3-apsw >= 3.7.0 |
74078341 | 16 | BuildRequires: python3-defusedxml |
833bc4bf AM |
17 | BuildRequires: python3-devel |
18 | BuildRequires: python3-distribute | |
74078341 | 19 | BuildRequires: python3-dugong >= 3.2 |
dbe99695 | 20 | BuildRequires: python3-llfuse >= 0.39 |
74078341 | 21 | BuildRequires: python3-modules >= 3.3 |
833bc4bf AM |
22 | BuildRequires: rpm-pythonprov |
23 | Requires: python3-Crypto | |
dbe99695 | 24 | Requires: python3-apsw >= 3.7.0 |
74078341 AM |
25 | Requires: python3-defusedxml |
26 | Requires: python3-dugong >= 3.2 | |
dbe99695 | 27 | Requires: python3-llfuse >= 0.39 |
74078341 | 28 | Requires: python3-modules >= 3.3 |
833bc4bf AM |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | S3QL is a file system that stores all its data online using storage | |
33 | services like Google Storage, Amazon S3, or OpenStack. S3QL | |
34 | effectively provides a hard disk of dynamic, infinite capacity that | |
35 | can be accessed from any computer with internet access running Linux, | |
36 | FreeBSD or OS-X. | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | ||
41 | %build | |
42 | CC="%{__cc}" \ | |
43 | CFLAGS="%{rpmcflags}" \ | |
44 | %{__python3} setup.py build --build-base build-3 %{?with_tests:test} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__python3} setup.py \ | |
50 | build --build-base build-3 \ | |
51 | install --skip-build \ | |
52 | --optimize=2 \ | |
53 | --root=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
74078341 | 60 | %doc Changes.txt README.rst |
833bc4bf AM |
61 | %attr(755,root,root) %{_bindir}/fsck.s3ql |
62 | %attr(755,root,root) %{_bindir}/mkfs.s3ql | |
63 | %attr(755,root,root) %{_bindir}/mount.s3ql | |
64 | %attr(755,root,root) %{_bindir}/s3ql* | |
65 | %attr(755,root,root) %{_bindir}/umount.s3ql | |
66 | %{py3_sitedir}/s3ql | |
67 | %{py3_sitedir}/s3ql-%{version}-py*.egg-info | |
68 | %{_mandir}/man1/*.1* |