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