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

Diff of /rpms/plague/contribs7/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:04:53 2008 UTC Revision 1.3 by slords, Mon Sep 8 14:04:49 2008 UTC
# Line 2  BuildArch: noarch Line 2  BuildArch: noarch
2    
3  Summary: Distributed build system for RPMs  Summary: Distributed build system for RPMs
4  Name: plague  Name: plague
5  Version: 0.4.4.1  Version: 0.4.5.4
6  Release: 10%{?dist}  Release: 1%{?dist}.1
7  License: GPL  License: GPLv2+
8  Group: Development/Tools  Group: Development/Tools
9  Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2  #Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2
10    Source: %{name}-%{version}.tar.bz2
11    Patch0: plague-0.4.5.4-pushscript-extras.patch
12  URL: http://www.fedoraproject.org/wiki/Projects/Plague  URL: http://www.fedoraproject.org/wiki/Projects/Plague
13  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14  Requires: createrepo >= 0.4.3  BuildRequires: python
15    Requires: createrepo >= 0.4.7
16    # get the version of the sqlite api thats available to us
17    %if 0%{?rhel}
18    Requires: python-sqlite
19    %else
20    Requires: python-sqlite2
21    %endif
22    
23  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
24  Requires(post): /sbin/chkconfig  Requires(post): /sbin/chkconfig
25  Requires(post): /sbin/service  Requires(post): /sbin/service
26  Requires(preun): /sbin/chkconfig  Requires(preun): /sbin/chkconfig
27  Requires(preun): /sbin/service  Requires(preun): /sbin/service
28    
 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  
   
