Skip to content
This repository
Newer
Older
100644 756 lines (679 sloc) 24.425 kb
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
1 #
2 # spec file for package obs-server
3 #
503d06a3 » adrianschroeter
2014-03-05 [dist] pin python-yum and createrepo release exactly
4 # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
5 #
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
14
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
16 #
17
c289c6ef » adrianschroeter
2013-08-07 [dist] install and package new sphinx config files
18
01777335 » xsuchy
2013-08-02 [dist] test if user and group exist before trying to add
19 %if 0%{?fedora}
20 %global sbin /usr/sbin
21 %else
22 %global sbin /sbin
23 %endif
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
24
a28efcae » xsuchy
2013-08-02 [dist] Fedora use different user:group for Apache
25 %if 0%{?fedora} || 0%{?rhel}
26 %global apache_user apache
27 %global apache_group apache
28 %else
29 %global apache_user wwwrun
30 %global apache_group www
31 %endif
32
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
33 Name: obs-server
c537c0d0 » adrianschroeter
2011-12-05 [dist] fix nameing of OBS
34 Summary: The Open Build Service -- Server Component
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
35 License: GPL-2.0 and GPL-3.0
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
36 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
37 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
38 %endif
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
39 Version: 2.5.50_113_g117c617
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
40 Release: 0
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
41 Url: http://en.opensuse.org/Build_Service
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
42 BuildRoot: %{_tmppath}/%{name}-%{version}-build
9bfa8a24 » xsuchy
2013-08-02 [dist] Explain how sources are retrieved
43 # Sources are retrieved using script which is attached as Source2
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
44 Source0: open-build-service-%version.tar.xz
45 Source1: find-requires.sh
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
46 BuildRequires: python-devel
47 # make sure this is in sync with the RAILS_GEM_VERSION specified in the
48 # config/environment.rb of the various applications.
49 # atm the obs rails version patch above unifies that setting among the applications
50 # also see requires in the obs-server-api sub package
c04f309a » adrianschroeter
2014-07-04 [dist] require new build script for package tracking
51 BuildRequires: build >= 20140702
5c8fe19b » coolo
2013-10-23 [dist] update spec file to OBS state
52 BuildRequires: inst-source-utils
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
53 BuildRequires: perl-BSSolv
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
54 BuildRequires: perl-Compress-Zlib
55 BuildRequires: perl-File-Sync >= 0.10
5c8fe19b » coolo
2013-10-23 [dist] update spec file to OBS state
56 BuildRequires: perl-JSON-XS
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
57 BuildRequires: perl-Net-SSLeay
58 BuildRequires: perl-Socket-MsgHdr
59 BuildRequires: perl-TimeDate
60 BuildRequires: perl-XML-Parser
b58f6d54 » adrianschroeter
2014-03-06 [dist] fix missing new build requires for publisher
61 BuildRequires: perl-XML-Simple
fad90512 » coolo
2013-11-11 [dist] update spec file template to buildrequire procps
62 BuildRequires: procps
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
63 BuildRequires: xorg-x11-server
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
64 PreReq: /usr/sbin/useradd /usr/sbin/groupadd
055836de » adrianschroeter
2014-04-02 [dist] try to make entire OBS server noarch
65 BuildArch: noarch
971430f2 » adrianschroeter
2014-01-29 [dist] require current build script
66 Requires: build >= 20140123
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
67 Requires: obs-productconverter >= %version
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
68 Requires: obs-worker
712f74f5 » adrianschroeter
2014-04-25 [dist] require new perl-BSSolv-0.19.0
69 Requires: perl-BSSolv >= 0.19.0
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
70 # Required by source server
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
71 Requires: diffutils
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
72 PreReq: git-core
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
73 Requires: patch
503d06a3 » adrianschroeter
2014-03-05 [dist] pin python-yum and createrepo release exactly
74 # require the createrepo and python-yum version which got validated during testsuite run
75 Requires: %(/bin/bash -c 'rpm -q --qf "%%{name} = %%{version}-%%{release}" createrepo')
76 Requires: %(/bin/bash -c 'rpm -q --qf "%%{name} = %%{version}-%%{release}" python-yum')
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
77
bc3e5f11 » adrianschroeter
2014-02-18 [dist] switch to xz tar balls
78 %if 0%{?suse_version} < 1210
79 BuildRequires: xz
80 %endif
81
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
82 %if 0%{?suse_version:1}
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
83 BuildRequires: fdupes
84 PreReq: %fillup_prereq %insserv_prereq permissions pwdutils
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
85 %endif
86
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
87 %if 0%{?suse_version:1}
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
88 Recommends: yum yum-metadata-parser repoview dpkg
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
89 Recommends: deb >= 1.5
b7d4df87 » adrianschroeter
2010-02-03 1.7.0 RC1 spec file
90 Recommends: lvm2
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
91 Recommends: openslp-server
5da7a26c » adrianschroeter
2010-01-25 * run setup scripts only when configured in sysconfig as well
92 Recommends: obs-signd
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
93 Recommends: inst-source-utils
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
94 %else
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
95 Requires: dpkg
96 Requires: yum
97 Requires: yum-metadata-parser
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
98 %endif
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
99 Requires: perl-Compress-Zlib
100 Requires: perl-File-Sync >= 0.10
5c8fe19b » coolo
2013-10-23 [dist] update spec file to OBS state
101 Requires: perl-JSON-XS
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
102 Requires: perl-Net-SSLeay
103 Requires: perl-Socket-MsgHdr
104 Requires: perl-XML-Parser
d817f8a6 » mlschroe
2014-03-04 require perl-XML-Simple for the publisher
105 Requires: perl-XML-Simple
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
106
107 %description
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
108 The Open Build Service (OBS) backend is used to store all sources and binaries. It also
109 calculates the need for new build jobs and distributes it.
110
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
111 %package -n obs-worker
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
112 Requires: cpio
113 Requires: curl
114 Requires: perl-Compress-Zlib
115 Requires: perl-TimeDate
116 Requires: perl-XML-Parser
117 Requires: screen
a4ea1979 » adrianschroeter
2014-02-17 [dist] require fuser package psmisc (bnc#863459)
118 # for build script
119 Requires: psmisc
5611c85c » adrianschroeter
2010-01-26 * fix dependencies for deb building
120 # For runlevel script:
121 Requires: curl
b7d4df87 » adrianschroeter
2010-02-03 1.7.0 RC1 spec file
122 Recommends: openslp lvm2
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
123 Requires: bash
124 Requires: binutils
125 Requires: bsdtar
126 Summary: The Open Build Service -- Build Host Component
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
127 Group: Productivity/Networking/Web/Utilities
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
128 %if 0%{?suse_version}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
129 %if 0%{?suse_version} < 1210
130 %endif
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
131 PreReq: %fillup_prereq %insserv_prereq
132 %endif
133 %if 0%{?suse_version} <= 1030
134 Requires: lzma
135 %endif
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
136 Requires: util-linux >= 2.16
055836de » adrianschroeter
2014-04-02 [dist] try to make entire OBS server noarch
137 # the following may not even exist depending on the architecture
138 Recommends: linux32
139 Recommends: powerpc32
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
140
141 %description -n obs-worker
142 This is the obs build host, to be installed on each machine building
143 packages in this obs installation. Install it alongside obs-server to
144 run a local playground test installation.
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
145
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
146 %package -n obs-api
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
147 Summary: The Open Build Service -- The API and WEBUI
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
148 Group: Productivity/Networking/Web/Utilities
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
149 %if 0%{?suse_version}
150 %if 0%{?suse_version} < 1210
151 %endif
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
152 Obsoletes: obs-common <= 2.2.90
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
153 PreReq: %fillup_prereq %insserv_prereq
154 %endif
155
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
156 #For apache
157 Recommends: apache2 apache2-mod_xforward rubygem-passenger-apache2
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
158
0dc8b284 » adrianschroeter
2013-10-30 [dist] memcache is not required to keep session data
159 # memcache is required for session data
160 Requires: memcached
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
161 Conflicts: memcached < 1.4
162
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
163 # For local runs
164 BuildRequires: rubygem-sqlite3
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
165
166 Requires: mysql
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
167
a4c4099b » Ancor Gonzalez Sosa
2013-08-07 updating spec (ruby 2.0 and sphinx)
168 Requires: ruby >= 2.0
169 # needed for fulltext searching
3e7e0934 » adrianschroeter
2014-06-06 [dist] require sphinx 2.1.8 searchd
170 Requires: sphinx >= 2.1.8
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
171 Supplements: rubygem-ruby-ldap
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
172 BuildRequires: obs-api-testsuite-deps
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
173 BuildRequires: rubygem-ruby-ldap
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
174 # for test suite:
175 BuildRequires: createrepo
176 BuildRequires: curl
6a042c2d » coolo
2013-10-24 [dist] start memcached before test suite
177 BuildRequires: memcached >= 1.4
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
178 BuildRequires: mysql
179 BuildRequires: netcfg
180 BuildRequires: rubygem-ci_reporter
181 BuildRequires: xorg-x11-Xvnc
182 BuildRequires: xorg-x11-server
183 BuildRequires: xorg-x11-server-extra
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
184 # write down dependencies for production
185 BuildRequires: rubygem-bundler
186 Requires: %(echo `bash %{S:1} %{S:0}`)
1d93caba » coolo
2014-03-24 [webui] fix repository_state and rebuild_time
187 # for rebuild_time
188 Requires: perl(GD)
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
189
b191f7ab » adrianschroeter
2010-01-25 * use src server as specified in buildinfo to support multi OBS Servers
190 Requires: ghostscript-fonts-std
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
191 Summary: The Open Build Service -- The API and WEBUI
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
192 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
193 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
194 %endif
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
195
196 %description -n obs-api
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
197 This is the API server instance, and the web client for the
198 OBS.
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
199
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
200 %package -n obs-devel
201 Summary: The Open Build Service -- The API and WEBUI Testsuite
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
202 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
203 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
204 %endif
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
205 Obsoletes: obs-webui-testsuite
206 Requires: obs-api = %{version}-%{release}
207 %requires_eq obs-api-testsuite-deps
208
209 %description -n obs-devel
210 Install to track dependencies for git
211
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
212 %package -n obs-source_service
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
213 Summary: The Open Build Service -- source service daemon
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
214 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
215 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
216 %endif
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
217 # Our default services, used in osc and webui
218 Recommends: obs-service-download_url
219 Recommends: obs-service-verify_file
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
220
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
221 %description -n obs-source_service
222 The OBS source service is a component to modify submitted sources
223 on the server side. This may include source checkout, spec file
224 generation, gpg validation, quality checks and other stuff.
225
226 This component is optional and not required to run the service.
227
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
228
229 %package -n obs-productconverter
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
230 Summary: The Open Build Service -- product definition utility
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
231 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
232 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
233 %endif
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
234 # For perl library files, TODO: split out obs-lib subpackage?
235 Requires: obs-server
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
236
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
237 %description -n obs-productconverter
238 bs_productconvert is a utility to create Kiwi- and Spec- files from a
239 product definition.
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
240
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
241 %package -n obs-utils
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
242 Summary: The Open Build Service -- utilities
d652205d » adrianschroeter
2013-08-05 [dist] fix spec file formater mess up
243 Group: Productivity/Networking/Web/Utilities
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
244 %if 0%{?suse_version} < 1210 && 0%{?suse_version:1}
422ede30 » adrianschroeter
2013-08-05 [dist] define rpm group only for SLE 11
245 %endif
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
246 Requires: build
247 Requires: osc
248 Requires: ruby
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
249
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
250 %description -n obs-utils
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
251 obs_project_update is a tool to copy a packages of a project from one obs to another
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
252
253 #--------------------------------------------------------------------------------
254 %prep
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
255 %setup -q -n open-build-service-%version
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
256 # drop build script, we require the installed one from own package
257 rm -rf src/build
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
258 find . -name .git\* -o -name Capfile -o -name deploy.rb | xargs rm -rf
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
259
260 %build
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
261 # we need it for the test suite or it may silently succeed
262 test -x /usr/bin/Xvfb
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
263 #
264 # generate apidocs
265 #
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
266 pushd docs/api/api
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
267 make apidocs
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
268 popd
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
269
270 %install
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
271 #
272 # First install all dist files
273 #
274 cd dist
a28efcae » xsuchy
2013-08-02 [dist] Fedora use different user:group for Apache
275 %if 0%{?fedora} || 0%{?rhel}
276 # Fedora use different user:group for apache
277 find -type f | xargs sed -i '1,$s/wwwrun\(.*\)www/apache\1apache/g'
278 find -type f | xargs sed -i '1,$s/user wwwrun/user apache/g'
279 find -type f | xargs sed -i '1,$s/group www/group apache/g'
280 %endif
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
281 # configure apache web service
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
282 mkdir -p $RPM_BUILD_ROOT/etc/apache2/vhosts.d/
283 install -m 0644 obs-apache2.conf $RPM_BUILD_ROOT/etc/apache2/vhosts.d/obs.conf
284 # install overview page template
285 mkdir -p $RPM_BUILD_ROOT/srv/www/obs/overview
286 install -m 0644 overview.html.TEMPLATE $RPM_BUILD_ROOT/srv/www/obs/overview/
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
287 # install obs mirror script and obs copy script
288 install -d -m 755 $RPM_BUILD_ROOT/usr/sbin/
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
289 install -m 0755 obs_project_update $RPM_BUILD_ROOT/usr/sbin/
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
290 # install runlevel scripts
291 install -d -m 755 $RPM_BUILD_ROOT/etc/init.d/
2a5ac708 » adrianschroeter
2010-01-16 include appliance runlevel scripts into package (they get not activat…
292 for i in obssrcserver obsrepserver obsscheduler obsworker obspublisher obsdispatcher \
f07fca3e » adrianschroeter
2011-03-04 [dist] update spec file
293 obssigner obswarden obsapidelayed obsapisetup obsstoragesetup \
5da7a26c » adrianschroeter
2010-01-25 * run setup scripts only when configured in sysconfig as well
294 obsservice; do
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
295 install -m 0755 $i \
296 $RPM_BUILD_ROOT/etc/init.d/
297 ln -sf /etc/init.d/$i $RPM_BUILD_ROOT/usr/sbin/rc$i
298 done
9b5d579b » adrianschroeter
2010-05-12 add and package logrotate files.
299 # install logrotate
300 install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d/
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
301 for i in obs-api obs-build obs-server ; do
302 install -m 0644 ${i}.logrotate \
303 $RPM_BUILD_ROOT/etc/logrotate.d/$i
9b5d579b » adrianschroeter
2010-05-12 add and package logrotate files.
304 done
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
305 # install fillups
306 FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates
307 install -d -m 755 $FILLUP_DIR
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
308 install -m 0644 sysconfig.obs-server $FILLUP_DIR/
5634abe8 » adrianschroeter
2010-01-18 * fix hypervisor checks
309 # install SLP registration files
310 SLP_DIR=$RPM_BUILD_ROOT/etc/slp.reg.d/
311 install -d -m 755 $SLP_DIR
312 install -m 644 obs.source_server.reg $SLP_DIR/
313 install -m 644 obs.repo_server.reg $SLP_DIR/
069bec16 » adrianschroeter
2010-03-05 * fix startup of api and webui delayed, processes must not have same
314 # create symlink for product converter
315 mkdir -p $RPM_BUILD_ROOT/usr/bin
51a49f17 » adrianschroeter
2010-03-10 fix obs_productconverter execution
316 cat > $RPM_BUILD_ROOT/usr/bin/obs_productconvert <<EOF
317 #!/bin/bash
318 exec /usr/lib/obs/server/bs_productconvert "\$@"
319 EOF
320 chmod 0755 $RPM_BUILD_ROOT/usr/bin/obs_productconvert
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
321 cat > $RPM_BUILD_ROOT/usr/sbin/obs_admin <<EOF
322 #!/bin/bash
323 exec /usr/lib/obs/server/bs_admin "\$@"
324 EOF
325 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/obs_admin
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
326 cat > $RPM_BUILD_ROOT/usr/sbin/obs_serverstatus <<EOF
327 #!/bin/bash
328 exec /usr/lib/obs/server/bs_serverstatus "\$@"
329 EOF
330 chmod 0755 $RPM_BUILD_ROOT/usr/sbin/obs_serverstatus
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
331
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
332 #
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
333 # Install all web and api parts.
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
334 #
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
335 cd ../src
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
336 mkdir -p $RPM_BUILD_ROOT/srv/www/obs/
337 cp -a api $RPM_BUILD_ROOT/srv/www/obs/api
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
338 mkdir -p $RPM_BUILD_ROOT/srv/www/obs/api/log
f07fca3e » adrianschroeter
2011-03-04 [dist] update spec file
339 mkdir -p $RPM_BUILD_ROOT/srv/www/obs/api/tmp
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
340 touch $RPM_BUILD_ROOT/srv/www/obs/api/log/production.log
1e5f4969 » adrianschroeter
2014-04-23 [dist] package emtpy config file for sphinx with right permissions
341 touch $RPM_BUILD_ROOT/srv/www/obs/api/config/production.sphinx.conf
cec4eb1a » adrianschroeter
2013-08-14 [dist] install sphinx work dir
342 # prepare for running sphinx daemon
706c4a1f » adrianschroeter
2013-08-14 [dist] fix ownership of directories
343 install -m 0755 -d $RPM_BUILD_ROOT/srv/www/obs/api/db/sphinx{,/production}
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
344
345 #
346 # install apidocs
347 #
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
348 mkdir -p $RPM_BUILD_ROOT/srv/www/obs/docs
349 cp -a ../docs/api/api $RPM_BUILD_ROOT/srv/www/obs/docs/
350 cp -a ../docs/api/html $RPM_BUILD_ROOT/srv/www/obs/docs/api/
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
351 ln -sf /srv/www/obs/docs/api $RPM_BUILD_ROOT/srv/www/obs/api/public/schema
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
352
353 echo 'CONFIG["apidocs_location"] ||= File.expand_path("../docs/api/html/")' >> $RPM_BUILD_ROOT/srv/www/obs/api/config/environment.rb
354 echo 'CONFIG["schema_location"] ||= File.expand_path("../docs/api/")' >> $RPM_BUILD_ROOT/srv/www/obs/api/config/environment.rb
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
355
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
356 #
357 # Install all backend parts.
358 #
359 cd backend/
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
360 # we use external build script code
361 rm -rf build
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
362 cp BSConfig.pm.template BSConfig.pm
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
363
364 install -d -m 755 $RPM_BUILD_ROOT/usr/lib/obs/server/
534d5c24 » xsuchy
2013-08-02 [dist] escape macros in comments
365 ln -sf /usr/lib/build $RPM_BUILD_ROOT/usr/lib/obs/server/build # just for check section, it is a %%ghost
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
366 #for i in build events info jobs log projects repos run sources trees workers; do
367 # install -d -m 755 $RPM_BUILD_ROOT/srv/obs/$i
368 #done
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
369 # install executables and code
370 cp -a * $RPM_BUILD_ROOT/usr/lib/obs/server/
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
371 rm -r $RPM_BUILD_ROOT/usr/lib/obs/server/testdata
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
372 cd ..
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
373
374 #
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
375 # turn duplicates into hard links
376 #
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
377 # There's dupes between webui and api:
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
378 %if 0%{?suse_version} >= 1030
379 %fdupes $RPM_BUILD_ROOT/srv/www/obs
380 %endif
381
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
382 # these config files must not be hard linked
383 install api/config/database.yml.example $RPM_BUILD_ROOT/srv/www/obs/api/config/database.yml
384 install api/config/options.yml.example $RPM_BUILD_ROOT/srv/www/obs/api/config/options.yml
c289c6ef » adrianschroeter
2013-08-07 [dist] install and package new sphinx config files
385 install api/config/thinking_sphinx.yml.example $RPM_BUILD_ROOT/srv/www/obs/api/config/thinking_sphinx.yml
f07fca3e » adrianschroeter
2011-03-04 [dist] update spec file
386
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
387 for file in api/log/access.log api/log/backend_access.log api/log/delayed_job.log api/log/error.log api/log/lastevents.access.log; do
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
388 touch $RPM_BUILD_ROOT/srv/www/obs/$file
389 done
390
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
391 pushd $RPM_BUILD_ROOT/srv/www/obs/api
5c8fe19b » coolo
2013-10-23 [dist] update spec file to OBS state
392 # we need to have *something* as secret key
393 echo "" | sha256sum| cut -d\ -f 1 > config/secret.key
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
394 bundle exec rake --trace assets:precompile RAILS_ENV=production RAILS_GROUPS=assets
5c8fe19b » coolo
2013-10-23 [dist] update spec file to OBS state
395 rm -rf tmp/cache/sass tmp/cache/assets config/secret.key
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
396 export BUNDLE_WITHOUT=test:assets:development
397 export BUNDLE_FROZEN=1
398 bundle config --local frozen 1
399 bundle config --local without test:assets:development
400 # reinstall
401 install config/database.yml.example config/database.yml
402 : > log/production.log
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
403 sed -i -e 's,^api_version.*,api_version = "%version",' config/initializers/02_apiversion.rb
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
404 popd
405
406 mkdir -p %{buildroot}%{_docdir}
407 cat > %{buildroot}%{_docdir}/README.devel <<EOF
408 This package does not contain any development files. But it helps you start with
409 git development - look at http://github.com/opensuse/open-build-service
410 EOF
411
412 %check
413 # check installed backend
414 pushd $RPM_BUILD_ROOT/usr/lib/obs/server/
415 file build
416 rm build
534d5c24 » xsuchy
2013-08-02 [dist] escape macros in comments
417 ln -sf /usr/lib/build build # just for %%check, it is a %%ghost
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
418 for i in bs_*; do
419 perl -wc "$i"
420 done
24577614 » adrianschroeter
2014-03-12 [dist] current rpm spec files to build upstream master packages with …
421 bash $RPM_BUILD_DIR/open-build-service-%version/src/backend/testdata/test_dispatcher || exit 1
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
422 popd
423
424 # run in build environment
425 pushd src/backend/
426 rm -rf build
427 ln -sf /usr/lib/build build
428 popd
429 # setup mysqld
430 rm -rf /tmp/obs.mysql.db /tmp/obs.test.mysql.socket
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
431 mysql_install_db --user=`whoami` --datadir="/tmp/obs.mysql.db"
dfcdf131 » adrianschroeter
2013-11-27 [dist use only local socket and no port for mysqld during test suite run
432 /usr/sbin/mysqld --datadir=/tmp/obs.mysql.db --skip-networking --socket=/tmp/obs.test.mysql.socket &
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
433 sleep 2
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
434 ##################### api
435 pushd src/api/
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
436 # setup files
437 cp config/options.yml{.example,}
05633b54 » adrianschroeter
2013-08-09 [dist] fix testsuite run in package with sphinx
438 cp config/thinking_sphinx.yml{.example,}
439 touch config/test.sphinx.conf
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
440 cat > config/database.yml <<EOF
8bbee735 » adrianschroeter
2014-04-10 [dist] add migration test during package build
441 migrate:
442 adapter: mysql2
443 host: localhost
444 database: api_25
445 username: root
446 encoding: utf8
447 socket: /tmp/obs.test.mysql.socket
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
448 test:
449 adapter: mysql2
450 host: localhost
451 database: api_test
452 username: root
453 encoding: utf8
454 socket: /tmp/obs.test.mysql.socket
27e26479 » adrianschroeter
2014-06-02 [dist] do not fail on SLES 11 SP3, disabled mysql timeout during tests
455 # disable timeout, required on SLES 11 SP3 at least
456 connect_timeout:
457
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
458 EOF
6a042c2d » coolo
2013-10-24 [dist] start memcached before test suite
459 /usr/sbin/memcached -l 127.0.0.1 -d -P $PWD/memcached.pid
8bbee735 » adrianschroeter
2014-04-10 [dist] add migration test during package build
460 # migration test
461 export RAILS_ENV=migrate
462 bundle exec rake --trace db:create || exit 1
463 xzcat test/dump_2.5.sql.xz | mysql -u root --socket=/tmp/obs.test.mysql.socket
464 bundle exec rake --trace db:migrate db:drop || exit 1
465 # entire test suite
466 export RAILS_ENV=test
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
467 bundle exec rake --trace db:create db:setup || exit 1
468 mv log/test.log{,.old}
18bba9d7 » adrianschroeter
2014-03-24 [dist] activate webui test suite again
469 if ! bundle exec rake --trace test:api test:webui ; then
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
470 cat log/test.log
6a042c2d » coolo
2013-10-24 [dist] start memcached before test suite
471 kill $(cat memcached.pid)
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
472 exit 1
473 fi
6a042c2d » coolo
2013-10-24 [dist] start memcached before test suite
474 kill $(cat memcached.pid) || :
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
475 popd
476
477 #cleanup
478 /usr/bin/mysqladmin -u root --socket=/tmp/obs.test.mysql.socket shutdown || true
479 rm -rf /tmp/obs.mysql.db /tmp/obs.test.mysql.socket
480
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
481 %pre
01777335 » xsuchy
2013-08-02 [dist] test if user and group exist before trying to add
482 getent group obsrun >/dev/null || groupadd -r obsrun
483 getent passwd obsrun >/dev/null || \
484 /usr/sbin/useradd -r -g obsrun -d /usr/lib/obs -s %{sbin}/nologin \
485 -c "User for build service backend" obsrun
486 exit 0
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
487
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
488 %pre -n obs-worker
01777335 » xsuchy
2013-08-02 [dist] test if user and group exist before trying to add
489 getent group obsrun >/dev/null || groupadd -r obsrun
490 getent passwd obsrun >/dev/null || \
491 /usr/sbin/useradd -r -g obsrun -d /usr/lib/obs -s %{sbin}/nologin \
492 -c "User for build service backend" obsrun
493 exit 0
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
494
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
495 %preun
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
496 %stop_on_removal obssrcserver obsrepserver obsdispatcher obsscheduler obspublisher obswarden obssigner
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
497
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
498 %preun -n obs-worker
499 %stop_on_removal obsworker
500
501 %post
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
502 %{fillup_and_insserv -n obs-server}
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
503 %restart_on_update obssrcserver obsrepserver obsdispatcher obsscheduler obspublisher obswarden obssigner
b7d4df87 » adrianschroeter
2010-02-03 1.7.0 RC1 spec file
504
071e6202 » adrianschroeter
2010-02-10 * Fix kvm check by checking for /dev/kvm
505 %preun -n obs-source_service
506 %stop_on_removal obsservice
507
508 %post -n obs-source_service
509 %restart_on_update obsservice
510
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
511 %posttrans
d899691c » adrianschroeter
2014-04-23 [dist] move /srv/obs creation to posttrans
512 [ -d /srv/obs ] || install -d -o obsrun -g obsrun /srv/obs
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
513 # this changes from directory to symlink. rpm can not handle this itself.
514 if [ -e /usr/lib/obs/server/build -a ! -L /usr/lib/obs/server/build ]; then
515 rm -rf /usr/lib/obs/server/build
516 fi
517 if [ ! -e /usr/lib/obs/server/build ]; then
518 ln -sf ../../build /usr/lib/obs/server/build
519 fi
520
521 %postun
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
522 %insserv_cleanup
523 %verifyscript -n obs-server
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
524 %verify_permissions
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
525 # cleanup empty directory just in case
526 rmdir /srv/obs 2> /dev/null || :
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
527
528 %post -n obs-worker
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
529 %{fillup_and_insserv -n obs-server}
530 # NOT used on purpose: restart_on_update obsworker
531 # This can cause problems when building chroot
532 # and bs_worker is anyway updating itself at runtime based on server code
533
534 %pre -n obs-api
01777335 » xsuchy
2013-08-02 [dist] test if user and group exist before trying to add
535 getent passwd obsapidelayed >/dev/null || \
536 /usr/sbin/useradd -r -s /bin/bash -c "User for build service api delayed jobs" -d /srv/www/obs/api -g www obsapidelayed
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
537
538 %post -n obs-api
5da7a26c » adrianschroeter
2010-01-25 * run setup scripts only when configured in sysconfig as well
539 %{fillup_and_insserv -n obs-server}
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
540 if [ -e /srv/www/obs/frontend/config/database.yml ] && [ ! -e /srv/www/obs/api/config/database.yml ]; then
541 cp /srv/www/obs/frontend/config/database.yml /srv/www/obs/api/config/database.yml
542 fi
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
543 for i in production.rb ; do
b7d4df87 » adrianschroeter
2010-02-03 1.7.0 RC1 spec file
544 if [ -e /srv/www/obs/frontend/config/environments/$i ] && [ ! -e /srv/www/obs/api/config/environments/$i ]; then
545 cp /srv/www/obs/frontend/config/environments/$i /srv/www/obs/api/config/environments/$i
546 fi
547 done
f882cb75 » adrianschroeter
2014-07-07 [dist] sphinx db keeps becoming incompatible
548 # sphinx db is very often incompatible, so wipe it for re-index
0d109a03 » adrianschroeter
2014-07-08 [dist] do not fail without sphinx db
549 rm -f /srv/www/obs/api/db/sphinx/production/* 2> /dev/null
09b8f8c2 » adrianschroeter
2013-10-23 [api] create secret key during rpm package installation and use it.
550 SECRET_KEY="/srv/www/obs/api/config/secret.key"
551 if [ ! -e "$SECRET_KEY" ]; then
552 ( umask 0077; dd if=/dev/urandom bs=256 count=1 2>/dev/null |sha256sum| cut -d\ -f 1 >$SECRET_KEY )
a3c7a193 » adrianschroeter
2010-01-05 simpify webui setup, allow updaters to keep "production_slave"
553 fi
09b8f8c2 » adrianschroeter
2013-10-23 [api] create secret key during rpm package installation and use it.
554 chmod 0640 $SECRET_KEY
555 chown root.www $SECRET_KEY
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
556 # update config
557 sed -i -e 's,[ ]*adapter: mysql$, adapter: mysql2,' /srv/www/obs/api/config/database.yml
1f4d0355 » adrianschroeter
2014-01-13 [dist] make production.log a ghost file, but ensure that it exists an…
558 touch /srv/www/obs/api/log/production.log
559 chown %{apache_user}:%{apache_group} /srv/www/obs/api/log/production.log
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
560
561 %restart_on_update apache2
562 %restart_on_update obsapisetup
563 %restart_on_update obsapidelayed
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
564
565 %postun -n obs-api
566 %insserv_cleanup
567
568 %files
569 %defattr(-,root,root)
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
570 %doc dist/{README.UPDATERS,README.SETUP} docs/openSUSE.org.xml ReleaseNotes-* README.md COPYING AUTHORS
5634abe8 » adrianschroeter
2010-01-18 * fix hypervisor checks
571 %dir /etc/slp.reg.d
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
572 %dir /usr/lib/obs
573 %dir /usr/lib/obs/server
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
574 /etc/logrotate.d/obs-server
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
575 /etc/init.d/obsdispatcher
576 /etc/init.d/obspublisher
577 /etc/init.d/obsrepserver
578 /etc/init.d/obsscheduler
579 /etc/init.d/obssrcserver
9243ac56 » adrianschroeter
2010-01-04 * update spec file to get it working after webui changes and missing …
580 /etc/init.d/obswarden
581 /etc/init.d/obssigner
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
582 /usr/sbin/obs_admin
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
583 /usr/sbin/obs_serverstatus
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
584 /usr/sbin/rcobsdispatcher
585 /usr/sbin/rcobspublisher
586 /usr/sbin/rcobsrepserver
587 /usr/sbin/rcobsscheduler
588 /usr/sbin/rcobssrcserver
9243ac56 » adrianschroeter
2010-01-04 * update spec file to get it working after webui changes and missing …
589 /usr/sbin/rcobswarden
590 /usr/sbin/rcobssigner
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
591 /usr/lib/obs/server/plugins
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
592 /usr/lib/obs/server/BSAccess.pm
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
593 /usr/lib/obs/server/BSBuild.pm
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
594 /usr/lib/obs/server/BSCando.pm
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
595 /usr/lib/obs/server/BSConfiguration.pm
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
596 /usr/lib/obs/server/BSConfig.pm.template
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
597 /usr/lib/obs/server/BSEvents.pm
598 /usr/lib/obs/server/BSFileDB.pm
599 /usr/lib/obs/server/BSHTTP.pm
600 /usr/lib/obs/server/BSHandoff.pm
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
601 /usr/lib/obs/server/BSNotify.pm
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
602 /usr/lib/obs/server/BSRPC.pm
603 /usr/lib/obs/server/BSServer.pm
604 /usr/lib/obs/server/BSServerEvents.pm
605 /usr/lib/obs/server/BSSrcdiff.pm
606 /usr/lib/obs/server/BSSSL.pm
607 /usr/lib/obs/server/BSStdServer.pm
608 /usr/lib/obs/server/BSUtil.pm
609 /usr/lib/obs/server/BSVerify.pm
610 /usr/lib/obs/server/BSDB.pm
611 /usr/lib/obs/server/BSDBIndex.pm
612 /usr/lib/obs/server/BSXPathKeys.pm
613 /usr/lib/obs/server/BSWatcher.pm
614 /usr/lib/obs/server/BSXML.pm
615 /usr/lib/obs/server/BSXPath.pm
616 /usr/lib/obs/server/BSProductXML.pm
617 /usr/lib/obs/server/BSKiwiXML.pm
618 %dir /usr/lib/obs/server/Meta
619 /usr/lib/obs/server/Meta.pm
620 /usr/lib/obs/server/Meta/Debmd.pm
621 /usr/lib/obs/server/Meta/Rpmmd.pm
622 /usr/lib/obs/server/Meta/Susetagsmd.pm
623 /usr/lib/obs/server/DESIGN
624 /usr/lib/obs/server/License
625 /usr/lib/obs/server/README
626 /usr/lib/obs/server/XML
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
627 /usr/lib/obs/server/bs_admin
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
628 /usr/lib/obs/server/bs_archivereq
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
629 /usr/lib/obs/server/bs_check_consistency
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
630 /usr/lib/obs/server/bs_getbinariesproxy
97277e95 » mlschroe
2012-08-17 [backend] add bs_mkarchrepo to spec
631 /usr/lib/obs/server/bs_mkarchrepo
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
632 /usr/lib/obs/server/bs_dispatch
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
633 /usr/lib/obs/server/bs_publish
634 /usr/lib/obs/server/bs_repserver
635 /usr/lib/obs/server/bs_sched
0b67cc79 » adrianschroeter
2010-08-30 [dist] do not loose old webui database.yml on update
636 /usr/lib/obs/server/bs_serverstatus
97277e95 » mlschroe
2012-08-17 [backend] add bs_mkarchrepo to spec
637 /usr/lib/obs/server/bs_srcserver
638 /usr/lib/obs/server/bs_worker
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
639 /usr/lib/obs/server/bs_signer
640 /usr/lib/obs/server/bs_sshgit
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
641 /usr/lib/obs/server/bs_warden
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
642 /usr/lib/obs/server/worker
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
643 /usr/lib/obs/server/worker-deltagen.spec
5634abe8 » adrianschroeter
2010-01-18 * fix hypervisor checks
644 %config(noreplace) /usr/lib/obs/server/BSConfig.pm
645 %config(noreplace) /etc/slp.reg.d/*
534d5c24 » xsuchy
2013-08-02 [dist] escape macros in comments
646 # created via %%post, since rpm fails otherwise while switching from
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
647 # directory to symlink
648 %ghost /usr/lib/obs/server/build
649
650 %files -n obs-source_service
651 %defattr(-,root,root)
071e6202 » adrianschroeter
2010-02-10 * Fix kvm check by checking for /dev/kvm
652 /etc/init.d/obsservice
653 /usr/sbin/rcobsservice
f3299e11 » adrianschroeter
2009-11-07 * fix spec file for 1.6.81
654 /usr/lib/obs/server/bs_service
655 /usr/lib/obs/server/call-service-in-lxc.sh
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
656
657 %files -n obs-worker
658 %defattr(-,root,root)
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
659 /var/adm/fillup-templates/sysconfig.obs-server
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
660 /etc/init.d/obsworker
071e6202 » adrianschroeter
2010-02-10 * Fix kvm check by checking for /dev/kvm
661 /etc/init.d/obsstoragesetup
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
662 /usr/sbin/rcobsworker
071e6202 » adrianschroeter
2010-02-10 * Fix kvm check by checking for /dev/kvm
663 /usr/sbin/rcobsstoragesetup
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
664
665 %files -n obs-api
666 %defattr(-,root,root)
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
667 %doc dist/{README.UPDATERS,README.SETUP} docs/openSUSE.org.xml ReleaseNotes-* README.md COPYING AUTHORS
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
668 /srv/www/obs/overview
669
c289c6ef » adrianschroeter
2013-08-07 [dist] install and package new sphinx config files
670 /srv/www/obs/api/config/thinking_sphinx.yml.example
671 %config(noreplace) /srv/www/obs/api/config/thinking_sphinx.yml
1e5f4969 » adrianschroeter
2014-04-23 [dist] package emtpy config file for sphinx with right permissions
672 %attr(-,%{apache_user},%{apache_group}) %config(noreplace) /srv/www/obs/api/config/production.sphinx.conf
c289c6ef » adrianschroeter
2013-08-07 [dist] install and package new sphinx config files
673
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
674 %dir /srv/www/obs
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
675 %dir /srv/www/obs/api
9243ac56 » adrianschroeter
2010-01-04 * update spec file to get it working after webui changes and missing …
676 %dir /srv/www/obs/api/config
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
677 /srv/www/obs/api/config/initializers
9243ac56 » adrianschroeter
2010-01-04 * update spec file to get it working after webui changes and missing …
678 %dir /srv/www/obs/api/config/environments
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
679 %dir /srv/www/obs/api/files
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
680 /srv/www/obs/api/.simplecov
681 /srv/www/obs/api/Gemfile
682 /srv/www/obs/api/Gemfile.lock
683 /srv/www/obs/api/config.ru
684 /srv/www/obs/api/config/application.rb
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
685 /srv/www/obs/api/config/clock.rb
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
686 /etc/logrotate.d/obs-build
687 /etc/logrotate.d/obs-api
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
688 /etc/init.d/obsapidelayed
2a5ac708 » adrianschroeter
2010-01-16 include appliance runlevel scripts into package (they get not activat…
689 /etc/init.d/obsapisetup
690 /usr/sbin/rcobsapisetup
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
691 /usr/sbin/rcobsapidelayed
692 /srv/www/obs/api/app
693 /srv/www/obs/api/db
c2ca5b05 » adrianschroeter
2010-05-07 new snapshot spec file
694 /srv/www/obs/api/files/wizardtemplate.spec
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
695 /srv/www/obs/api/lib
696 /srv/www/obs/api/public
697 /srv/www/obs/api/Rakefile
698 /srv/www/obs/api/script
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
699 /srv/www/obs/api/bin
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
700 /srv/www/obs/api/test
701 /srv/www/obs/docs
702
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
703 %dir /srv/www/obs/api/config
704 /srv/www/obs/api/config/locales
705 %dir /srv/www/obs/api/vendor
706 /srv/www/obs/api/vendor/diststats
707
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
708 #
709 # some files below config actually are _not_ config files
710 # so here we go, file by file
711 #
712
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
713 /srv/www/obs/api/config/boot.rb
714 /srv/www/obs/api/config/routes.rb
9243ac56 » adrianschroeter
2010-01-04 * update spec file to get it working after webui changes and missing …
715 /srv/www/obs/api/config/environments/development.rb
737b185d » coolo
2013-10-16 [dist] ignore the webui in spec file
716 /srv/www/obs/api/config/unicorn
706c4a1f » adrianschroeter
2013-08-14 [dist] fix ownership of directories
717 %attr(0640,root,%apache_group) %config(noreplace) /srv/www/obs/api/config/database.yml*
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
718 %attr(0644,root,root) %config(noreplace) /srv/www/obs/api/config/options.yml*
706c4a1f » adrianschroeter
2013-08-14 [dist] fix ownership of directories
719 %dir %attr(0755,%apache_user,%apache_group) /srv/www/obs/api/db/sphinx
720 %dir %attr(0755,%apache_user,%apache_group) /srv/www/obs/api/db/sphinx/production
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
721 /srv/www/obs/api/.bundle
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
722
723 %config /srv/www/obs/api/config/environment.rb
55bb09c0 » xsuchy
2013-08-02 [dist] sync up spec file with OBS
724 %config /srv/www/obs/api/config/environments/production.rb
725 %config /srv/www/obs/api/config/environments/test.rb
726 %config /srv/www/obs/api/config/environments/stage.rb
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
727
a28efcae » xsuchy
2013-08-02 [dist] Fedora use different user:group for Apache
728 %dir %attr(-,%{apache_user},%{apache_group}) /srv/www/obs/api/log
729 %attr(-,%{apache_user},%{apache_group}) /srv/www/obs/api/tmp
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
730
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
731 # these dirs primarily belong to apache2:
732 %dir /etc/apache2
733 %dir /etc/apache2/vhosts.d
734 %config(noreplace) /etc/apache2/vhosts.d/obs.conf
52198422 » adrianschroeter
2009-12-21 * update spec file to 1.6.85 (1.7 beta 1)
735
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
736 %ghost /srv/www/obs/api/log/access.log
737 %ghost /srv/www/obs/api/log/backend_access.log
738 %ghost /srv/www/obs/api/log/delayed_job.log
739 %ghost /srv/www/obs/api/log/error.log
740 %ghost /srv/www/obs/api/log/lastevents.access.log
1f4d0355 » adrianschroeter
2014-01-13 [dist] make production.log a ghost file, but ensure that it exists an…
741 %ghost /srv/www/obs/api/log/production.log
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
742
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
743 %files -n obs-utils
744 %defattr(-,root,root)
745 /usr/sbin/obs_project_update
746
747 %files -n obs-productconverter
748 %defattr(-,root,root)
069bec16 » adrianschroeter
2010-03-05 * fix startup of api and webui delayed, processes must not have same
749 /usr/bin/obs_productconvert
cb09c9e7 » adrianschroeter
2009-10-28 add init files and minimal docu for obssigner and obswarden (of course
750 /usr/lib/obs/server/bs_productconvert
751
d0c101da » adrianschroeter
2013-03-12 [dist] update spec files to current state
752 %files -n obs-devel
753 %defattr(-,root,root)
754 %_docdir/README.devel
755
278ef3ad » adrianschroeter
2012-06-01 [dist] update spec file template as currently used
756 %changelog
Something went wrong with that request. Please try again.