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

Diff of /rpms/plague/contribs8/plague.spec

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

Revision 1.1 by slords, Thu Mar 27 16:07:38 2008 UTC Revision 1.6 by slords, Tue Sep 9 20:10:09 2008 UTC
# Line 1  Line 1 
1    # $Id: plague.spec,v 1.3 2008/04/02 15:22:03 slords Exp $
2    # Authority: slords
3    # Name: Shad L. Lords
4    
5  BuildArch: noarch  BuildArch: noarch
6    
7  Summary: Distributed build system for RPMs  Summary: Distributed build system for RPMs
8  Name: plague  Name: plague
9  Version: 0.4.4.1  Version: 0.4.5.5
10  Release: 10%{?dist}  Release: 1%{?dist}.1
11  License: GPL  License: GPLv2+
12  Group: Development/Tools  Group: Development/Tools
13  Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2  #Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2
14    Source: %{name}-%{version}.tar.bz2
15    Patch0: plague-0.4.5.4-pushscript-extras.patch
16  URL: http://www.fedoraproject.org/wiki/Projects/Plague  URL: http://www.fedoraproject.org/wiki/Projects/Plague
17  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18  Requires: createrepo >= 0.4.3  BuildRequires: python
19    Requires: createrepo >= 0.4.7
20    # get the version of the sqlite api thats available to us
21    %if 0%{?rhel}
22    Requires: python-sqlite
23    %else
24    Requires: python-sqlite2
25    %endif
26    
27  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
28  Requires(post): /sbin/chkconfig  Requires(post): /sbin/chkconfig
29  Requires(post): /sbin/service  Requires(post): /sbin/service
30  Requires(preun): /sbin/chkconfig  Requires(preun): /sbin/chkconfig
31  Requires(preun): /sbin/service  Requires(preun): /sbin/service
32    
 Patch0: plague-0.4-daemonize.patch  
 Patch1: plague-0.4-py25.patch  
 Patch2: plague-0.4.4.1-authed.patch  
 Patch3: plague-0.4.4.1-srpm-umask.patch  
 Patch4: plague-0.4.4.1-etc.patch  
 Patch5: plague-0.4.4.1-pause.patch  
 Patch6: plague-0.4.4.1-racecondition.patch  
 Patch7: plague-0.4.4.1-preperrormsg.patch  
 Patch8: plague-0.4.4.1-kill.patch  
 Patch9: plague-0.4.4.1-mock-0.8.patch  
 Patch10: plague-0.4.4.1-update-builders.patch  
 Patch11: plague-0.4.4.1-filedownloader.patch  
 Patch12: plague-0.4.4.1-faster-downloads.patch  
 Patch13: plague-0.4.4.1-buildsys-fixes.patch  
 Patch14: plague-0.4.4.1-repolock.patch  
 Patch15: plague-0.4.4.1-repoadd.patch  
 Patch100: plague-0.4.4.1-pushscript-extras.patch  
   
