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