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