33    
34  %description  %description
35  The Plague build system is a client/server distributed build system for  The Plague build system is a client/server distributed build system for
# Line 46  Group: Development/Tools Line 42  Group: Development/Tools
42  Requires: pyOpenSSL  Requires: pyOpenSSL
43    
44  %description common  %description common
45  This package includes the common Python module that all Plague services require.  This package includes the common Python module that all Plague services
46    require.
47    
48    
49  %package builder  %package builder
50  Summary: Builder daemon for Plague builder slaves  Summary: Builder daemon for Plague builder slaves
51  Group: Development/Tools  Group: Development/Tools
52  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
53  Requires: yum >= 2.2.1, mock >= 0.8  Requires: yum >= 2.2.1
54    Requires: mock >= 0.8
55  Requires(post): /sbin/chkconfig  Requires(post): /sbin/chkconfig
56  Requires(post): /sbin/service  Requires(post): /sbin/service
57  Requires(preun): /sbin/chkconfig  Requires(preun): /sbin/chkconfig
# Line 69  Group: Development/Tools Line 67  Group: Development/Tools
67  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
68    
69  %description client  %description client
70  Client program for enqueueing package builds and interrogating the build system.  Client program for enqueueing package builds and interrogating the build
71    system.
72    
73    
74  %package utils  %package utils
75  Summary: Utility programs for the Plague build system  Summary: Utility programs for the Plague build system
76  Group: Development/Tools  Group: Development/Tools
77  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
78    Requires: %{name} = %{version}-%{release}
79    
80  %description utils  %description utils
81  This package includes user utilities for the Plague build system, including  This package includes user utilities for the Plague build system, including
# Line 84  the interface to the build server. Line 84  the interface to the build server.
84    
85  %prep  %prep
86  %setup -q  %setup -q
87  %patch0 -p0 -b .umask  %patch0 -p1 -b .extras
88  %patch1 -p1 -b .py25  find www -name \*.extras | xargs rm
 %patch2 -p1 -b .authed  
 %patch3 -p1 -b .srpm-umask  
 %patch4 -p1 -b .etc  
 %patch5 -p1 -b .pause  
 %patch6 -p1 -b .racecondition  
 %patch7 -p1 -b .preperrormsg  
 %patch8 -p1 -b .kill  
 %patch9 -p1 -b .mock8  
 %patch10 -p1 -b .update-builders  
 %patch11 -p1 -b .filedownloader  
 %patch12 -p1 -b .faster-downloads  
 %patch13 -p1 -b .buildsys-fixes  
 %patch14 -p1 -b .repolock  
 %patch15 -p1 -b .repoadd  
 %patch100 -p1 -b .pushscript-extras  
