]>
Commit | Line | Data |
---|---|---|
7f75179c JB |
1 | # |
2 | # Conditional build: | |
4163e7ad | 3 | %bcond_without ibverbs # ib-verbs transport |
7f75179c | 4 | # |
d6a0cdd1 | 5 | Summary: Clustered File Storage that can scale to peta bytes |
dae7af53 | 6 | Summary(pl.UTF-8): Klastrowy system przechowywania plików skalujący się do petabajtów |
d6a0cdd1 | 7 | Name: glusterfs |
1293e304 | 8 | Version: 1.3.7 |
824dab89 | 9 | Release: 1 |
7f75179c | 10 | License: GPL v3+ |
dae7af53 | 11 | Group: Applications/System |
1293e304 MK |
12 | Source0: http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/%{name}-%{version}.tar.gz |
13 | # Source0-md5: ede5fe1e17e7c333536400e138a084f1 | |
824dab89 | 14 | Source1: glusterfsd.init |
4163e7ad | 15 | Patch0: %{name}-link.patch |
d6a0cdd1 | 16 | URL: http://gluster.org/glusterfs.php |
4163e7ad JB |
17 | BuildRequires: autoconf >= 2.50 |
18 | BuildRequires: automake | |
d6a0cdd1 | 19 | BuildRequires: bison |
20 | BuildRequires: flex | |
7f75179c | 21 | BuildRequires: libfuse-devel >= 2.6 |
4163e7ad | 22 | BuildRequires: libtool |
7f75179c | 23 | %{?with_ibverbs:BuildRequires: libibverbs-devel >= 1.0.4} |
d6a0cdd1 | 24 | BuildRequires: rpmbuild(macros) >= 1.228 |
d6a0cdd1 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | GlusterFS is a clustered file-system capable of scaling to several | |
29 | peta-bytes. It aggregates various storage bricks over Infiniband RDMA | |
30 | or TCP/IP interconnect into one large parallel network file system. | |
31 | GlusterFS is one of the most sophisticated file system in terms of | |
32 | features and extensibility. It borrows a powerful concept called | |
33 | Translators from GNU Hurd kernel. Much of the code in GlusterFS is in | |
34 | userspace and easily manageable. | |
35 | ||
dae7af53 JB |
36 | %description -l pl.UTF-8 |
37 | GlusterFS to klastrowy system plików skalujący się do petabajtów. | |
38 | Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP | |
11c9e8ee MK |
39 | w jeden duży, równoległy sieciowy system plików. GlusterFS to |
40 | jeden z najbardziej wyszukanych systemów plików jeśli chodzi o | |
41 | możliwości i rozszerzalność. Zapożycza potężną ideę o nazwie | |
42 | Translators z jądra GNU Hurd. Duża część kodu GlusterFS działa w | |
43 | przestrzeni użytkownika i jest łatwo zarządzalna. | |
44 | ||
45 | %package common | |
46 | Summary: GlusterFS Library and Translators | |
5f2d10ee JB |
47 | Summary(pl.UTF-8): Biblioteka i translatory GlusterFS-a |
48 | Group: Libraries | |
11c9e8ee MK |
49 | |
50 | %description common | |
51 | GlusterFS is a clustered file-system capable of scaling to several | |
52 | peta-bytes. It aggregates various storage bricks over Infiniband RDMA | |
53 | or TCP/IP interconnect into one large parallel network file system. | |
54 | GlusterFS is one of the most sophisticated file system in terms of | |
55 | features and extensibility. It borrows a powerful concept called | |
56 | Translators from GNU Hurd kernel. Much of the code in GlusterFS is in | |
57 | userspace and easily manageable. | |
58 | ||
59 | This package includes libglusterfs and glusterfs translator modules | |
60 | common to both GlusterFS server and client framework. | |
61 | ||
62 | %description common -l pl.UTF-8 | |
5f2d10ee JB |
63 | GlusterFS to klastrowy system plików skalujący się do petabajtów. |
64 | Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP | |
65 | w jeden duży, równoległy sieciowy system plików. GlusterFS to | |
66 | jeden z najbardziej wyszukanych systemów plików jeśli chodzi o | |
67 | możliwości i rozszerzalność. Zapożycza potężną ideę o nazwie | |
68 | Translators z jądra GNU Hurd. Duża część kodu GlusterFS działa w | |
69 | przestrzeni użytkownika i jest łatwo zarządzalna. | |
70 | ||
71 | Ten pakiet zawiera libglusterfs i moduły translatorów glusterfs | |
72 | wspólne dla klienta jak i serwera GlusterFS-a. | |
11c9e8ee | 73 | |
4163e7ad JB |
74 | %package devel |
75 | Summary: GlusterFS development files | |
76 | Summary(pl.UTF-8): Pliki programistyczne GlusterFS-a | |
77 | Group: Development/Libraries | |
78 | Requires: %{name}-common = %{version}-%{release} | |
79 | ||
80 | %description devel | |
81 | This package provides the development files for GlusterFS library. | |
82 | ||
83 | %description devel -l pl.UTF-8 | |
84 | Ten pakiet udostępnia pliki programistyczne biblioteki GlusterFS-a. | |
85 | ||
86 | %package static | |
87 | Summary: Static GlusterFS library | |
88 | Summary(pl.UTF-8): Statyczna biblioteka GlusterFS-a | |
89 | Group: Development/Libraries | |
90 | Requires: %{name}-devel = %{version}-%{release} | |
91 | ||
92 | %description static | |
93 | Static GlusterFS library. | |
94 | ||
95 | %description static -l pl.UTF-8 | |
96 | Statyczna biblioteka GlusterFS-a. | |
97 | ||
98 | %package transport-ibverbs | |
99 | Summary: InfiniBand "verbs" transport plugins for GlusterFS | |
100 | Summary(pl.UTF-8): Wtyczki transportu "verbs" InfiniBand dla GlusterFS-a | |
101 | Group: Libraries | |
102 | Requires: %{name}-common = %{version}-%{release} | |
103 | Requires: libibverbs >= 1.0.4 | |
104 | ||
105 | %description transport-ibverbs | |
106 | InfiniBand "verbs" transport plugins for GlusterFS. | |
107 | ||
108 | %description transport-ibverbs -l pl.UTF-8 | |
109 | Wtyczki transportu "verbs" InfiniBand dla GlusterFS-a. | |
110 | ||
11c9e8ee MK |
111 | %package server |
112 | Summary: GlusterFS Server | |
5f2d10ee JB |
113 | Summary(pl.UTF-8): Serwer GlusterFS-a |
114 | Group: Daemons | |
115 | Requires: %{name}-common = %{version}-%{release} | |
116 | Requires(post,preun): /sbin/chkconfig | |
117 | Requires: rc-scripts | |
11c9e8ee MK |
118 | |
119 | %description server | |
11c9e8ee MK |
120 | This package provides the glusterfs server daemon. |
121 | ||
122 | %description server -l pl.UTF-8 | |
5f2d10ee | 123 | Ten pakiet zawiera część serwerową GlusterFS-a. |
11c9e8ee MK |
124 | |
125 | %package client | |
126 | Summary: GlusterFS Client | |
5f2d10ee | 127 | Summary(pl.UTF-8): Klient GlusterFS |
11c9e8ee | 128 | Group: Applications/System |
5f2d10ee | 129 | Requires: %{name}-common = %{version}-%{release} |
7f75179c | 130 | Requires: libfuse >= 2.6 |
11c9e8ee MK |
131 | |
132 | %description client | |
11c9e8ee MK |
133 | This package provides the FUSE based GlusterFS client. |
134 | ||
135 | %description client -l pl.UTF-8 | |
5f2d10ee | 136 | Ten pakiet udostępnia opartego na FUSE klienta GlusterFS-a. |
11c9e8ee | 137 | |
d6a0cdd1 | 138 | %prep |
139 | %setup -q | |
4163e7ad | 140 | %patch0 -p1 |
d6a0cdd1 | 141 | |
7f75179c JB |
142 | cp -l doc/examples/README README.examples |
143 | ||
d6a0cdd1 | 144 | %build |
4163e7ad JB |
145 | %{__libtoolize} |
146 | %{__aclocal} | |
147 | %{__autoconf} | |
148 | %{__automake} | |
1293e304 | 149 | %configure \ |
7f75179c | 150 | %{!?with_ibverbs:--disable-ibverbs} |
d6a0cdd1 | 151 | %{__make} |
152 | ||
153 | %install | |
154 | rm -rf $RPM_BUILD_ROOT | |
824dab89 | 155 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
824dab89 | 156 | |
d6a0cdd1 | 157 | %{__make} install \ |
158 | DESTDIR=$RPM_BUILD_ROOT | |
159 | ||
5f2d10ee JB |
160 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd |
161 | ||
7f75179c JB |
162 | rm -r $RPM_BUILD_ROOT%{_docdir}/glusterfs/examples |
163 | ||
d6a0cdd1 | 164 | %clean |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
11c9e8ee MK |
167 | %files common |
168 | %defattr(644,root,root,755) | |
7f75179c | 169 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README README.examples doc/*.vol.sample doc/examples/*.vol |
4163e7ad JB |
170 | %attr(755,root,root) %{_libdir}/libglusterfs.so.*.*.* |
171 | %attr(755,root,root) %ghost %{_libdir}/libglusterfs.so.0 | |
796930f1 | 172 | %dir %{_libdir}/glusterfs |
11c9e8ee MK |
173 | %dir %{_libdir}/glusterfs/%{version} |
174 | %dir %{_libdir}/glusterfs/%{version}/scheduler | |
175 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/scheduler/*.so | |
176 | %dir %{_libdir}/glusterfs/%{version}/transport | |
4163e7ad JB |
177 | %dir %{_libdir}/glusterfs/%{version}/transport/ib-sdp |
178 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/ib-sdp/client.so | |
179 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/ib-sdp/server.so | |
180 | %dir %{_libdir}/glusterfs/%{version}/transport/tcp | |
181 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/tcp/client.so | |
182 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/tcp/server.so | |
11c9e8ee | 183 | %dir %{_libdir}/glusterfs/%{version}/xlator |
4163e7ad JB |
184 | %dir %{_libdir}/glusterfs/%{version}/xlator/cluster |
185 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/cluster/*.so | |
186 | %dir %{_libdir}/glusterfs/%{version}/xlator/debug | |
187 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/debug/*.so | |
188 | %dir %{_libdir}/glusterfs/%{version}/xlator/encryption | |
189 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/encryption/*.so | |
190 | %dir %{_libdir}/glusterfs/%{version}/xlator/features | |
191 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/features/*.so | |
192 | %dir %{_libdir}/glusterfs/%{version}/xlator/performance | |
193 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/performance/*.so | |
194 | %dir %{_libdir}/glusterfs/%{version}/xlator/protocol | |
195 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/protocol/*.so | |
196 | %dir %{_libdir}/glusterfs/%{version}/xlator/storage | |
197 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/storage/*.so | |
11c9e8ee MK |
198 | %dir /var/log/glusterfs |
199 | ||
4163e7ad JB |
200 | %files devel |
201 | %defattr(644,root,root,755) | |
202 | %attr(755,root,root) %{_libdir}/libglusterfs.so | |
203 | %{_libdir}/libglusterfs.la | |
204 | #%{_includedir}/*.h | |
205 | ||
206 | %files static | |
207 | %defattr(644,root,root,755) | |
208 | %{_libdir}/libglusterfs.a | |
209 | ||
210 | %files transport-ibverbs | |
211 | %defattr(644,root,root,755) | |
212 | %dir %{_libdir}/glusterfs/%{version}/transport/ib-verbs | |
213 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/ib-verbs/client.so | |
214 | %attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/ib-verbs/server.so | |
215 | ||
11c9e8ee MK |
216 | %files server |
217 | %defattr(644,root,root,755) | |
11c9e8ee MK |
218 | %dir %{_sysconfdir}/%{name} |
219 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* | |
824dab89 | 220 | %attr(754,root,root) /etc/rc.d/init.d/glusterfsd |
11c9e8ee MK |
221 | %attr(755,root,root) %{_sbindir}/glusterfsd |
222 | ||
11c9e8ee MK |
223 | %files client |
224 | %defattr(644,root,root,755) | |
11c9e8ee MK |
225 | %attr(755,root,root) %{_sbindir}/glusterfs |
226 | %attr(755,root,root) /sbin/mount.glusterfs |