1 Summary: Synchronize bucket data between object storage APIs like S3, Swift
2 Summary(pl.UTF-8): Synchronizacja danych między API przechowywania obiektów, takimi jak S3 czy Swift
8 Group: Applications/Networking
9 # git clone git://github.com/ceph/obsync.git
10 Source0: obsync.tar.xz
11 # Source0-md5: 601e3528539f7d23e77aa4316d012c64
12 URL: http://ceph.newdream.net/
13 BuildRequires: rpm-pythonprov
14 BuildRequires: sed >= 4.0
15 BuildRequires: tar >= 1:1.22
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 obsync is a tool to synchronize objects between cloud object storage
23 providers, such as Amazon S3 (or compatible services), a Ceph RADOS
24 cluster, or a local directory.
26 %description -l pl.UTF-8
27 obsync to narzędzie do synchronizacji obiektów między systemami
28 przechowującymi obiekty w chmurze, takimi jak Amazon S3 (lub serwisy
29 kompatybilne) a klastrem Ceph RADOS lub katalogiem lokalnym.
34 %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' obsync
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40 install boto_tool obsync $RPM_BUILD_ROOT%{_bindir}
41 install boto_del.py $RPM_BUILD_ROOT%{_bindir}/boto_del
42 cp -p obsync.1 $RPM_BUILD_ROOT%{_mandir}/man1
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/boto_del
50 %attr(755,root,root) %{_bindir}/boto_tool
51 %attr(755,root,root) %{_bindir}/obsync
52 %{_mandir}/man1/obsync.1*