89    
90    
91  %build  %build
# Line 109  make Line 94  make
94    
95  %install  %install
96  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
97  make DESTDIR=$RPM_BUILD_ROOT install  make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
98  install -D -m 0644 etc/plague-builder.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-builder  chmod +x $RPM_BUILD_ROOT%{_bindir}/*
99  install -D -m 0755 etc/plague-builder.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-builder  install -p -D -m 0644 etc/plague-builder.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-builder
100  install -D -m 0644 etc/plague-server.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-server  install -p -D -m 0755 etc/plague-builder.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-builder
101  install -D -m 0755 etc/plague-server.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-server  install -p -D -m 0644 etc/plague-server.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-server
102  mkdir -p $RPM_BUILD_ROOT/srv/plague_builder  install -p -D -m 0755 etc/plague-server.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-server
103    mkdir -p $RPM_BUILD_ROOT/var/lib/plague/builder
104    
105    
106  %clean  %clean
# Line 132  if [ $1 = 0 ]; then Line 118  if [ $1 = 0 ]; then
118  fi  fi
119    
120  %pre builder  %pre builder
121  /usr/sbin/useradd -G mock -s /sbin/nologin -M -r -d /srv/plague_builder plague-builder 2>/dev/null || :  /usr/sbin/useradd -G mock -s /sbin/nologin -M -r -d /var/lib/plague/builder plague-builder 2>/dev/null || :
122    
123  %post builder  %post builder
124  /sbin/chkconfig --add plague-builder  /sbin/chkconfig --add plague-builder
# Line 153  fi Line 139  fi
139  %dir %{_sysconfdir}/%{name}/server/certs  %dir %{_sysconfdir}/%{name}/server/certs
140  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server
141  %{_initrddir}/%{name}-server  %{_initrddir}/%{name}-server
142    %doc www
143    
144  %files common  %files common
145  %defattr(-, root, root)  %defattr(-, root, root)
# Line 171  fi Line 158  fi
158  %dir %{_sysconfdir}/%{name}/builder/certs  %dir %{_sysconfdir}/%{name}/builder/certs
159  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-builder  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-builder
160  %{_initrddir}/%{name}-builder  %{_initrddir}/%{name}-builder
161  %attr(0755, plague-builder, plague-builder) /srv/plague_builder  %dir /var/lib/plague
162    %attr(0755, plague-builder, plague-builder) /var/lib/plague/builder
163    
164  %files client  %files client
165  %defattr(-, root, root)  %defattr(-, root, root)
# Line 179  fi Line 167  fi
167    
168  %files utils  %files utils
169  %defattr(-, root, root)  %defattr(-, root, root)
170  %{_bindir}/%{name}-user-manager.py*  %{_bindir}/%{name}-user-manager
171  %{_bindir}/%{name}-certhelper.py*  %{_bindir}/%{name}-certhelper
172    
173    
174  %changelog  %changelog
175  * Fri Jan 18 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-10.el5  * Tue Sep  9 2008 Shad L. Lords <slords@mail.com> - 0.4.5.5-1.1
176  - Patch add_to_repo stage.  - add the optional pushscript-extras patch
177    
178    * Mon Sep  8 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.5-1
179    - update to 0.4.5.5
180    
181    * Sun Sep 07 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.4-1
182    - update to 0.4.5.4 to make it work with MySQL 5
183    
184    * Sun Sep  7 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.3-2
185    - fix mod_user in plague-user-manager for sqlite2/3
186    
187    * Fri Sep  5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.3-1
188    - update to 0.4.5.3 for sqlite2 compatibility fixes for Fedora
189    - merge fedora pkg spec changes
190    - include the www tree as server pkg docs
191    
192    * Thu Sep 04 2008 Dennis Gilmore <dennis@ausil.us> - 0.4.5.2-1
193    - fix bug in find option to plague-user-manager
194    
195  * Wed Jan  9 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-9.el5  * Wed Sep 03 2008 Dennis Gilmore <dennis@ausil.us> - 0.4.5.1-1
196  - Updated etc/ patch.  - update to 0.4.5.1  applying Michael schwendt's logging and mock patches
197    - using pysqlite2 on fedora and python-sqlite on RHEL
198    - requires mock > 0.8
199    - requires createrepo >= 0.4.7
200    
201  * Sat Jan  5 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-8.el5  * Wed Sep  3 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5-2
202  - Add patches: repolock, filedownloader, faster downloads  - add the patches from 0.4.5-0.4 (sqlite3, mock08, logtail)
203  - Merged post-0.4.4.1 patches from buildsys.fedoraproject.org server  - merge more spec changes
 - Merge the jobs db cleanup (in this form it is specific to Extras/EPEL  
   buildsys and disables the "finish" command)  
204    
205  * Wed Dec 26 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-7.el5  * Tue Sep 02 2008 Dennis Gilmore <dennis@ausil.us> - 0.4.5-1
206  - Fix update_builders command for non-admin users.  - update to 0.4.5  lots of fixes
207    
208  * Wed Nov 14 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-6.el5  * Thu May 22 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.4.4.1-6
209  - Add patches for bug-fixes and mock 0.8 support.  - licensing tag fix
210    
211  * Tue Sep 18 2007 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-5  * Tue Sep 18 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.4.1-5
212  - Add dirs /etc/plague and /usr/share/plague to plague-common  - Add dirs /etc/plague and /usr/share/plague to plague-common
213    since "plague-builder" and "plague" use them (#233904).    since "plague-builder" and "plague" use them (#233904).
214    
# Line 369  fi Line 375  fi
375    
376  * Sat Jul 16 2005 Dan Williams <dcbw@redhat.com>  * Sat Jul 16 2005 Dan Williams <dcbw@redhat.com>
377  - Bump version to 0.2  - Bump version to 0.2
378  - Grab python files from /usr/lib, not %{_libdir} until the  - Grab python files from /usr/lib, not %%{_libdir} until the
379      multiarch issues get worked out      multiarch issues get worked out
380    
381  * Sun Jun 26 2005 Dan Williams <dcbw@redhat.com>  * Sun Jun 26 2005 Dan Williams <dcbw@redhat.com>


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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