]>
Commit | Line | Data |
---|---|---|
d6a0cdd1 | 1 | Summary: Clustered File Storage that can scale to peta bytes |
2 | #Summary(pl.UTF-8): - | |
3 | Name: glusterfs | |
4 | Version: 1.2.3 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: http://ftp.zresearch.com/pub/gluster/glusterfs/1.2/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: f0a545f10176a77d93472b64db061781 | |
10 | Patch0: %{name}-DESTDIR.patch | |
11 | URL: http://gluster.org/glusterfs.php | |
12 | BuildRequires: bison | |
13 | BuildRequires: flex | |
14 | BuildRequires: libfuse-devel | |
15 | BuildRequires: rpmbuild(macros) >= 1.228 | |
16 | Requires(post,preun): /sbin/chkconfig | |
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 | ||
28 | #description -l pl.UTF-8 | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | # create directories if necessary | |
41 | #install -d $RPM_BUILD_ROOT | |
42 | #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS ChangeLog NEWS README | |
53 | %attr(755,root,root) %{_libdir}/*.so | |
54 | %dir %{_libdir}/glusterfs/* | |
55 | %attr(755,root,root) %{_libdir}/glusterfs/*/*so | |
56 | %dir %{_libdir}/glusterfs/*/* | |
57 | %attr(755,root,root) %{_libdir}/glusterfs/*/*/*so | |
58 | %attr(755,root,root) %{_sbindir}/* | |
59 | %{_sysconfdir}/%{name}/%{name}* | |
60 | %attr(755,root,root) /sbin/mount.* |