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