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