/[packages]/cauldron/openstack-swift/current/SPECS/openstack-swift.spec
ViewVC logotype

Diff of /cauldron/openstack-swift/current/SPECS/openstack-swift.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 398224 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 398225 by neoclust, Wed Feb 13 16:35:55 2013 UTC
# Line 1  Line 1 
1  %global with_doc 1  %global snaptag 20121113.r2194
2    
 %define bzr_rev 239  
3  Name:             openstack-swift  Name:             openstack-swift
4  Version:          1.2.99.%{bzr_rev}  Version:          1.7.5
5  Release:          %mkrel 2  Release:          %mkrel 3
6  Summary:          OpenStack Object Storage (swift)  Summary:          OpenStack Object Storage (Swift)
7  Group:            Development/Python  
8    Group:            Development/Other
9  License:          ASL 2.0  License:          ASL 2.0
10  URL:              http://launchpad.net/swift  URL:              http://launchpad.net/swift
11  Source0:          http://hudson.openstack.org/job/swift-tarball/lastSuccessfulBuild/artifact/dist/swift-1.3-dev+bzr%{bzr_rev}.tar.gz  Source0:          http://launchpad.net/swift/grizzly/%{version}/+download/swift-%{version}.tar.gz
12  #Source0:          http://launchpad.net/swift/1.2/1.2.0/+download/swift-1.2.0.tar.gz  #Source0:          http://tarballs.openstack.org/swift/swift-%{version}~%{snaptag}.tar.gz
13  Source1:          %{name}-functions  Source2:          %{name}-account.service
14  Source2:          %{name}-account.init  Source21:         %{name}-account@.service
15  Source3:          %{name}-auth.init  Source22:         account-server.conf
16  Source4:          %{name}-container.init  Source23:         %{name}-account-replicator.service
17  Source5:          %{name}-object.init  Source24:         %{name}-account-replicator@.service
18  Source6:          %{name}-proxy.init  Source25:         %{name}-account-auditor.service
19  Source20:         %{name}-create-man-stubs.py  Source26:         %{name}-account-auditor@.service
20    Source27:         %{name}-account-reaper.service
21    Source28:         %{name}-account-reaper@.service
22    Source4:          %{name}-container.service
23    Source41:         %{name}-container@.service
24    Source42:         container-server.conf
25    Source43:         %{name}-container-replicator.service
26    Source44:         %{name}-container-replicator@.service
27    Source45:         %{name}-container-auditor.service
28    Source46:         %{name}-container-auditor@.service
29    Source47:         %{name}-container-updater.service
30    Source48:         %{name}-container-updater@.service
31    Source5:          %{name}-object.service
32    Source51:         %{name}-object@.service
33    Source52:         object-server.conf
34    Source53:         %{name}-object-replicator.service
35    Source54:         %{name}-object-replicator@.service
36    Source55:         %{name}-object-auditor.service
37    Source56:         %{name}-object-auditor@.service
38    Source57:         %{name}-object-updater.service
39    Source58:         %{name}-object-updater@.service
40    Source59:         %{name}-object-expirer.service
41    # Is it possible to supply an instance-style expirer unit for single-node?
42    Source6:          %{name}-proxy.service
43    Source61:         proxy-server.conf
44    Source62:         object-expirer.conf
45    Source20:         %{name}.tmpfs
46    Source7:          swift.conf
47    
48  BuildArch:        noarch  BuildArch:        noarch
 BuildRequires:    fdupes  
