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