29    
30  %description  %description
31  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 38  Group: Development/Tools
38  Requires: pyOpenSSL  Requires: pyOpenSSL
39    
40  %description common  %description common
41  This package includes the common Python module that all Plague services require.  This package includes the common Python module that all Plague services
42    require.
43    
44    
45  %package builder  %package builder
46  Summary: Builder daemon for Plague builder slaves  Summary: Builder daemon for Plague builder slaves
47  Group: Development/Tools  Group: Development/Tools
48  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
49  Requires: yum >= 2.2.1, mock < 0.8  Requires: yum >= 2.2.1
50    Requires: mock >= 0.8
51  Requires(post): /sbin/chkconfig  Requires(post): /sbin/chkconfig
52  Requires(post): /sbin/service  Requires(post): /sbin/service
53  Requires(preun): /sbin/chkconfig  Requires(preun): /sbin/chkconfig
# Line 69  Group: Development/Tools Line 63  Group: Development/Tools
63  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
64    
65  %description client  %description client
66  Client program for enqueueing package builds and interrogating the build system.  Client program for enqueueing package builds and interrogating the build
67    system.
68    
69    
70  %package utils  %package utils
71  Summary: Utility programs for the Plague build system  Summary: Utility programs for the Plague build system
72  Group: Development/Tools  Group: Development/Tools
73  Requires: %{name}-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
74    Requires: %{name} = %{version}-%{release}
75    
76  %description utils  %description utils
77  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 80  the interface to the build server.
80    
81  %prep  %prep
82  %setup -q  %setup -q
83  %patch0 -p0 -b .umask  %patch0 -p1 -b .extras
84  %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  
85    
86    
87  %build  %build
# Line 109  make Line 90  make
90    
91  %install  %install
92  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
93  make DESTDIR=$RPM_BUILD_ROOT install  make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
94  install -D -m 0644 etc/plague-builder.config $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}-builder  chmod +x $RPM_BUILD_ROOT%{_bindir}/*
95  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
96  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
97  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
98  mkdir -p $RPM_BUILD_ROOT/srv/plague_builder  install -p -D -m 0755 etc/plague-server.init $RPM_BUILD_ROOT%{_initrddir}/%{name}-server
99    mkdir -p $RPM_BUILD_ROOT/var/lib/plague/builder
100    
101    
102  %clean  %clean
# Line 132  if [ $1 = 0 ]; then Line 114  if [ $1 = 0 ]; then
114  fi  fi
115    
116  %pre builder  %pre builder
117  /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 || :
118    
119  %post builder  %post builder
120  /sbin/chkconfig --add plague-builder  /sbin/chkconfig --add plague-builder
# Line 153  fi Line 135  fi
135  %dir %{_sysconfdir}/%{name}/server/certs  %dir %{_sysconfdir}/%{name}/server/certs
136  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server
137  %{_initrddir}/%{name}-server  %{_initrddir}/%{name}-server
138    %doc www
139    
140  %files common  %files common
141  %defattr(-, root, root)  %defattr(-, root, root)
# Line 171  fi Line 154  fi
154  %dir %{_sysconfdir}/%{name}/builder/certs  %dir %{_sysconfdir}/%{name}/builder/certs
155  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-builder  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-builder
156  %{_initrddir}/%{name}-builder  %{_initrddir}/%{name}-builder
157  %attr(0755, plague-builder, plague-builder) /srv/plague_builder  %dir /var/lib/plague
158    %attr(0755, plague-builder, plague-builder) /var/lib/plague/builder
159    
160  %files client  %files client
161  %defattr(-, root, root)  %defattr(-, root, root)
# Line 179  fi Line 163  fi
163    
164  %files utils  %files utils
165  %defattr(-, root, root)  %defattr(-, root, root)
166  %{_bindir}/%{name}-user-manager.py*  %{_bindir}/%{name}-user-manager
167  %{_bindir}/%{name}-certhelper.py*  %{_bindir}/%{name}-certhelper
168    
169    
170  %changelog  %changelog
171  * Fri Jan 18 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-10.el4  * Sun Sep  7 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.4-1.extras
172  - Patch add_to_repo stage.  - update to 0.4.5.4 and update pushscript-extras patch
173    
174  * Wed Jan  9 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-9.el4  * Sun Sep  7 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.3-2.extras
175  - Updated etc/ patch.  - add the optional pushscript-extras patch
176  - Disable mock 0.8 patch since EPEL4 includes mock 0.7.  - fix mod_user in plague-user-manager for sqlite2/3
177    
178  * Sat Jan  5 2008 Michael Schwendt <mschwendt@users.sf.net> - 0.4.4.1-8.el5  * Fri Sep  5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5.3-1
179  - Add patches: repolock, filedownloader, faster downloads  - update to 0.4.5.3 for sqlite2 compatibility fixes for Fedora
180  - Merged post-0.4.4.1 patches from buildsys.fedoraproject.org server  - merge fedora pkg spec changes
181  - Merge the jobs db cleanup (in this form it is specific to Extras/EPEL  - include the www tree as server pkg docs
182    buildsys and disables the "finish" command)  
183    * Thu Sep 04 2008 Dennis Gilmore <dennis@ausil.us> - 0.4.5.2-1
184    - fix bug in find option to plague-user-manager
185    
186    * Wed Sep 03 2008 Dennis Gilmore <dennis@ausil.us> - 0.4.5.1-1
187    - update to 0.4.5.1  applying Michael schwendt's logging and mock patches
188    - using pysqlite2 on fedora and python-sqlite on RHEL
189    - requires mock > 0.8
190    - requires createrepo >= 0.4.7
191    
192    * Wed Sep  3 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.4.5-2
193    - add the patches from 0.4.5-0.4 (sqlite3, mock08, logtail)
194    - merge more spec changes
195    
196  * 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
197  - Fix update_builders command for non-admin users.  - update to 0.4.5  lots of fixes
198    
199  * 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
200  - Add patches for bug-fixes and mock 0.8 support.  - licensing tag fix
201    
202  * 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
203  - Add dirs /etc/plague and /usr/share/plague to plague-common  - Add dirs /etc/plague and /usr/share/plague to plague-common
204    since "plague-builder" and "plague" use them (#233904).    since "plague-builder" and "plague" use them (#233904).
205    
# Line 370  fi Line 366  fi
366    
367  * Sat Jul 16 2005 Dan Williams <dcbw@redhat.com>  * Sat Jul 16 2005 Dan Williams <dcbw@redhat.com>
368  - Bump version to 0.2  - Bump version to 0.2
369  - Grab python files from /usr/lib, not %{_libdir} until the  - Grab python files from /usr/lib, not %%{_libdir} until the
370      multiarch issues get worked out      multiarch issues get worked out
371    
372  * 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