/[smecontribs]/rpms/plague/contribs7/plague.spec
ViewVC logotype

Annotation of /rpms/plague/contribs7/plague.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 27 16:04:53 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: plague-0_4_4_1-10_el4_sme
Import on branch contribs7 of package plague-0.4.4.1-10.el4.sme.src.rpm

1 slords 1.1 BuildArch: noarch
2    
3     Summary: Distributed build system for RPMs
4     Name: plague
5     Version: 0.4.4.1
6     Release: 10%{?dist}
7     License: GPL
8     Group: Development/Tools
9     Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2
10     URL: http://www.fedoraproject.org/wiki/Projects/Plague
11     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12     Requires: createrepo >= 0.4.3
13     Requires: %{name}-common = %{version}-%{release}
14     Requires(post): /sbin/chkconfig
15     Requires(post): /sbin/service
16     Requires(preun): /sbin/chkconfig
17     Requires(preun): /sbin/service
18    
19     Patch0: plague-0.4-daemonize.patch
20     Patch1: plague-0.4-py25.patch
21     Patch2: plague-0.4.4.1-authed.patch
22     Patch3: plague-0.4.4.1-srpm-umask.patch
23     Patch4: plague-0.4.4.1-etc.patch
24     Patch5: plague-0.4.4.1-pause.patch
25     Patch6: plague-0.4.4.1-racecondition.patch
26     Patch7: plague-0.4.4.1-preperrormsg.patch
27     Patch8: plague-0.4.4.1-kill.patch
28     #Patch9: plague-0.4.4.1-mock-0.8.patch
29     Patch10: plague-0.4.4.1-update-builders.patch
30     Patch11: plague-0.4.4.1-filedownloader.patch
31     Patch12: plague-0.4.4.1-faster-downloads.patch
32     Patch13: plague-0.4.4.1-buildsys-fixes.patch
33     Patch14: plague-0.4.4.1-repolock.patch
34     Patch15: plague-0.4.4.1-repoadd.patch
35     Patch100: plague-0.4.4.1-pushscript-extras.patch
36    
37    
38     %description
39     The Plague build system is a client/server distributed build system for
40     building RPM packages. This package provides the plague server.
41    
42    
43     %package common
44     Summary: Common resources for the Plague build system
45     Group: Development/Tools
46     Requires: pyOpenSSL
47    
48     %description common
49     This package includes the common Python module that all Plague services require.
50    
51    
52     %package builder
53     Summary: Builder daemon for Plague builder slaves
54     Group: Development/Tools
55     Requires: %{name}-common = %{version}-%{release}
56     Requires: yum >= 2.2.1, mock < 0.8
57     Requires(post): /sbin/chkconfig
58     Requires(post): /sbin/service
59     Requires(preun): /sbin/chkconfig
60     Requires(preun): /sbin/service
61     Requires(pre): /usr/sbin/useradd
62    
63     %description builder
64     The Plague builder does the actual RPM package building on slave machines.
65    
66     %package client
67     Summary: Package queueing client for the Plague build system
68     Group: Development/Tools
69     Requires: %{name}-common = %{version}-%{release}
70    
71     %description client
72     Client program for enqueueing package builds and interrogating the build system.
73    
74    
75     %package utils
76     Summary: Utility programs for the Plague build system
77     Group: Development/Tools
78     Requires: %{name}-common = %{version}-%{release}
79    
80     %description utils
81     This package includes user utilities for the Plague build system, including
82     the interface to the build server.
83    
84    
85     %prep
86     %setup -q
87     %patch0 -p0 -b .umask
88     %patch1 -p1 -b .py25
89     %patch2 -p1 -b .authed
90     %patch3 -p1 -b .srpm-umask
91     %patch4 -p1 -b .etc
92     %patch5 -p1 -b .pause
93     %patch6 -p1 -b .racecondition
94     %patch7 -p1 -b .preperrormsg
95     %patch8 -p1 -b .kill
96     #patch9 -p1 -b .mock8
97     %patch10 -p1 -b .update-builders
98     %patch11 -p1 -b .filedownloader
99     %patch12 -p1 -b .faster-downloads
100     %patch13 -p1 -b .buildsys-fixes
101     %patch14 -p1 -b .repolock
102     %patch15 -p1 -b .repoadd
103     %patch100 -p1 -b .pushscript-extras
104    
105    
106     %build
107     make
108    
109    
110     %install
111     rm -rf $RPM_BUILD_ROOT
112     make DESTDIR=$RPM_BUILD_ROOT install
113     install -D -m 0644 etc/plague-builder.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-builder
114     install -D -m 0755 etc/plague-builder.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-builder
115     install -D -m 0644 etc/plague-server.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-server
116     install -D -m 0755 etc/plague-server.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-server
117     mkdir -p $RPM_BUILD_ROOT/srv/plague_builder
118    
119    
120     %clean
121     rm -rf $RPM_BUILD_ROOT
122    
123    
124     %post
125     /sbin/chkconfig --add plague-server
126     /sbin/service plague-server condrestart >> /dev/null || :
127    
128     %preun
129     if [ $1 = 0 ]; then
130     /sbin/service plague-server stop &> /dev/null
131     /sbin/chkconfig --del plague-server
132     fi
133    
134     %pre builder
135     /usr/sbin/useradd -G mock -s /sbin/nologin -M -r -d /srv/plague_builder plague-builder 2>/dev/null || :
136    
137     %post builder
138     /sbin/chkconfig --add plague-builder
139     /sbin/service plague-builder condrestart >> /dev/null || :
140    
141     %preun builder
142     if [ $1 = 0 ]; then
143     /sbin/service plague-builder stop &> /dev/null
144     /sbin/chkconfig --del plague-builder
145     fi
146    
147     %files
148     %defattr(-, root, root)
149     %{_bindir}/%{name}-server
150     %dir %{_datadir}/%{name}/server
151     %{_datadir}/%{name}/server/*.py*
152     %dir %{_sysconfdir}/%{name}/server
153     %dir %{_sysconfdir}/%{name}/server/certs
154     %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server
155     %{_initrddir}/%{name}-server
156    
157     %files common
158     %defattr(-, root, root)
159     %doc README ChangeLog
160     %dir %{_sysconfdir}/%{name}
161     %dir %{_datadir}/%{name}
162     %dir /usr/lib/python?.?/site-packages/%{name}
163     /usr/lib/python?.?/site-packages/%{name}/*.py*
164    
165     %files builder
166     %defattr(-, root, root)
167     %{_bindir}/%{name}-builder
168     %dir %{_datadir}/%{name}/builder
169     %{_datadir}/%{name}/builder/*.py*
170     %dir %{_sysconfdir}/%{name}/builder
171     %dir %{_sysconfdir}/%{name}/builder/certs
172     %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-builder
173     %{_initrddir}/%{name}-builder
174     %attr(0755, plague-builder, plague-builder) /srv/plague_builder
175    
176     %files client
177     %defattr(-, root, root)
178     %{_bindir}/%{name}-client
179    
180     %files utils
181     %defattr(-, root, root)
182     %{_bindir}/%{name}-user-manager.py*
183     %{_bindir}/%{name}-certhelper.py*
184    
185    
186     %changelog
187     * Fri Jan 18 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-10.el4
188     - Patch add_to_repo stage.
189    
190     * Wed Jan 9 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-9.el4
191     - Updated etc/ patch.
192     - Disable mock 0.8 patch since EPEL4 includes mock 0.7.
193    
194     * Sat Jan 5 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-8.el5
195     - Add patches: repolock, filedownloader, faster downloads
196     - Merged post-0.4.4.1 patches from buildsys.fedoraproject.org server
197     - Merge the jobs db cleanup (in this form it is specific to Extras/EPEL
198     buildsys and disables the "finish" command)
199    
200     * Wed Dec 26 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-7.el5
201     - Fix update_builders command for non-admin users.
202    
203     * Wed Nov 14 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-6.el5
204     - Add patches for bug-fixes and mock 0.8 support.
205    
206     * Tue Sep 18 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-5
207     - Add dirs /etc/plague and /usr/share/plague to plague-common
208     since "plague-builder" and "plague" use them (#233904).
209    
210     * Fri Dec 15 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.4.4.1-4
211     - Small fix for a change in python 2.5's xmlrpc library. The patch has been
212     upstreamed.
213    
214     * Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.4.4.1-3
215     - Rebuild for new Python
216    
217     * Thu Sep 14 2006 Dennis Gilmore <dennis@ausil.us> 0.4.4.0-2
218     - add patch for bad umask setting
219    
220     * Mon Mar 13 2006 Dan Williams <dcbw@redhat.com> 0.4.4.1-1
221     - Update to 0.4.4.1
222     - Fix createrepo dep to >= 0.4.3 (#rh170531)
223    
224     * Sun Mar 12 2006 Dan Williams <dcbw@redhat.com> 0.4.4-1
225     - Update to 0.4.4 release
226     - Don't use pyOpenSSL's sendall() call, but simulate it to achieve
227     timeouts, better error handling, and more efficient CPU usage
228     - Fix up initscripts and lifecycle management
229     - Implement a TERM handler in server & builder for clean shutdown
230     - Ensure jobs don't hang around on builders if they get left there for
231     some reason (ie, server didn't unlock repo for the job)
232     - Make Additional Package Arches really work (kmod support)
233     - Own /usr/lib/python?.?/site-packages/plague (#rh172794#)
234     - Require createrepo >= 4.3 (#rh170531#)
235    
236     * Tue Jan 24 2006 Dan Williams <dcbw@redhat.com> 0.4.3-6
237     - Increase build server builder thread sleep time to work around SSL issues
238     - Spawn mock in a new process group, and when killing jobs kill the entire
239     process group. Hopefully fix orphaned rpmbuild processes on job kill
240    
241     * Mon Jan 23 2006 Dan Williams <dcbw@redhat.com> 0.4.3-5
242     - Restore builder connection timeout
243    
244     * Mon Jan 23 2006 Dan Williams <dcbw@redhat.com> 0.4.3-4
245     - Revert SSL fixes from last build
246    
247     * Sun Jan 22 2006 Dan Williams <dcbw@redhat.com> 0.4.3-3
248     - Don't traceback when killing jobs on builders
249     - Work around SSL hanging issues
250    
251     * Tue Nov 29 2005 Dan Williams <dcbw@redhat.com> 0.4.3-2
252     - Move README and ChangeLog to -common package
253     - Traceback/debug functionality added in server, depends on
254     threadframe module from elsewhere. Disabled by default.
255    
256     * Thu Nov 24 2005 Dan Williams <dcbw@redhat.com> 0.4.3-1
257     - Add socket timeouts for fileserver and xmlrpc bits
258    
259     * Fri Nov 18 2005 Dan Williams <dcbw@redhat.com> 0.4.2-7
260     - Suspend builders on hard errors such as running out of disk space
261     - Retry downloads from server/builder 5 times, not 3
262     - Log retried downloads on the server
263     - Add socket timeouts to downloads to work around hanging issues
264     when downloading from the builder (the downloading/done issue)
265    
266     * Tue Nov 15 2005 Dan Williams <dcbw@redhat.com> 0.4.2-5
267     - Log kill requests on the server
268    
269     * Mon Nov 14 2005 Dan Williams <dcbw@redhat.com> 0.4.2-4
270     - In the builder, close files we open before exec-ing the
271     child process. Fixes massive file descriptor leaks.
272    
273     * Sun Nov 13 2005 Dan Williams <dcbw@redhat.com> 0.4.2-3
274     - Hopefully fix builds not moving past downloading/done
275     - Immediately kill jobs in the 'waiting' state when requested
276     - Utilize pthread_sigmask python module, if present, on Python
277     2.3 and earlier to work around signal blocking issues in
278     Python
279    
280     * Tue Nov 1 2005 Dan Williams <dcbw@redhat.com> 0.4.2-2
281     - Make builders retry downloads from the server up to 3 times
282    
283     * Tue Nov 1 2005 Dan Williams <dcbw@redhat.com> 0.4.2-1
284     - Fix job download from the builders
285     - Fix RPM copy to the repository on the server
286    
287     * Mon Oct 31 2005 Dan Williams <dcbw@redhat.com> 0.4.1-1
288     - Fail jobs on restart if we can't access the original SRPM
289     - For the server, honor config file location passed in on
290     the command line (Jeff Sheltren)
291     - Catch another mock failure case (Alexandr Kanevskiy)
292    
293     * Tue Oct 25 2005 Dan Williams <dcbw@redhat.com> 0.4-6
294     - Retry downloads from builders up to 3 times before failing
295     the job
296    
297     * Tue Oct 25 2005 Dan Williams <dcbw@redhat.com> 0.4-5
298     - Add a MySQL database backend (Jeff Sheltren)
299     - Trap repo copy errors rather than doing a traceback
300     - On the builder, deal correctly with jobs in 'downloaded' state
301     that have been killed
302    
303     * Wed Oct 19 2005 Dan Williams <dcbw@redhat.com> 0.4-4
304     - Really fix client's "allow_uploads" problem
305    
306     * Wed Oct 19 2005 Dan Williams <dcbw@redhat.com> 0.4-3
307     - Fix errors in client's 'job detail' function
308     - Ignore missing "allow_uploads" option in client config file
309     - Fix server when the Additional Package Arches section is missing
310     from a target config file
311     - Make server more robust against random builder SSL issues
312    
313     * Mon Oct 17 2005 Dan Williams <dcbw@redhat.com> 0.4-2
314     - Increase field size of 'username' and 'status' fields when
315     we initially create them on the server. Server ops will
316     need to increase manually or blow away their jobdb.
317    
318     * Sun Oct 16 2005 Dan Williams <dcbw@redhat.com> 0.4-1
319     - Version 0.4
320     o Server:
321     - Per-target config files, new format
322     - Support PostgreSQL as a database backend
323    
324     o Builder:
325     - Multiple concurrent builds with one builder process
326     - Better tracking of mock child processes
327     - Autodetect supported architectures and number of
328     concurrent build processes
329     - Per-target config files, new format
330    
331     o Client:
332     - Ability to upload packages to server
333    
334     o Utilities:
335     - New distro-rebuild.py utility
336     - Fixes for certhelper.py
337    
338     * Tue Aug 23 2005 Dan Williams <dcbw@redhat.com> 0.3.4-1
339     - Version 0.3.4
340     o Make repo scripts actually work
341     o Don't traceback when cleaning up job files if we have none
342    
343     * Mon Aug 19 2005 Dan Williams <dcbw@redhat.com> 0.3.3-1
344     - Version 0.3.3
345     o Add repo script support
346     o Fix double-slashes in log URL (Ignacio Vazquez-Abrams)
347     o Clear out old job info when requeueing jobs
348    
349     * Mon Aug 15 2005 Dan Williams <dcbw@redhat.com> 0.3.2-3
350     - Clear out old job info when requeueing jobs
351    
352     * Mon Aug 15 2005 Dan Williams <dcbw@redhat.com> 0.3.2-2
353     - Append %{?dist} to Releases to get correct precedence on FC3, FC4, and Rawhide
354    
355     * Mon Aug 15 2005 Dan Williams <dcbw@redhat.com> 0.3.2-1
356     - Version 0.3.2
357     o Fix errors in enqueue and enqueue_srpm return values
358     o Implement client/server API versioning
359    
360     * Thu Aug 11 2005 Dan Williams <dcbw@redhat.com> 0.3.1-1
361     - Version 0.3.1
362     o Clean up web interface error handling, catches more errors
363     o Clean up builder code, hopefully deal with block mock processes waiting
364     to write to stderr
365     o Use HTTP GET rather than POST for web forms, more back/forward/reload
366     friendly (Ville Skyttä)
367    
368     * Mon Aug 8 2005 Dan Williams <dcbw@redhat.com> 0.3-1
369     - Version 0.3
370    
371     * Sat Jul 16 2005 Dan Williams <dcbw@redhat.com>
372     - Bump version to 0.2
373     - Grab python files from /usr/lib, not %{_libdir} until the
374     multiarch issues get worked out
375    
376     * Sun Jun 26 2005 Dan Williams <dcbw@redhat.com>
377     - first version/packaging

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed