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