49  BuildRequires:    dos2unix  BuildRequires:    dos2unix
50  BuildRequires:    python-devel  BuildRequires:    python-devel
51  BuildRequires:    python-setuptools  BuildRequires:    python-setuptools
52    BuildRequires:    python-netifaces
53    BuildRequires:    python-paste-deploy
54  Requires:         python-configobj  Requires:         python-configobj
55  Requires:         python-eventlet >= 0.9.8  Requires:         python-eventlet >= 0.9.8
56  Requires:         python-greenlet >= 0.3.1  Requires:         python-greenlet >= 0.3.1
57    Requires:         python-paste-deploy
58  Requires:         python-simplejson  Requires:         python-simplejson
59  Requires:         python-webob  Requires:         python-xattr
60  Requires:         pyxattr  Requires:         python-setuptools
61  Requires:         python-netifaces  Requires:         python-netifaces
62    
63    Requires(post):   systemd
64    Requires(preun):  systemd
65    Requires(postun): systemd
66  Requires(pre):    shadow-utils  Requires(pre):    shadow-utils
67    Obsoletes:        openstack-swift-auth  <= 1.4.0
68    # swift3 was split off in 1.5.0
69    Requires:         openstack-swift-plugin-swift3
70    # swiftclient was split offf in 1.6.0
71    Requires:         python-swiftclient
72    
73  %description  %description
74  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
75  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
76  Objects are written to multiple hardware devices in the data center, with the  Objects are written to multiple hardware devices in the data center, with the
77  OpenStack software responsible for ensuring data replication and integrity  OpenStack software responsible for ensuring data replication and integrity
# Line 44  inexpensive commodity hard drives and se Line 83  inexpensive commodity hard drives and se
83  expensive equipment.  expensive equipment.
84    
85  %package          account  %package          account
86  Summary:          A swift account server  Summary:          Account services for Swift
87  Group:            System/Cluster  Group:            System/Cluster
88    
89  Requires:         %{name} = %{version}-%{release}  Requires:         %{name} = %{version}-%{release}
90    
91  %description      account  %description      account
92  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
93  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
94    
95  This package contains the %{name} account server.  This package contains the %{name} account server.
96    
 %package          auth  
 Summary:          A swift auth server  
 Group:            System/Cluster  
 Requires:         %{name} = %{version}-%{release}  
   
 %description      auth  
 OpenStack Object Storage (swift) aggregates commodity servers to work together  
 in clusters for reliable, redundant, and large-scale storage of static objects.  
   
 This package contains the %{name} auth server.  
   
97  %package          container  %package          container
98  Summary:          A swift container server  Summary:          Container services for Swift
99  Group:            System/Cluster  Group:            System/Cluster
100    
101  Requires:         %{name} = %{version}-%{release}  Requires:         %{name} = %{version}-%{release}
102    
103  %description      container  %description      container
104  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
105  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
106    
107  This package contains the %{name} container server.  This package contains the %{name} container server.
108    
109  %package          object  %package          object
110  Summary:          A swift object server  Summary:          Object services for Swift
111  Group:            System/Cluster  Group:            System/Cluster
112    
113  Requires:         %{name} = %{version}-%{release}  Requires:         %{name} = %{version}-%{release}
114    Requires:         rsync >= 3.0
115    
116  %description      object  %description      object
117  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
118  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
119    
120  This package contains the %{name} object server.  This package contains the %{name} object server.
121    
122  %package          proxy  %package          proxy
123  Summary:          A swift proxy server  Summary:          A proxy server for Swift
124  Group:            System/Cluster  Group:            System/Cluster
125    
126  Requires:         %{name} = %{version}-%{release}  Requires:         %{name} = %{version}-%{release}
 Requires:         memcached  
127    
128  %description      proxy  %description      proxy
129  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
130  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
131    
132  This package contains the %{name} proxy server.  This package contains the %{name} proxy server.
133    
 %if 0%{?with_doc}  
134  %package doc  %package doc
135  Summary:          Documentation for %{name}  Summary:          Documentation for %{name}
136  Group:            Documentation  Group:            Documentation
137  BuildRequires:    python-sphinx  BuildRequires:    python-sphinx >= 1.0
138  # Required for generating docs  # Required for generating docs
139  BuildRequires:    python-eventlet  BuildRequires:    python-eventlet
140  BuildRequires:    python-simplejson  BuildRequires:    python-simplejson
 BuildRequires:    python-webob  
141  BuildRequires:    pyxattr  BuildRequires:    pyxattr
 BuildRequires:    python-xmldiff  
 BuildRequires:    python-netaddr  
 BuildRequires:    python-netifaces  
   
142    
143  %description      doc  %description      doc
144  OpenStack Object Storage (swift) aggregates commodity servers to work together  OpenStack Object Storage (Swift) aggregates commodity servers to work together
145  in clusters for reliable, redundant, and large-scale storage of static objects.  in clusters for reliable, redundant, and large-scale storage of static objects.
146    
147  This package contains documentation files for %{name}.  This package contains documentation files for %{name}.
 %endif  
