2 # - more clusters support:
3 # - zookeeper (http://zookeeper.apache.org/) [-lzookeeper_mt, zookeeper.h]
4 # - accord (http://www.osrg.net/accord/ - available on github, no releases yet) [libacrd.pc]
5 # - PLDify and register init script
6 Summary: Sheepdog - distributed storage system for QEMU/KVM
7 Summary(pl.UTF-8): Sheepdog - rozproszony system przechowywania danych dla QEMU/KVM
12 Group: Applications/System
13 Source0: https://github.com/collie/sheepdog/tarball/v%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5: 5dfcb8ec99266b439b6fdee25027a705
15 URL: http://www.osrg.net/sheepdog/
16 BuildRequires: autoconf >= 2.61
17 BuildRequires: automake
18 BuildRequires: corosync-devel
20 BuildRequires: libfuse-devel
21 BuildRequires: pkgconfig
22 BuildRequires: userspace-rcu-devel >= 0.6.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Sheepdog is a distributed storage system for QEMU/KVM. It provides
27 highly available block level storage volumes that can be attached to
28 QEMU/KVM virtual machines. Sheepdog scales to several hundreds nodes,
29 and supports advanced volume management features such as snapshot,
30 cloning, and thin provisioning.
32 %description -l pl.UTF-8
33 Sheepdog to rozproszony system przechowywania danych dla QEMU/KVM.
34 Udostępnia na poziomie urządzeń blokowych wolumeny o wysokiej
35 dostępności, które można podłączyć do maszyn wirtualnych QEMU/KVM.
36 Sheepdog skaluje się do setek węzłów i obsługuje zaawansowane
37 możliwości zarządzania wolumentami, takie jak migawka (snapshot),
38 klonowanie i nadalokacja (thin provisioning).
40 %package -n bash-completion-%{name}
41 Summary: bash-completion for dog command
42 Summary(pl.UTF-8): Bashowe dopełnianie składni dla polecenia dog
43 Group: Applications/Shells
44 Requires: %{name} = %{version}-%{release}
45 Requires: bash-completion
47 %description -n bash-completion-%{name}
48 bash-completion for sheepdog dog command.
50 %description -n bash-completion-%{name} -l pl.UTF-8
51 Bashowe dopełnianie składni dla polecenia dog z pakietu sheepdog.
54 %setup -q -n sheepdog-sheepdog-f06a150
62 --disable-silent-rules \
63 --with-initddir=/etc/rc.d/init.d
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc COPYING README INSTALL
78 %attr(755,root,root) %{_sbindir}/dog
79 %attr(755,root,root) %{_sbindir}/sheep
80 %attr(755,root,root) %{_sbindir}/sheepfs
81 %attr(755,root,root) %{_sbindir}/shepherd
82 %dir /var/lib/sheepdog
83 %attr(754,root,root) /etc/rc.d/init.d/sheepdog
84 %{_mandir}/man8/dog.8*
85 %{_mandir}/man8/sheep.8*
86 %{_mandir}/man8/sheepfs.8*
88 %files -n bash-completion-%{name}
89 %defattr(644,root,root,755)
90 /etc/bash_completion.d/dog