]> git.pld-linux.org Git - packages/ceph.git/blame - ceph.spec
- pl, some cleanups
[packages/ceph.git] / ceph.spec
CommitLineData
2a1a6301 1Summary: User space components of the Ceph file system
e5fc70df 2Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
2a1a6301 3Name: ceph
041b9abb 4Version: 0.51
137743bc 5Release: 2
e5fc70df 6License: LGPL v2
2a1a6301
JR
7Group: Base
8Source0: http://ceph.newdream.net/download/%{name}-%{version}.tar.bz2
041b9abb 9# Source0-md5: e4d07eccd79c9a4a9eeee4066f2a13a3
2a1a6301
JR
10Patch0: %{name}-init-fix.patch
11Patch1: %{name}.logrotate.patch
041b9abb 12Patch2: %{name}-link.patch
2a1a6301
JR
13URL: http://ceph.newdream.net/
14BuildRequires: boost-devel
15BuildRequires: cryptopp-devel
16BuildRequires: curl-devel
17BuildRequires: expat-devel
18BuildRequires: fcgi-devel
19BuildRequires: gdbm-devel
20BuildRequires: google-perftools-devel
21BuildRequires: gtk+2-devel
22BuildRequires: gtkmm-devel
23BuildRequires: keyutils-devel
24BuildRequires: libatomic_ops
25BuildRequires: libedit-devel
26BuildRequires: libfuse-devel
27BuildRequires: libltdl-devel
28BuildRequires: libstdc++-devel
29BuildRequires: libtcmalloc-devel
30BuildRequires: libtool
31BuildRequires: libuuid-devel
e5fc70df 32BuildRequires: perl-base
2a1a6301
JR
33BuildRequires: pkgconfig
34BuildRequires: rpmbuild(macros) >= 1.228
35Requires(post,preun): /sbin/chkconfig
36Requires(preun): rc-scripts
37Requires: %{name}-libs = %{version}-%{release}
60d5543f 38Obsoletes: gcephtool
2a1a6301
JR
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%define skip_post_check_so libcls_.*.so.*
42
43%description
44Ceph is a distributed network file system designed to provide
45excellent performance, reliability, and scalability.
46
e5fc70df
JB
47%description -l pl.UTF-8
48Ceph to rozproszony sieciowy system plików zaprojektowany z myślą o
49dobrej wydajności, wiarygodności i skalowalności.
50
2a1a6301
JR
51%package libs
52Summary: Ceph shared libraries
e5fc70df 53Summary(pl.UTF-8): Biblioteki współdzielone Cepha
2a1a6301
JR
54Group: Libraries
55
56%description libs
57Ceph shared libraries.
58
e5fc70df
JB
59%description libs -l pl.UTF-8
60Biblioteki współdzielone Cepha.
2a1a6301
JR
61
62%package devel
e5fc70df
JB
63Summary: Ceph header files
64Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Cepha
2a1a6301
JR
65Group: Development/Libraries
66Requires: %{name}-libs = %{version}-%{release}
67
68%description devel
69This package contains the headers needed to develop programs that use
70Ceph.
71
e5fc70df
JB
72%description devel -l pl.UTF-8
73Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
74wykorzystujących Cepha.
75
2a1a6301
JR
76%package static
77Summary: Ceph static libraries
e5fc70df 78Summary(pl.UTF-8): Biblioteki statyczne Cepha
2a1a6301
JR
79License: LGPLv2
80Group: Development/Libraries
81Requires: %{name}-devel = %{version}-%{release}
82
83%description static
84This package contains static Ceph libraries.
85
e5fc70df
JB
86%description static -l pl.UTF-8
87Ten pakiet zawiera biblioteki statyczne Cepha.
88
89%package -n python-ceph
90Summary: Ceph Python bindings
91Summary(pl.UTF-8): Wiązania Pythona do bibliotek Cepha
92Group: Development/Languages/Python
93Requires: %{name}-libs = %{version}-%{release}
94
95%description -n python-ceph
96Ceph Python bindings.
97
98%description -n python-ceph -l pl.UTF-8
99Wiązania Pythona do bibliotek Cepha.
100
101%package fuse
102Summary: Ceph FUSE-based client
103Summary(pl.UTF-8): Klient Cepha oparty na FUSE
104Group: Base
105Requires: %{name} = %{version}-%{release}
106
107%description fuse
108FUSE based client for Ceph distributed network file system.
109
110%description fuse -l pl.UTF-8
111Oparty na FUSE klient rozproszonego sieciowego systemu plików Ceph.
112
2a1a6301
JR
113%package radosgw
114Summary: rados REST gateway
e5fc70df
JB
115Summary(pl.UTF-8): Bramka REST-owa rados
116Group: Applications/System
2a1a6301
JR
117#Requires: apache-mod_fcgid
118
119%description radosgw
120radosgw is an S3 HTTP REST gateway for the RADOS object store. It is
121implemented as a FastCGI module using libfcgi, and can be used in
122conjunction with any FastCGI capable web server.
123
e5fc70df
JB
124%description radosgw -l pl.UTF-8
125radosgw to REST-owa bramka HTTP S3 do przechowalni obiektów RADOS.
126Jest zaimplementowana jako moduł FastCGI wykorzystujący libfcgi i może
127być używana w połączeniu z dowolnym serwerem WWW obsługującym FastCGI.
128
2a1a6301 129%package obsync
e5fc70df
JB
130Summary: Synchronize data between cloud object storage providers or a local directory
131Summary(pl.UTF-8): Synchronizacja danych między obiektami przechowywanymi w chmurze i katalogami lokalnymi
2a1a6301
JR
132Group: Applications/Networking
133Requires: python
134Requires: python-boto
135
136%description obsync
137obsync is a tool to synchronize objects between cloud object storage
138providers, such as Amazon S3 (or compatible services), a Ceph RADOS
139cluster, or a local directory.
140
e5fc70df
JB
141%description obsync -l pl.UTF-8
142obsync to narzędzie do synchronizacji obiektów między systemami
143przechowującymi obiekty w chmurze, takimi jak Amazon S3 (lub serwisy
144kompatybilne) a klastrem Ceph RADOS lub katalogiem lokalnym.
145
2a1a6301
JR
146%prep
147%setup -q
148%patch0 -p1
149%patch1 -p0
150%patch2 -p1
2a1a6301
JR
151
152%build
153%{__libtoolize}
154%{__aclocal}
155%{__autoconf}
156%{__autoheader}
157%{__automake}
158%configure \
159 --sbindir=/sbin \
160 --without-hadoop \
161 --with-radosgw \
162 --with-gtk2
163
164%{__make} V=1
165
166%install
167rm -rf $RPM_BUILD_ROOT
168install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib/ceph/tmp,log/ceph/stat} \
169 $RPM_BUILD_ROOT%{_sysconfdir}/{ceph,bash_completion.d,logrotate.d,rc.d/init.d}
170%{__make} install \
171 DESTDIR=$RPM_BUILD_ROOT
172
173install -p src/init-ceph $RPM_BUILD_ROOT/etc/rc.d/init.d/ceph
174install -p src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
175
176%{__rm} $RPM_BUILD_ROOT%{_libdir}/rados-classes/*.{a,la}
177
178%clean
179rm -rf $RPM_BUILD_ROOT
180
181%post
182/sbin/chkconfig --add ceph
183%service ceph restart
184
185%preun
186if [ "$1" = "0" ] ; then
72daa1da
JR
187 %service ceph stop
188 /sbin/chkconfig --del ceph
2a1a6301
JR
189fi
190
e5fc70df
JB
191%post libs -p /sbin/ldconfig
192%postun libs -p /sbin/ldconfig
2a1a6301
JR
193
194%files
195%defattr(644,root,root,755)
196%doc README src/sample.ceph.conf src/sample.fetch_config
197%attr(754,root,root) /etc/rc.d/init.d/ceph
198%dir %{_sysconfdir}/ceph
199%attr(755,root,root) %{_bindir}/ceph
200%attr(755,root,root) %{_bindir}/cephfs
201%attr(755,root,root) %{_bindir}/ceph-conf
202%attr(755,root,root) %{_bindir}/ceph-clsinfo
60d5543f 203%attr(755,root,root) %{_bindir}/ceph-dencoder
2a1a6301
JR
204%attr(755,root,root) %{_bindir}/crushtool
205%attr(755,root,root) %{_bindir}/monmaptool
206%attr(755,root,root) %{_bindir}/osdmaptool
207%attr(755,root,root) %{_bindir}/ceph-authtool
208%attr(755,root,root) %{_bindir}/ceph-syn
209%attr(755,root,root) %{_bindir}/ceph-run
210%attr(755,root,root) %{_bindir}/ceph-mon
211%attr(755,root,root) %{_bindir}/ceph-mds
212%attr(755,root,root) %{_bindir}/ceph-osd
213%attr(755,root,root) %{_bindir}/ceph-rbdnamer
214%attr(755,root,root) %{_bindir}/librados-config
215%attr(755,root,root) %{_bindir}/rados
216%attr(755,root,root) %{_bindir}/rbd
217%attr(755,root,root) %{_bindir}/ceph-debugpack
218%attr(755,root,root) %{_bindir}/ceph-coverage
219%dir %{_libdir}/rados-classes
60d5543f 220%attr(755,root,root) %{_libdir}/rados-classes/libcls_lock.so*
2a1a6301
JR
221%attr(755,root,root) %{_libdir}/rados-classes/libcls_rbd.so*
222%attr(755,root,root) %{_libdir}/rados-classes/libcls_rgw.so*
60d5543f
PS
223%attr(755,root,root) /sbin/ceph-disk-activate
224%attr(755,root,root) /sbin/ceph-disk-prepare
2a1a6301
JR
225%attr(755,root,root) /sbin/mkcephfs
226%attr(755,root,root) /sbin/mount.ceph
227%dir %{_libdir}/ceph
228%attr(755,root,root) %{_libdir}/ceph/ceph_common.sh
229%config(noreplace) /etc/logrotate.d/ceph
230%config(noreplace) %{_sysconfdir}/bash_completion.d/rados
231%config(noreplace) %{_sysconfdir}/bash_completion.d/ceph
232%config(noreplace) %{_sysconfdir}/bash_completion.d/rbd
233%{_mandir}/man8/ceph.8*
234%{_mandir}/man8/ceph-authtool.8*
235%{_mandir}/man8/ceph-clsinfo.8*
236%{_mandir}/man8/ceph-conf.8*
237%{_mandir}/man8/ceph-debugpack.8*
60d5543f 238%{_mandir}/man8/ceph-dencoder.8*
2a1a6301
JR
239%{_mandir}/man8/ceph-mds.8*
240%{_mandir}/man8/ceph-mon.8*
241%{_mandir}/man8/ceph-osd.8*
60d5543f 242%{_mandir}/man8/ceph-rbdnamer.8*
2a1a6301
JR
243%{_mandir}/man8/ceph-run.8*
244%{_mandir}/man8/ceph-syn.8*
245%{_mandir}/man8/cephfs.8*
246%{_mandir}/man8/crushtool.8*
247%{_mandir}/man8/librados-config.8*
248%{_mandir}/man8/mkcephfs.8*
249%{_mandir}/man8/monmaptool.8*
250%{_mandir}/man8/mount.ceph.8*
251%{_mandir}/man8/osdmaptool.8*
252%{_mandir}/man8/rados.8*
253%{_mandir}/man8/radosgw.8*
254%{_mandir}/man8/radosgw-admin.8*
255%{_mandir}/man8/rbd.8*
60d5543f 256
2a1a6301
JR
257%dir %{_localstatedir}/lib/ceph
258%dir %{_localstatedir}/lib/ceph/tmp
259%dir %{_localstatedir}/log/ceph
260
261%files libs
262%defattr(644,root,root,755)
263%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
264%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.1
265%attr(755,root,root) %{_libdir}/librados.so.*.*.*
266%attr(755,root,root) %ghost %{_libdir}/librados.so.2
267%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
268%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
2a1a6301 269
2a1a6301
JR
270%files devel
271%defattr(644,root,root,755)
2a1a6301
JR
272%attr(755,root,root) %{_libdir}/libcephfs.so
273%attr(755,root,root) %{_libdir}/librados.so
2a1a6301
JR
274%attr(755,root,root) %{_libdir}/librbd.so
275%{_libdir}/libcephfs.la
276%{_libdir}/librados.la
2a1a6301 277%{_libdir}/librbd.la
e5fc70df
JB
278%{_includedir}/cephfs
279%{_includedir}/rados
280%{_includedir}/rbd
2a1a6301
JR
281
282%files static
283%defattr(644,root,root,755)
284%{_libdir}/libcephfs.a
285%{_libdir}/librados.a
2a1a6301
JR
286%{_libdir}/librbd.a
287
e5fc70df
JB
288%files -n python-ceph
289%defattr(644,root,root,755)
290%{py_sitescriptdir}/rados.py*
291%{py_sitescriptdir}/rbd.py*
292
293%files fuse
294%defattr(644,root,root,755)
295%doc COPYING
296%attr(755,root,root) %{_bindir}/ceph-fuse
297%{_mandir}/man8/ceph-fuse.8*
298
2a1a6301
JR
299%files radosgw
300%defattr(644,root,root,755)
301%attr(755,root,root) %{_bindir}/radosgw
302%attr(755,root,root) %{_bindir}/radosgw-admin
303%{_sysconfdir}/bash_completion.d/radosgw-admin
304
305%files obsync
306%defattr(644,root,root,755)
307%attr(755,root,root) %{_bindir}/obsync
308%attr(755,root,root) %{_bindir}/boto_tool
60d5543f 309%{_mandir}/man1/obsync.1*
This page took 0.099162 seconds and 4 git commands to generate.