148    
149  %prep  %prep
150  %setup -q -n swift-1.3-dev  %setup -q -n swift-%{version}
151  # Fix wrong-file-end-of-line-encoding warning  # Fix wrong-file-end-of-line-encoding warning
152  dos2unix LICENSE  dos2unix LICENSE
153    
154  %build  %build
155  CFLAGS="%{optflags}" python setup.py build  %{__python} setup.py build
156    # Fails unless we create the build directory
157    mkdir -p doc/build
158  # Build docs  # Build docs
159  %if 0%{?with_doc}  %{__python} setup.py build_sphinx
160  export PYTHONPATH="$( pwd ):$PYTHONPATH"  # Fix hidden-file-or-dir warning
161  pushd doc  #rm doc/build/html/.buildinfo
 sphinx-build -b html source build/html  
 popd  
 rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo  
 %endif  
 # Build man stubs  
 %{__python} %{SOURCE20} --mandir=./man  
162    
163  %install  %install
164  %{__python} setup.py install --root $RPM_BUILD_ROOT --install-purelib=%{python_sitelib}  rm -rf %{buildroot}
165  # Init helper functions  %{__python} setup.py install -O1 --skip-build --root %{buildroot}
166  install -p -D -m 644 %{SOURCE1} %{buildroot}/usr/share/%{name}/functions  # systemd units
167  # Init scripts  install -p -D -m 755 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}-account.service
168  install -p -D -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name}-account  install -p -D -m 755 %{SOURCE21} %{buildroot}%{_unitdir}/%{name}-account@.service
169  install -p -D -m 755 %{SOURCE3} %{buildroot}%{_initrddir}/%{name}-auth  install -p -D -m 755 %{SOURCE23} %{buildroot}%{_unitdir}/%{name}-account-replicator.service
170  install -p -D -m 755 %{SOURCE4} %{buildroot}%{_initrddir}/%{name}-container  install -p -D -m 755 %{SOURCE24} %{buildroot}%{_unitdir}/%{name}-account-replicator@.service
171  install -p -D -m 755 %{SOURCE5} %{buildroot}%{_initrddir}/%{name}-object  install -p -D -m 755 %{SOURCE25} %{buildroot}%{_unitdir}/%{name}-account-auditor.service
172  install -p -D -m 755 %{SOURCE6} %{buildroot}%{_initrddir}/%{name}-proxy  install -p -D -m 755 %{SOURCE26} %{buildroot}%{_unitdir}/%{name}-account-auditor@.service
173  # Install man stubs  install -p -D -m 755 %{SOURCE27} %{buildroot}%{_unitdir}/%{name}-account-reaper.service
174  for name in $( ls ./man ); do  install -p -D -m 755 %{SOURCE28} %{buildroot}%{_unitdir}/%{name}-account-reaper@.service
175      mkdir -p "%{buildroot}%{_mandir}/$name"  install -p -D -m 755 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}-container.service
176      cp "./man/$name/"*.gz "%{buildroot}%{_mandir}/$name"  install -p -D -m 755 %{SOURCE41} %{buildroot}%{_unitdir}/%{name}-container@.service
177  done  install -p -D -m 755 %{SOURCE43} %{buildroot}%{_unitdir}/%{name}-container-replicator.service
178    install -p -D -m 755 %{SOURCE44} %{buildroot}%{_unitdir}/%{name}-container-replicator@.service
179    install -p -D -m 755 %{SOURCE45} %{buildroot}%{_unitdir}/%{name}-container-auditor.service
180    install -p -D -m 755 %{SOURCE46} %{buildroot}%{_unitdir}/%{name}-container-auditor@.service
181    install -p -D -m 755 %{SOURCE47} %{buildroot}%{_unitdir}/%{name}-container-updater.service
182    install -p -D -m 755 %{SOURCE48} %{buildroot}%{_unitdir}/%{name}-container-updater@.service
183    install -p -D -m 755 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}-object.service
184    install -p -D -m 755 %{SOURCE51} %{buildroot}%{_unitdir}/%{name}-object@.service
185    install -p -D -m 755 %{SOURCE53} %{buildroot}%{_unitdir}/%{name}-object-replicator.service
186    install -p -D -m 755 %{SOURCE54} %{buildroot}%{_unitdir}/%{name}-object-replicator@.service
187    install -p -D -m 755 %{SOURCE55} %{buildroot}%{_unitdir}/%{name}-object-auditor.service
188    install -p -D -m 755 %{SOURCE56} %{buildroot}%{_unitdir}/%{name}-object-auditor@.service
189    install -p -D -m 755 %{SOURCE57} %{buildroot}%{_unitdir}/%{name}-object-updater.service
190    install -p -D -m 755 %{SOURCE58} %{buildroot}%{_unitdir}/%{name}-object-updater@.service
191    install -p -D -m 755 %{SOURCE59} %{buildroot}%{_unitdir}/%{name}-object-expirer.service
192    install -p -D -m 755 %{SOURCE6} %{buildroot}%{_unitdir}/%{name}-proxy.service
193  # Remove tests  # Remove tests
194  rm -fr %{buildroot}/%{python_sitelib}/test  rm -fr %{buildroot}/%{python_sitelib}/test
195  # Misc other  # Misc other
196  install -d -m 755 %{buildroot}%{_sysconfdir}/swift  install -d -m 755 %{buildroot}%{_sysconfdir}/swift
197  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/account-server  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/account-server
 install -d -m 755 %{buildroot}%{_sysconfdir}/swift/auth-server  
