]> git.pld-linux.org Git - SPECS.git/blob - gluster-swift-ufo.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / gluster-swift-ufo.spec
1 # TODO: openstack-swift packages
2 Summary:        GlusterFS Unified File and Object Storage
3 Summary(pl.UTF-8):      GlusterFS UFO - ujednolicony sposób przechowywania plików i obiektów
4 Name:           gluster-swift-ufo
5 Version:        3.4.0
6 Release:        0.1
7 License:        Apache
8 Group:          Application/File
9 Source0:        http://download.gluster.org/pub/gluster/glusterfs/LATEST/%{name}-%{version}.tar.gz
10 # Source0-md5:  614628f29cd47fba95d1530363d7900b
11 URL:            http://www.gluster.org/
12 BuildRequires:  python >= 1:2.6
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 Requires:       memcached
16 Requires:       python >= 1:2.6
17 Requires:       openstack-swift >= 1.4.8
18 Requires:       openstack-swift-account >= 1.4.8
19 Requires:       openstack-swift-container >= 1.4.8
20 Requires:       openstack-swift-object >= 1.4.8
21 Requires:       openstack-swift-proxy >= 1.4.8
22 Obsoletes:      gluster-swift
23 Obsoletes:      gluster-swift-plugin
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Gluster Unified File and Object Storage unifies NAS and object storage
29 technology. This provides a system for data storage that enables users
30 to access the same data as an object and as a file, simplifying
31 management and controlling storage costs.
32
33 %description -l pl.UTF-8
34 Gluster UFO (Unified File and Object Storage) unifikuje technologie
35 przechowywania danych NAS i obiektów. Udostępnia system przechowywania
36 danych pozwalający użytkownikom na dostęp do tych samych danych jako
37 obiektu i jako pliku, co upraszcza zarządzanie i kontrolę kosztów.
38
39 %prep
40 %setup -q -n ufo
41
42 %build
43 %{__python} setup.py build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/swift,%{_bindir}}
48
49 %{__python} setup.py install \
50         --optimize=1 \
51         --skip-build \
52         --root $RPM_BUILD_ROOT
53
54 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/test
55
56 %py_postclean
57
58 cp -a etc/* $RPM_BUILD_ROOT%{_sysconfdir}/swift
59 install bin/gluster-swift-gen-builders $RPM_BUILD_ROOT%{_bindir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc README
67 %attr(755,root,root) %{_bindir}/gluster-swift-gen-builders
68 %{py_sitescriptdir}/gluster
69 %{py_sitescriptdir}/gluster_swift_ufo-1.1-py*.egg-info
70 %dir %{_sysconfdir}/swift
71 %dir %{_sysconfdir}/swift/account-server
72 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/account-server/1.conf-gluster
73 %dir %{_sysconfdir}/swift/container-server
74 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/container-server/1.conf-gluster
75 %dir %{_sysconfdir}/swift/object-server
76 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/object-server/1.conf-gluster
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/swift.conf-gluster
78 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/proxy-server.conf-gluster
79 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/swift/fs.conf-gluster
This page took 0.238294 seconds and 3 git commands to generate.