forked from fedora-infra/fedora-packages
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fedora-packages.spec
327 lines (252 loc) · 10.5 KB
/
fedora-packages.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
%global oldname fedoracommunity
Name: fedora-packages
Version: 4.2.0
Release: 2%{?dist}
Summary: Fedora packages search engine
Group: Applications/Internet
License: AGPLv3
URL: https://github.com/fedora-infra/fedora-packages
Source0: %{url}/archive/%{oldname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{oldname}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python-devel
BuildRequires: python-pygments
BuildRequires: pytz
BuildRequires: pyOpenSSL
BuildRequires: TurboGears2
BuildRequires: python-moksha-wsgi
BuildRequires: python-tw2-jqplugins-ui
BuildRequires: python-bunch
BuildRequires: python-dogpile-core > 0.4.0
BuildRequires: python-dogpile-cache > 0.4.1
BuildRequires: python-memcached
BuildRequires: python-markdown
BuildRequires: pygobject3
BuildRequires: fedmsg
BuildRequires: python-daemon
BuildRequires: python-webob
Requires: TurboGears2
Requires: python-moksha-wsgi
Requires: intltool
Requires: python2-koji
Requires: python2-bodhi-client
Requires: python-feedparser
Requires: python-iniparse
Requires: pytz
Requires: pyOpenSSL
Requires: httpd
Requires: mod_wsgi
Requires: diffstat
Requires: fedpkg
Requires: python-lockfile
Requires: python-tw2-jqplugins-ui
Requires: python-bugzilla
Requires: xapian-bindings-python
Requires: python-dogpile-core > 0.4.0
Requires: python-dogpile-cache > 0.4.1
Requires: python-memcached
Requires: python-markdown
Requires: pygobject3
Requires: fedmsg
Requires: python-pdc-client
Requires: python-webhelpers
Requires: libappstream-glib
Requires: python-daemon
Requires: python-webob
Requires: python2-GitPython
# For spectool
Requires: rpmdevtools
%description
Fedora-packages is a web application that allow the user to search for packages inside Fedora.
%prep
%autosetup -n %{oldname}-%{version}
%build
%py2_build
%install
%{__python2} setup.py install -O1 --skip-build --install-data=%{_datadir} --root %{buildroot}
%{__mkdir_p} -m 0700 %{buildroot}/%{_localstatedir}/cache/%{oldname}
%{__install} %{name}.wsgi %{buildroot}%{_datadir}/%{oldname}/%{name}.wsgi
%files
%doc README.md AUTHORS
%license COPYING
%{python2_sitelib}/%{oldname}/
%{python2_sitelib}/%{oldname}-%{version}-py2.7.egg-info/
%attr(-,apache,root) %dir %{_datadir}/%{oldname}
%attr(-,apache,root) %{_datadir}/%{oldname}
%attr(-,apache,apache) %dir %{_localstatedir}/cache/%{oldname}
%{_bindir}/fcomm-index-packages
%changelog
* Tue Jan 15 2019 Clement Verna <[email protected]> - 4.2.0-2
- Fix dependencies
* Wed Oct 31 2018 Clement Verna <[email protected]> - 4.2.0-1
- New version
* Thu Apr 05 2018 Clement Verna <[email protected]> - 4.0.1-1
- Display pending release in the Release overview
* Tue Dec 05 2017 Clement Verna <[email protected]> - 4.0.0-1
- Use the license macro
- Fix Source0 url
- Remove python-ordereddict dependency.
- Replace python-appstream by pygobject3 to support rhel7.
- Remove call to pkgdb.
- Point SCM links to pagure.io instead of cgit.
- Use Fedora bootstrap for the frontend.
- Add link to Fedora Analysis Server.
- Update EPEL default version.
- Add caching and cache invalidation to the bugzilla tab.
- Update xapian index when pkgdb_updater changes things like upstream_url.
* Tue Mar 01 2016 Ralph Bean <[email protected]> - 3.0.4-1
- new version
* Fri Jan 08 2016 Ralph Bean <[email protected]> - 3.0.3-1
- new version
* Mon Nov 23 2015 Ralph Bean <[email protected]> - 3.0.2-1
- ThreadPool for the fedmsg cache worker.
* Mon Nov 23 2015 Ralph Bean <[email protected]> - 3.0.1-1
- Minor release with small enhancements and bugfixes.
* Tue Nov 17 2015 Ralph Bean <[email protected]> - 3.0.0-3
- Major rewrite of backend.
- Removed all yum and rpm cache management.
- Introduced new service dep on mdapi.
- Replaced cronjobs with a fedmsg updater.
* Tue Oct 20 2015 Ralph Bean <[email protected]> - 2.0.20-1
- new version
* Tue May 20 2014 Ralph Bean <[email protected]> - 2.0.17-1
- Further pkgdb2 updates.
* Wed May 14 2014 Ralph Bean <[email protected]> - 2.0.16-2
- Further pkgdb2 updates.
* Wed May 14 2014 Ralph Bean <[email protected]> - 2.0.16-1
- Updates for pkgdb2 compatibility.
* Tue Mar 11 2014 Ralph Bean <[email protected]> - 2.0.15-1
- Roll back the yumlock stuff in a rich blossom of hatred.
* Mon Mar 10 2014 Ralph Bean <[email protected]> - 2.0.14-2
- Patch to fix a bug with the new yumlock stuff.
* Mon Mar 10 2014 Ralph Bean <[email protected]> - 2.0.14-1
- Add typeahead plugin from relrod.
- Make datagrepper icons square.
- Exclude some datagrepper spam.
- Avoid default to armv7hl on relationships tab.
- Experiment with yumlocking.
* Sun Feb 09 2014 Ralph Bean <[email protected]> - 2.0.13-1
- Add HTML cards from charulagrl.
* Fri Jan 10 2014 Ralph Bean <[email protected]> - 2.0.12-2
- Small regression fix for older TG2.
* Fri Jan 10 2014 Ralph Bean <[email protected]> - 2.0.11-1
- Added link to cgit.
- Fix icon sizes.
- Library compat updates.
- Include epel bugs in bug list.
- Search can now accept slashes.
* Mon Aug 05 2013 Ralph Bean <[email protected]> - 2.0.10-1
- Bugfix - allow bugzilla cookiefile to be configurable.
* Wed Jul 31 2013 Ralph Bean <[email protected]> - 2.0.9-1
- Bugfix - import refactored code from python-moksha-wsgi.
The tabbedcontainer and the dashboardcontainer.
* Mon Jul 15 2013 Ralph Bean <[email protected]> - 2.0.8-1
- Unescape JSON so the relationships tab (and other things) work.
- Move exception handling into call_get_file_tree for consistency.
- Fix karma_level css on the updates page.
- Some fixes for f19/tg2-2.3.0 compatibility.
* Mon Jun 10 2013 Ralph Bean <[email protected]> - 2.0.7-2
- Emergency bugfix release.
- Get off of the old moksha.common.lib.helpers stuff.
- Fix bugs release from pingou.
- Fix misleading text in bugs widget.
- Don't escape the spec file widget.
- Support bugzilla 0.8.0
- Added buildrequires on python-memcached.
* Tue Jan 29 2013 Ralph Bean <[email protected]> - 2.0.6-1
- Include explicit memcached cleanup in the cache worker.
* Thu Jan 24 2013 Ralph Bean <[email protected]> - 2.0.5-6
- Include an fcomm-cache-worker daemon which picks tasks off a redis queue and
does work to refresh the values in memcached.
* Mon Jan 14 2013 Ralph Bean <[email protected]> - 2.0.4-6.20130114git6c5b194
- Fix bug where /packages/qt returned a 404
- Fix bug where /packages/python-webob1.2 returned a 404
- Redirecting users with 404s to the search interface
- Update hardcoded URL in fedoracommunity/search/index.py
* Fri Jan 11 2013 Ralph Bean <[email protected]> - 2.0.4-5.20130111gitd823e16
- Py2.6 bugfix for the SSL/bugzilla hack.
* Fri Jan 11 2013 Ralph Bean <[email protected]> - 2.0.4-4.20130111git919e4de
- Fixed a link for new EPEL bugs
- Fixed that bonkers SSL timeout with bugz
- Update to latest experimental dogpile cache refresh.
* Thu Jan 03 2013 Ralph Bean <[email protected]> - 2.0.4-3.20130103gitc211bc6
- Moved to git checkout.
- Experimenting with background dogpile cache refresh.
* Fri Dec 14 2012 Ralph Bean <[email protected]> - 2.0.4-2
- Fixed and enhanced developer bootstrapping (Luke Macken)
- Added Blocker Bugs to the stats widget (Luke Macken)
- Links to other apps (Marija Radevskaa)
- Link to owner profile (Marija Radevskaa)
- Connector cacheing with dogpile (Ralph Bean)
- Fixed CSS resource inconsistencies (Ralph Bean)
* Thu Sep 20 2012 Ralph Bean <[email protected]> - 2.0.3-1
- Smarter searching.
- Fixed tw2 resource archival for deployment.
- HTML5 autofocus on search bar on main page.
- Port forward to using the latest moksha.
* Thu Aug 23 2012 Ralph Bean <[email protected]> - 2.0.2-1
- Something got messed up with the versioning. New tarball.
* Wed Aug 22 2012 Ralph Bean <[email protected]> - 2.0.1-1
- Workaround bugzilla ssl timeouts
- Expanded /bugs page - http://bit.ly/TCMoXc
- Lots of little traceback fixes.
- Added newly required dependency on TurboGears2
* Wed Apr 25 2012 Luke Macken <[email protected]> - 2.0-2
- python-tw2-jquery-ui was renamed to python-tw2-jqplugins-ui
* Tue Feb 28 2012 Luke Macken <[email protected]> - 2.0-1
- Rename to fedora-packages and bump to 2.0
* Mon Dec 19 2011 Luke Macken <[email protected]> - 0.5.1-2
- Update our requirements
* Thu Dec 01 2011 John (J5) Palmieri <[email protected]> - 0.5.1-1
- fixups for deployment on RHEL6
* Thu Dec 01 2011 John (J5) Palmieri <[email protected]> - 0.5.0-1
- release of the development version of the packager branch
* Wed Jul 21 2010 Luke Macken <[email protected]> - 0.4.1-1
- 0.4.1 bugfix release
* Fri Mar 26 2010 Luke Macken <[email protected]> - 0.4.0-1
- 0.4.0 final release
* Wed Mar 24 2010 Luke Macken <[email protected]> - 0.4.0-0.beta.1
- 0.4.0 beta1 release
* Wed Feb 10 2010 Luke Macken <[email protected]> - 0.3.10-1
- 0.3.10 release
* Fri Jan 22 2010 Luke Macken <[email protected]> - 0.3.9-1
- 0.3.9 release
* Mon Jan 04 2010 Luke Macken <[email protected]> - 0.3.8.2-2
- Require httpd and mod_wsgi
* Mon Nov 02 2009 John (J5) Palmieri <[email protected]> - 0.3.8.2-1
- 0.3.8.2 - make sure toscawidgets finds the js files
* Thu Oct 29 2009 John (J5) Palmieri <[email protected]> - 0.3.8.1-1
- 0.3.8.1 - make sure js files are packaged
* Thu Oct 29 2009 John (J5) Palmieri <[email protected]> - 0.3.8-1
- 0.3.8 - add demos tab w/ amqp demo app
* Tue Sep 22 2009 Luke Macken <[email protected]> - 0.3.7-1
- 0.3.7
* Fri Sep 04 2009 Luke Macken <[email protected]> - 0.3.6-2
- Require python-memcached for production environments
* Wed Sep 02 2009 Luke Macken <[email protected]> - 0.3.6-1
- 0.3.6
* Wed Sep 02 2009 Luke Macken <[email protected]> - 0.3.5-1
- 0.3.5
* Mon Aug 03 2009 Luke Macken <[email protected]> - 0.3.4-1
- 0.3.4, bugfix release
* Mon Jul 27 2009 Luke Macken <[email protected]> - 0.3.3-1
- 0.3.3, bugfix release
* Mon Jul 27 2009 Luke Macken <[email protected]> - 0.3.2-1
- 0.3.2, bugfix release
* Thu Jun 11 2009 Luke Macken <[email protected]> - 0.3.1-1
- New bugfix release
* Wed Jun 10 2009 Luke Macken <[email protected]> - 0.3-6
- Revision bump to fix some unmerged changes
* Wed Jun 10 2009 Luke Macken <[email protected]> - 0.3-5
- Fix a trivial bug in the BugsStatsWidget
* Sat Jun 06 2009 Luke Macken <[email protected]> - 0.3-4
- Extract our widget resources
* Thu Jun 04 2009 Luke Macken <[email protected]> - 0.3-3
- Fix namespace package issues.
* Thu Jun 04 2009 John (J5) Palmieri <[email protected]> - 0.3-1
- add the makeyumcache script
* Wed Jun 03 2009 Luke Macken <[email protected]> - 0.2-2
- Require pytz and pyOpenSSL, and Moksha
* Mon Jun 01 2009 John (J5) Palmieri <[email protected]> - 0.2-1
- first package after myfedora->fedoracommunity transition