]> git.pld-linux.org Git - SPECS.git/blob - sheepdog.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / sheepdog.spec
1 # TODO:
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
10 Name:           sheepdog
11 Version:        0.9.2
12 Release:        1
13 License:        GPL v2
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
22 BuildRequires:  groff
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)
30
31 %description
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.
37
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).
45
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
52 BuildArch:      noarch
53
54 %description -n bash-completion-%{name}
55 bash-completion for sheepdog dog command.
56
57 %description -n bash-completion-%{name} -l pl.UTF-8
58 Bashowe dopełnianie składni dla polecenia dog z pakietu sheepdog.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63
64 %build
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure \
70         --disable-silent-rules \
71         --with-initddir=/etc/rc.d/init.d \
72         --with-systemdsystemunitdir=%{systemdunitdir}
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
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*
97
98 %files -n bash-completion-%{name}
99 %defattr(644,root,root,755)
100 /etc/bash_completion.d/dog
This page took 0.282551 seconds and 3 git commands to generate.