198  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/container-server  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/container-server
199  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/object-server  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/object-server
200  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/proxy-server  install -d -m 755 %{buildroot}%{_sysconfdir}/swift/proxy-server
201  fdupes %{buildroot}%{python_sitelib}/swift  # Config files
202    install -p -D -m 660 %{SOURCE22} %{buildroot}%{_sysconfdir}/swift/account-server.conf
203    install -p -D -m 660 %{SOURCE42} %{buildroot}%{_sysconfdir}/swift/container-server.conf
204    install -p -D -m 660 %{SOURCE52} %{buildroot}%{_sysconfdir}/swift/object-server.conf
205    install -p -D -m 660 %{SOURCE61} %{buildroot}%{_sysconfdir}/swift/proxy-server.conf
206    install -p -D -m 660 %{SOURCE62} %{buildroot}%{_sysconfdir}/swift/object-expirer.conf
207    install -p -D -m 660 %{SOURCE7} %{buildroot}%{_sysconfdir}/swift/swift.conf
208    # Install pid directory
209    install -d -m 755 %{buildroot}%{_localstatedir}/run/swift
210    install -d -m 755 %{buildroot}%{_localstatedir}/run/swift/account-server
211    install -d -m 755 %{buildroot}%{_localstatedir}/run/swift/container-server
212    install -d -m 755 %{buildroot}%{_localstatedir}/run/swift/object-server
213    install -d -m 755 %{buildroot}%{_localstatedir}/run/swift/proxy-server
214    # Swift run directories
215    mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
216    install -p -m 0644 %{SOURCE20} %{buildroot}%{_sysconfdir}/tmpfiles.d/openstack-swift.conf
217    # man pages
218    install -d -m 755 %{buildroot}%{_mandir}/man5
219    for m in doc/manpages/*.5; do
220      install -p -m 0644 $m %{buildroot}%{_mandir}/man5
221    done
222    install -d -m 755 %{buildroot}%{_mandir}/man1
223    for m in doc/manpages/*.1; do
224      install -p -m 0644 $m %{buildroot}%{_mandir}/man1
225    done
226    
227  %clean  %clean
228  rm -rf %{buildroot}  rm -rf %{buildroot}
229    
230  %pre  %pre
231  getent group swift >/dev/null || groupadd -r swift  getent group swift >/dev/null || groupadd -r swift -g 160
232  getent passwd swift >/dev/null || \  getent passwd swift >/dev/null || \
233  useradd -r -g swift -d %{_sharedstatedir}/swift -s /sbin/nologin \  useradd -r -g swift -u 160 -d %{_sharedstatedir}/swift -s /sbin/nologin \
234  -c "OpenStack Swift Daemons" swift  -c "OpenStack Swift Daemons" swift
235  exit 0  exit 0
236    
237  %post account  %post account
238  %_post_service openstack-swift-account  %_post_service %{name}-account
239    %_post_service %{name}-account-replicator
240  %preun account  %_post_service %{name}-account-auditor
241  %_preun_service openstack-swift-account  %_post_service %{name}-account-reaper
242    
243  %post auth  %postun account
244  %_post_service openstack-swift-auth  %_postun_service %{name}-account
245    %_postun_service %{name}-account-replicator
246  %preun auth  %_postun_service %{name}-account-auditor
247  %_preun_service openstack-swift-auth  %_postun_service %{name}-account-reaper
248    
249  %post container  %post container
250  %_post_service openstack-swift-container  %_post_service %{name}-container
251    %_post_service %{name}-container-replicator
252  %preun container  %_post_service %{name}-container-auditor
253  %_preun_service openstack-swift-container  %_post_service %{name}-container-updater
254    
255    %postun container
256    %_postun_service %{name}-container
257    %_postun_service %{name}-container-replicator
258    %_postun_service %{name}-container-auditor
259    %_postun_service %{name}-container-updater
260    
261  %post object  %post object
262  %_post_service openstack-swift-object  %_post_service %{name}-object
263    %_post_service %{name}-object-replicator
264  %preun object  %_post_service %{name}-object-auditor
265  %_preun_service openstack-swift-object  %_post_service %{name}-object-updater
266    
267    %postun object
268    %_postun_service %{name}-object
269    %_postun_service %{name}-object-replicator
270    %_postun_service %{name}-object-auditor
271    %_postun_service %{name}-object-updater
272    
273  %post proxy  %post proxy
274  %_post_service openstack-swift-proxy  %_post_service %{name}-proxy
275    %_post_service %{name}-object-expirer
276    
277  %preun proxy  %postun proxy
278  %_preun_service openstack-swift-proxy  %_postun_service %{name}-proxy
279    %_postun_service %{name}-object-expirer
280    
281  %files  %files
282  %defattr(-,root,root,-)  %defattr(-,root,root,-)
283  %doc AUTHORS LICENSE README  %doc AUTHORS LICENSE README.md
284  %dir /usr/share/%{name}/functions  %doc etc/dispersion.conf-sample etc/drive-audit.conf-sample etc/object-expirer.conf-sample
285    %doc etc/swift.conf-sample
286    %{_mandir}/man5/dispersion.conf.5*
287    %{_mandir}/man1/swift-dispersion-populate.1*
288    %{_mandir}/man1/swift-dispersion-report.1*
289    %{_mandir}/man1/swift.1*
290    %{_mandir}/man1/swift-get-nodes.1*
291    %{_mandir}/man1/swift-init.1*
292    %{_mandir}/man1/swift-orphans.1*
293    %{_mandir}/man1/swift-recon.1*
294    %{_mandir}/man1/swift-ring-builder.1*
295    %config(noreplace) %{_sysconfdir}/tmpfiles.d/openstack-swift.conf
296  %dir %{_sysconfdir}/swift  %dir %{_sysconfdir}/swift
297    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/swift.conf
298    %dir %attr(0755, swift, root) %{_localstatedir}/run/swift
299  %dir %{python_sitelib}/swift  %dir %{python_sitelib}/swift
 %dir /usr/share/openstack-swift  
 %{_bindir}/st  
300  %{_bindir}/swift-account-audit  %{_bindir}/swift-account-audit
301    %{_bindir}/swift-bench
302    %{_bindir}/swift-bench-client
303  %{_bindir}/swift-drive-audit  %{_bindir}/swift-drive-audit
304  %{_bindir}/swift-get-nodes  %{_bindir}/swift-get-nodes
305  %{_bindir}/swift-init  %{_bindir}/swift-init
306  %{_bindir}/swift-ring-builder  %{_bindir}/swift-ring-builder
307  %{_bindir}/swift-stats-populate  %{_bindir}/swift-dispersion-populate
308  %{_bindir}/swift-stats-report  %{_bindir}/swift-dispersion-report
309  # TODO: check if this is the correct subpackage  %{_bindir}/swift-recon*
310  %{_bindir}/swift-bench  %{_bindir}/swift-oldies
311  %{_bindir}/swift-log-stats-collector  %{_bindir}/swift-orphans
312  %{_bindir}/swift-log-uploader  %{_bindir}/swift-form-signature
313  # ENDTODO  %{_bindir}/swift-temp-url
 %{_mandir}/man8/st.8.*  
 %{_mandir}/man8/swift-account-audit.8.*  
 %{_mandir}/man8/swift-drive-audit.8.*  
 %{_mandir}/man8/swift-get-nodes.8.*  
 %{_mandir}/man8/swift-init.8.*  
 %{_mandir}/man8/swift-ring-builder.8.*  
 %{_mandir}/man8/swift-stats-populate.8.*  
 %{_mandir}/man8/swift-stats-report.8.*  
314  %{python_sitelib}/swift/*.py*  %{python_sitelib}/swift/*.py*
315  %{python_sitelib}/swift/common  %{python_sitelib}/swift/common
316  # TODO: check if this is the correct subpackage  %{python_sitelib}/swift-%{version}-*.egg-info
 %{python_sitelib}/swift/stats  
 # ENDTODO  
 %{python_sitelib}/swift-1.*.egg-info  
317    
318  %files account  %files account
319  %defattr(-,root,root,-)  %defattr(-,root,root,-)
320  %doc etc/account-server.conf-sample  %doc etc/account-server.conf-sample
321  %dir %{_initrddir}/%{name}-account  %{_mandir}/man5/account-server.conf.5*
322    %{_mandir}/man1/swift-account-auditor.1*
323    %{_mandir}/man1/swift-account-reaper.1*
324    %{_mandir}/man1/swift-account-replicator.1*
325    %{_mandir}/man1/swift-account-server.1*
326    %{_unitdir}/%{name}-account*.service
327  %dir %{_sysconfdir}/swift/account-server  %dir %{_sysconfdir}/swift/account-server
328    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/account-server.conf
329    %dir %attr(0755, swift, root) %{_localstatedir}/run/swift/account-server
330  %{_bindir}/swift-account-auditor  %{_bindir}/swift-account-auditor
331  %{_bindir}/swift-account-reaper  %{_bindir}/swift-account-reaper
332  %{_bindir}/swift-account-replicator  %{_bindir}/swift-account-replicator
333  %{_bindir}/swift-account-server  %{_bindir}/swift-account-server
 # TODO: check if this is the correct subpackage  
 %{_bindir}/swift-account-stats-logger  
 # ENDTODO  
 %{_mandir}/man8/swift-account-auditor.8.*  
 %{_mandir}/man8/swift-account-reaper.8.*  
 %{_mandir}/man8/swift-account-replicator.8.*  
 %{_mandir}/man8/swift-account-server.8.*  
334  %{python_sitelib}/swift/account  %{python_sitelib}/swift/account
335    
 %files auth  
 %defattr(-,root,root,-)  
 %doc etc/auth-server.conf-sample  
 %dir %{_initrddir}/%{name}-auth  
 %dir %{_sysconfdir}/swift/auth-server  
 #%{_bindir}/swift-auth-create-account  
 %{_bindir}/swift-auth-recreate-accounts  
 %{_bindir}/swift-auth-server  
 # TODO: check if this is the correct subpackage  
 %{_bindir}/swift-auth-add-user  
 %{_bindir}/swift-auth-to-swauth  
 %{_bindir}/swift-auth-update-reseller-prefixes  
 %{_bindir}/swauth-add-account  
 %{_bindir}/swauth-add-user  
 %{_bindir}/swauth-cleanup-tokens  
 %{_bindir}/swauth-delete-account  
 %{_bindir}/swauth-delete-user  
 %{_bindir}/swauth-list  
 %{_bindir}/swauth-prep  
 %{_bindir}/swauth-set-account-service  
 # ENDTODO  
 %{_mandir}/man8/swift-auth-create-account.8.*  
 %{_mandir}/man8/swift-auth-recreate-accounts.8.*  
 %{_mandir}/man8/swift-auth-server.8.*  
 %{python_sitelib}/swift/auth  
   
336  %files container  %files container
337  %defattr(-,root,root,-)  %defattr(-,root,root,-)
338  %doc etc/container-server.conf-sample  %doc etc/container-server.conf-sample
339  %dir %{_initrddir}/%{name}-container  %{_mandir}/man5/container-server.conf.5*
340    %{_mandir}/man1/swift-container-auditor.1*
341    %{_mandir}/man1/swift-container-replicator.1*
342    %{_mandir}/man1/swift-container-server.1*
343    %{_mandir}/man1/swift-container-sync.1*
344    %{_mandir}/man1/swift-container-updater.1*
345    %{_unitdir}/%{name}-container*.service
346  %dir %{_sysconfdir}/swift/container-server  %dir %{_sysconfdir}/swift/container-server
347    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/container-server.conf
348    %dir %attr(0755, swift, root) %{_localstatedir}/run/swift/container-server
349  %{_bindir}/swift-container-auditor  %{_bindir}/swift-container-auditor
350  %{_bindir}/swift-container-server  %{_bindir}/swift-container-server
351  %{_bindir}/swift-container-replicator  %{_bindir}/swift-container-replicator
352  %{_bindir}/swift-container-updater  %{_bindir}/swift-container-updater
353  %{_mandir}/man8/swift-container-auditor.8.*  %{_bindir}/swift-container-sync
 %{_mandir}/man8/swift-container-server.8.*  
 %{_mandir}/man8/swift-container-replicator.8.*  
 %{_mandir}/man8/swift-container-updater.8.*  
354  %{python_sitelib}/swift/container  %{python_sitelib}/swift/container
355    
356  %files object  %files object
357  %defattr(-,root,root,-)  %defattr(-,root,root,-)
358  %doc etc/account-server.conf-sample etc/rsyncd.conf-sample  %doc etc/object-server.conf-sample etc/rsyncd.conf-sample
359  %dir %{_initrddir}/%{name}-object  %{_mandir}/man5/object-server.conf.5*
360    %{_mandir}/man1/swift-object-auditor.1*
361    %{_mandir}/man1/swift-object-info.1*
362    %{_mandir}/man1/swift-object-replicator.1*
363    %{_mandir}/man1/swift-object-server.1*
364    %{_mandir}/man1/swift-object-updater.1*
365    %{_unitdir}/%{name}-object.service
366    %{_unitdir}/%{name}-object@.service
367    %{_unitdir}/%{name}-object-auditor.service
368    %{_unitdir}/%{name}-object-auditor@.service
369    %{_unitdir}/%{name}-object-replicator.service
370    %{_unitdir}/%{name}-object-replicator@.service
371    %{_unitdir}/%{name}-object-updater.service
372    %{_unitdir}/%{name}-object-updater@.service
373  %dir %{_sysconfdir}/swift/object-server  %dir %{_sysconfdir}/swift/object-server
374    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/object-server.conf
375    %dir %attr(0755, swift, root) %{_localstatedir}/run/swift/object-server
376  %{_bindir}/swift-object-auditor  %{_bindir}/swift-object-auditor
377  %{_bindir}/swift-object-info  %{_bindir}/swift-object-info
378  %{_bindir}/swift-object-replicator  %{_bindir}/swift-object-replicator
379  %{_bindir}/swift-object-server  %{_bindir}/swift-object-server
380  %{_bindir}/swift-object-updater  %{_bindir}/swift-object-updater
 %{_mandir}/man8/swift-object-auditor.8.*  
 %{_mandir}/man8/swift-object-info.8.*  
 %{_mandir}/man8/swift-object-replicator.8.*  
 %{_mandir}/man8/swift-object-server.8.*  
 %{_mandir}/man8/swift-object-updater.8.*  
381  %{python_sitelib}/swift/obj  %{python_sitelib}/swift/obj
382    
383  %files proxy  %files proxy
384  %defattr(-,root,root,-)  %defattr(-,root,root,-)
385  %doc etc/proxy-server.conf-sample  %doc etc/proxy-server.conf-sample
386  %dir %{_initrddir}/%{name}-proxy  %{_mandir}/man5/object-expirer.conf.5*
387    %{_mandir}/man5/proxy-server.conf.5*
388    %{_mandir}/man1/swift-object-expirer.1*
389    %{_mandir}/man1/swift-proxy-server.1*
390    %{_unitdir}/%{name}-object-expirer.service
391    %{_unitdir}/%{name}-proxy.service
392  %dir %{_sysconfdir}/swift/proxy-server  %dir %{_sysconfdir}/swift/proxy-server
393    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/proxy-server.conf
394    %config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/object-expirer.conf
395    %dir %attr(0755, swift, root) %{_localstatedir}/run/swift/proxy-server
396    %{_bindir}/swift-object-expirer
397  %{_bindir}/swift-proxy-server  %{_bindir}/swift-proxy-server
 %{_mandir}/man8/swift-proxy-server.8.*  
398  %{python_sitelib}/swift/proxy  %{python_sitelib}/swift/proxy
399    
 %if 0%{?with_doc}  
400  %files doc  %files doc
401  %defattr(-,root,root,-)  %defattr(-,root,root,-)
402  %doc LICENSE doc/build/html  %doc LICENSE doc/build/html
 %endif  
   
   
403    

Legend:
Removed from v.398224  
changed lines
  Added in v.398225

  ViewVC Help
Powered by ViewVC 1.1.30