]> git.pld-linux.org Git - packages/glusterfs.git/blame - glusterfs.spec
- don't link everything with libibverbs
[packages/glusterfs.git] / glusterfs.spec
CommitLineData
7f75179c
JB
1#
2# Conditional build:
3%bcond_with ibverbs # ib-verbs transport
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
d6a0cdd1 15URL: http://gluster.org/glusterfs.php
16BuildRequires: bison
17BuildRequires: flex
7f75179c
JB
18BuildRequires: libfuse-devel >= 2.6
19%{?with_ibverbs:BuildRequires: libibverbs-devel >= 1.0.4}
d6a0cdd1 20BuildRequires: rpmbuild(macros) >= 1.228
d6a0cdd1 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24GlusterFS is a clustered file-system capable of scaling to several
25peta-bytes. It aggregates various storage bricks over Infiniband RDMA
26or TCP/IP interconnect into one large parallel network file system.
27GlusterFS is one of the most sophisticated file system in terms of
28features and extensibility. It borrows a powerful concept called
29Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
30userspace and easily manageable.
31
dae7af53
JB
32%description -l pl.UTF-8
33GlusterFS to klastrowy system plików skalujący się do petabajtów.
34Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP
11c9e8ee
MK
35w jeden duży, równoległy sieciowy system plików. GlusterFS to
36jeden z najbardziej wyszukanych systemów plików jeśli chodzi o
37możliwości i rozszerzalność. Zapożycza potężną ideę o nazwie
38Translators z jądra GNU Hurd. Duża część kodu GlusterFS działa w
39przestrzeni użytkownika i jest łatwo zarządzalna.
40
41%package common
42Summary: GlusterFS Library and Translators
5f2d10ee
JB
43Summary(pl.UTF-8): Biblioteka i translatory GlusterFS-a
44Group: Libraries
11c9e8ee
MK
45
46%description common
47GlusterFS is a clustered file-system capable of scaling to several
48peta-bytes. It aggregates various storage bricks over Infiniband RDMA
49or TCP/IP interconnect into one large parallel network file system.
50GlusterFS is one of the most sophisticated file system in terms of
51features and extensibility. It borrows a powerful concept called
52Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
53userspace and easily manageable.
54
55This package includes libglusterfs and glusterfs translator modules
56common to both GlusterFS server and client framework.
57
58%description common -l pl.UTF-8
5f2d10ee
JB
59GlusterFS to klastrowy system plików skalujący się do petabajtów.
60Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP
61w jeden duży, równoległy sieciowy system plików. GlusterFS to
62jeden z najbardziej wyszukanych systemów plików jeśli chodzi o
63możliwości i rozszerzalność. Zapożycza potężną ideę o nazwie
64Translators z jądra GNU Hurd. Duża część kodu GlusterFS działa w
65przestrzeni użytkownika i jest łatwo zarządzalna.
66
67Ten pakiet zawiera libglusterfs i moduły translatorów glusterfs
68wspólne dla klienta jak i serwera GlusterFS-a.
11c9e8ee
MK
69
70%package server
71Summary: GlusterFS Server
5f2d10ee
JB
72Summary(pl.UTF-8): Serwer GlusterFS-a
73Group: Daemons
74Requires: %{name}-common = %{version}-%{release}
75Requires(post,preun): /sbin/chkconfig
76Requires: rc-scripts
11c9e8ee
MK
77
78%description server
11c9e8ee
MK
79This package provides the glusterfs server daemon.
80
81%description server -l pl.UTF-8
5f2d10ee 82Ten pakiet zawiera część serwerową GlusterFS-a.
11c9e8ee
MK
83
84%package client
85Summary: GlusterFS Client
5f2d10ee 86Summary(pl.UTF-8): Klient GlusterFS
11c9e8ee 87Group: Applications/System
5f2d10ee 88Requires: %{name}-common = %{version}-%{release}
7f75179c 89Requires: libfuse >= 2.6
11c9e8ee
MK
90
91%description client
11c9e8ee
MK
92This package provides the FUSE based GlusterFS client.
93
94%description client -l pl.UTF-8
5f2d10ee 95Ten pakiet udostępnia opartego na FUSE klienta GlusterFS-a.
11c9e8ee
MK
96
97%package devel
5f2d10ee
JB
98Summary: GlusterFS development files
99Summary(pl.UTF-8): Pliki programistyczne GlusterFS-a
11c9e8ee 100Group: Development/Libraries
5f2d10ee 101Requires: %{name}-common = %{version}-%{release}
11c9e8ee
MK
102
103%description devel
7f75179c 104This package provides the development files for GlusterFS library.
11c9e8ee
MK
105
106%description devel -l pl.UTF-8
7f75179c 107Ten pakiet udostępnia pliki programistyczne biblioteki GlusterFS-a.
5f2d10ee
JB
108
109%package static
110Summary: Static GlusterFS library
111Summary(pl.UTF-8): Statyczna biblioteka GlusterFS-a
112Group: Development/Libraries
113Requires: %{name}-devel = %{version}-%{release}
114
115%description static
116Static GlusterFS library.
11c9e8ee 117
5f2d10ee
JB
118%description static -l pl.UTF-8
119Statyczna biblioteka GlusterFS-a.
d6a0cdd1 120
121%prep
122%setup -q
d6a0cdd1 123
7f75179c
JB
124cp -l doc/examples/README README.examples
125
d6a0cdd1 126%build
1293e304 127%configure \
7f75179c 128 %{!?with_ibverbs:--disable-ibverbs}
d6a0cdd1 129%{__make}
130
131%install
132rm -rf $RPM_BUILD_ROOT
824dab89 133install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
824dab89 134
d6a0cdd1 135%{__make} install \
136 DESTDIR=$RPM_BUILD_ROOT
137
5f2d10ee
JB
138install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
139
7f75179c
JB
140rm -r $RPM_BUILD_ROOT%{_docdir}/glusterfs/examples
141
d6a0cdd1 142%clean
143rm -rf $RPM_BUILD_ROOT
144
11c9e8ee
MK
145%files common
146%defattr(644,root,root,755)
7f75179c 147%doc AUTHORS ChangeLog COPYING INSTALL NEWS README README.examples doc/*.vol.sample doc/examples/*.vol
11c9e8ee 148%attr(755,root,root) %{_libdir}/libglusterfs.so.*
796930f1 149%dir %{_libdir}/glusterfs
11c9e8ee
MK
150%dir %{_libdir}/glusterfs/%{version}
151%dir %{_libdir}/glusterfs/%{version}/scheduler
152%attr(755,root,root) %{_libdir}/glusterfs/%{version}/scheduler/*.so
153%dir %{_libdir}/glusterfs/%{version}/transport
154%attr(755,root,root) %{_libdir}/glusterfs/%{version}/transport/*/*.so
155%dir %{_libdir}/glusterfs/%{version}/xlator
156%dir %{_libdir}/glusterfs/%{version}/xlator/*
157%attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/*/*.so
11c9e8ee
MK
158%dir /var/log/glusterfs
159
11c9e8ee
MK
160%files server
161%defattr(644,root,root,755)
11c9e8ee
MK
162%dir %{_sysconfdir}/%{name}
163%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
824dab89 164%attr(754,root,root) /etc/rc.d/init.d/glusterfsd
11c9e8ee
MK
165%attr(755,root,root) %{_sbindir}/glusterfsd
166
11c9e8ee
MK
167%files client
168%defattr(644,root,root,755)
11c9e8ee
MK
169%attr(755,root,root) %{_sbindir}/glusterfs
170%attr(755,root,root) /sbin/mount.glusterfs
171
172%files devel
d6a0cdd1 173%defattr(644,root,root,755)
5f2d10ee 174%attr(755,root,root) %{_libdir}/libglusterfs.so
11c9e8ee 175%{_libdir}/libglusterfs.la
7f75179c 176#%{_includedir}/*.h
5f2d10ee
JB
177
178%files static
179%defattr(644,root,root,755)
180%{_libdir}/libglusterfs.a
This page took 0.066302 seconds and 4 git commands to generate.