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 # - http request service (--enable-http)?
6 # - nfs server service (--enable-nfs)?
7 # - PLDify and register init script
8 Summary: Sheepdog - distributed storage system for QEMU/KVM
9 Summary(pl.UTF-8): Sheepdog - rozproszony system przechowywania danych dla QEMU/KVM
14 Group: Applications/System
15 Source0: https://github.com/collie/sheepdog/archive/v%{version}/%{name}-%{version}.tar.gz
16 # Source0-md5: b02eadf70b9cea6e05b5887d193941bf
17 Patch0: 32bits-targets.patch
18 URL: http://www.osrg.net/sheepdog/
19 BuildRequires: autoconf >= 2.61
20 BuildRequires: automake
21 BuildRequires: corosync-devel
23 BuildRequires: libfuse-devel >= 2.8.0
24 BuildRequires: pkgconfig
25 BuildRequires: userspace-rcu-devel >= 0.6.0
26 Requires: libfuse >= 2.8.0
27 Requires: userspace-rcu >= 0.6.0
28 ExclusiveArch: %{ix86} %{x8664}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Sheepdog is a distributed storage system for QEMU/KVM. It provides
33 highly available block level storage volumes that can be attached to
34 QEMU/KVM virtual machines. Sheepdog scales to several hundreds nodes,
35 and supports advanced volume management features such as snapshot,
36 cloning, and thin provisioning.
38 %description -l pl.UTF-8
39 Sheepdog to rozproszony system przechowywania danych dla QEMU/KVM.
40 Udostępnia na poziomie urządzeń blokowych wolumeny o wysokiej
41 dostępności, które można podłączyć do maszyn wirtualnych QEMU/KVM.
42 Sheepdog skaluje się do setek węzłów i obsługuje zaawansowane
43 możliwości zarządzania wolumentami, takie jak migawka (snapshot),
44 klonowanie i nadalokacja (thin provisioning).
46 %package -n bash-completion-%{name}
47 Summary: bash-completion for dog command
48 Summary(pl.UTF-8): Bashowe dopełnianie składni dla polecenia dog
49 Group: Applications/Shells
50 Requires: %{name} = %{version}-%{release}
51 Requires: bash-completion
54 %description -n bash-completion-%{name}
55 bash-completion for sheepdog dog command.
57 %description -n bash-completion-%{name} -l pl.UTF-8
58 Bashowe dopełnianie składni dla polecenia dog z pakietu sheepdog.
70 --disable-silent-rules \
71 --with-initddir=/etc/rc.d/init.d \
72 --with-systemdsystemunitdir=%{systemdunitdir}
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc COPYING README INSTALL
87 %attr(755,root,root) %{_sbindir}/dog
88 %attr(755,root,root) %{_sbindir}/sheep
89 %attr(755,root,root) %{_sbindir}/sheepfs
90 %attr(755,root,root) %{_sbindir}/shepherd
91 %dir /var/lib/sheepdog
92 %attr(754,root,root) /etc/rc.d/init.d/sheepdog
93 %{systemdunitdir}/sheepdog.service
94 %{_mandir}/man8/dog.8*
95 %{_mandir}/man8/sheep.8*
96 %{_mandir}/man8/sheepfs.8*
98 %files -n bash-completion-%{name}
99 %defattr(644,root,root,755)
100 /etc/bash_completion.d/dog