forked from abrt/gnome-abrt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome-abrt.spec.in
364 lines (309 loc) · 12.8 KB
/
gnome-abrt.spec.in
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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# TODO: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
# rpmlint warns about private-shared-object-provides
# can't use filter because the package doesn't met any of the required criteria
# ! Noarch package ... caused by libreport wrappers shared library
# ! no binaries in $PATH ... caused by gnome-abrt python script in /usr/bin
Name: gnome-abrt
Version: @GNOME_ABRT_VERSION@
Release: 1%{?dist}
Summary: A utility for viewing problems that have occurred with the system
Group: User Interface/Desktops
License: GPLv2+
URL: https://fedorahosted.org/abrt/
Source0: https://github.com/downloads/jfilak/abrt-gnome-oops/%{name}-%{version}.tar.gz
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: libtool
BuildRequires: python2-devel
BuildRequires: desktop-file-utils
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: pygobject3-devel
BuildRequires: libreport-gtk-devel > 2.0.20
BuildRequires: abrt-gui-devel > 2.1.6.1
BuildRequires: gtk3-devel
%if 0%{?fedora}
BuildRequires: pylint
BuildRequires: python-inotify
BuildRequires: pygobject3
BuildRequires: dbus-python
%else
%define checkoption --with-nopylint
%endif
Requires: python-inotify
Requires: pygobject3
Requires: dbus-python
Requires: xdg-utils
%description
A GNOME application allows users to browse through detected problems and
provides them with convenient way for managing these problems.
%prep
%setup -q
%build
autoconf
%configure --prefix="/usr" %checkoption
make
%install
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%find_lang %{name}
# remove all .la and .a files
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
desktop-file-install \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--delete-original \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
%check
make check
%post
# update icon cache
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%doc COPYING
%{python_sitearch}/gnome_abrt
%{_datadir}/%{name}
%{_datadir}/%{name}/ui
%{_bindir}/%{name}
%{_datadir}/applications/*
%{_datadir}/appdata/*
%{_mandir}/man1/%{name}.1*
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/status/*
%changelog
* Mon Jan 13 2014 Jakub Filak <[email protected]> 0.3.5-1
- Do not crash when a FileIcon cant be loaded
- Enable multiple problems selection
- Fix a type in appdata
- Update translations
* Thu Dec 19 2013 Jakub Filak <[email protected]> 0.3.4-1
- Do not use deprecated GObject API
- Make gnome-abrt compatible with Python GObject < 3.7.2
- Do not fail if there is no Problem D-Bus service
- Make all labels selectable
- spec: Install UI files
- Fix locales handling
- Run xdg-open for problem directory nonblocking
- Expand list of problems
- Update translations
* Sat Oct 26 2013 Jakub Filak <[email protected]> 0.3.3-1
- Make problem list resizable
- Make info about Reported state of problem more clear
- Less confusing message about missing Bugzilla ticket
* Fri Oct 04 2013 Jakub Filak <[email protected]> 0.3.2-1
- Fix a bug in SIGCHLD handler causing 100% CPU usage
- Show "yes" in Reported field only if no URL is available
- Load only the most recent reported to value
- Check if Application has valid name in filter fn
- Do not change old selection upon reloading
- Fix issues found by new pylint
- Do not crash on None in signal handler
* Thu Sep 12 2013 Jakub Filak <[email protected]> 0.3.1-1
- Improve user experience
- Make About dialog transient for the main window
- Hook up AppData file in spec file
- Add AppData file
- Ship the 256x256 icon in the right place
- Recover from fork errors
- Add abrt_gui to build requires
- Add ABRT configure application menu
- Use absolute path in python shebang
- Fix broken make check
- Temporarily disable URL title retrieval
- Recover from invalid time stamp values
- Use wrapped text for the bug report link
* Fri Jul 26 2013 Jakub Filak <[email protected]> 0.3.0-1
- Do not include url files twice
- Get rid of Stock Items usage
- Do not remove invalid problems while sorting the list
- Check if X display can be opened
- Fix a condition in the source changed notification handler
- Update Translations
- Skip inotify events for sub folders in dump location watcher
- Use GLib.io_add_watch() instead of IOChanell.add_watch()
- Fix a typo in macro name
- remove shebang from non-executable scripts
- Remember missing elements and load them only once
- Download more problem elements in a single D-Bus call
- Improve data caching
- Display two sets of problems (My/System)
- Fix typo in dbus error message
- Replace 'exception.message' with just 'exception'
- Don't crash if a new directory problem is invalid
- Make all generated files dependent on configuration
* Fri May 03 2013 Jakub Filak <[email protected]> 0.2.12-1
- Use 'N/A' instead of ??
- Use package name is neither component nor executable items are available
- Don't try to select a problem if the list is empty
- Catch InvalidProblem exception in sort function
- Handle DBus initialization errors gracefully
- Show HTML titles of URLs from reported_to element
- updated translation
- Continue in handling of SIGCHLD after the first one is handled
- Merge pull request #22 from Catanzaro/master
- Fix two comma splices
- Fix wrong dialog flag names
* Mon Apr 22 2013 Jakub Filak <[email protected]> 0.2.11-1
- Enable pylint check only on Fedora
- Fix bogus dates in chagelog
- Introduce expert mode and show 'Analyze' button in that mode
- Use last occurrence item for problems sorting
- Fix broken keyboard shortcuts
- Fix missing space typo
- Compare all DesktopEntry.*() return values to None
- Display 'component' name instead of 'executable' if desktop file is missing
- Do not show scrollbar for long links
- Allow to disable pylint check in configure.ac
- Merge pull request #19 from clockfort/manpage-fix
- move manpage to volume 1
- Move gnome_abrt module check to module's Makefile
- Disable 'Interface not implemented' pylint warning
- Configure pylint to produce parseable output
* Thu Mar 28 2013 Jakub Filak <[email protected]> 0.2.10-1
- Fix a wrong import of GLib.GError
- Fix typos in configure.ac
- Add the report dialog to the menu
- Add 'Report problem with ABRT' dialog
- Add VERSION and PACKAGE attributes to gnome_abrt module
- Rename attribute in errors.InvalidProblem
- Use IOChannel approach in order to make signal handling synchronous
- Add all python Requires to BuildRequires because of pylint
- Replace GNU style make pattern rules by implicit rules
- Remove left-over RELEASE varible from configure.ac
- Recover from DBus errors while sending command line
- Catch more exceptions and handle them correctly
- Add pylint check and fix problems uncoverend by pylint
- Filter out empyt strings from splitted cmdline
- Fix sytanx error
- Change the label "No oopses" to "No problems detected"
- Get rid of scrollbar around the text on the bottom of window in default size
- Fix appearance of scrolled widgets to no longer have white background
- Remove leftover shebang from non-executable script
* Mon Mar 18 2013 Jakub Filak <[email protected]> 0.2.9-1
- Truncate long texts with ellipsis instead of auto-adjusting of window width
- Add a popopup menu for list of problems
- Use executable's basename as an application name instead of the full path
- Remove invalid problems from GUI tree view list
- Remove invalid problems from the dbus cache
- Robustize the processing of newly occurred problems
- autogen.sh: stop using bashisms
- Remove a left-over usage of the window member in OopsApplication
- Handle reaching inotify max watches better
- Update translation
- Don't allow reporting if the problem is not reportable
- Suggest reporting a bug if it wasn't reported yet
- Simplify the glade file and add a widget for messages
- Refactorize the function rendering a problem data
- A workaround for the bug in remote GtkApplications
- Allow only a single instance of gnome-abrt
- Fix bugs in main window in handler of configuration updates
* Mon Feb 25 2013 Jakub Filak <[email protected]> 0.2.8-1
- Add make release targets
- Always generate controller.py & gnome-abrt-glade.py
- Update the list of required files
- Make gen-version less stupid
- Use $ARGS variable for arguments in 'make run'
- Try harder when looking for icon and don't cache weak results
- Make controller more robust against invalid arguments
- Check return value of the get selection function
- Require correct version of libreport
- Return an empty list instead of None from OopsWindow.get_selected()
- Return an empty list instead of None from get_problems() in case of DBus error
- Get rid of unnecessary variable from the directory source
- Add a cmd line argument for selected problem id
* Fri Feb 08 2013 Jakub Filak <[email protected]> - 0.2.7-1
- Fix failure in processing of dump directories from user's home
- Resolves: #908712
* Tue Jan 08 2013 Jakub Filak <[email protected]> - 0.2.6-1
- Require libreport version 2.0.20 and greater
- Use DD api correctly
- Reflect changes in libreport
* Wed Nov 28 2012 Jakub Filak <[email protected]> - 0.2.5-1
- Add licenses to all files
- Refresh view's source if InvalidProblem exception is caught during GUI update
- Properly handle removal of the first and the last problem from the list
- Use right tree model in searching for problems
- Use theme backround color as background for the link buttons
- Make the links to servers less moving
- Keep user's selection even if a source has changed
- Destroy abrt-handle-event zombies
* Fri Oct 05 2012 Jakub Filak <[email protected]> - 0.2.4-1
- Fix label fields size
- Assure ownership of reported problem
- Remove unnecessary GtkEventBox
- Fix appearance of link button widget to no longer have a white background
- Update translations
* Fri Oct 05 2012 Jakub Filak <[email protected]> - 0.2.3-1
- Generate version
- Add GNOME3 application menu
- Use correct D-Bus path to listen on for Crash signal
- Make path to abrt-handle-event configurable
- Fix a bug in running of subprocesses
- Refactorize directory problems implementation
- Don't print weired debug message
- Don't show the 'reconnecting to dbus' warning
- Don't show new root's crashes by default
- Fix indentation
* Fri Sep 21 2012 Jakub Filak <[email protected]> - 0.2.2-1
- Lazy initialization of directory source
- Don't utilize CPU for 99%
- Code refactorization
- Add translation from the ABRT project
- Properly log exceptions
- Delete directory problems marked as invalid after refresh in inotify handler
- Declare directory problems deleted if its directory doesn't exist
- Fix indentation bug in icon look up algorithm
- Add --verbose command line argument
- Add directory name to error messages
* Mon Sep 17 2012 Jakub Filak <[email protected]> - 0.2.1-4
- Fix a problem with desktop items without icons
- A bit better handling of uncaght exceptions
* Mon Sep 17 2012 Jakub Filak <[email protected]> - 0.2.1-3
- Add cs and et translations
* Fri Sep 14 2012 Jakub Filak <[email protected]> - 0.2.1-2
- Fixed problem with selection of problem after start up
- Corrected application icon look up algorithm
- Fixed problem with missing problems directory
* Fri Sep 14 2012 Jakub Filak <[email protected]> - 0.2.1-1
- Detail button replaced by list of reported_to links
- Improved look (margins, icons, wider window by default)
- Implemented multiple delete
- Changed window tiple
- Double click and keyboard shortcuts
* Thu Sep 06 2012 Jakub Filak <[email protected]> - 0.2-9
- Remove noarch because of binary wrappers
- Added support for adjusting libreport preferences
* Tue Aug 28 2012 Jakub Filak <[email protected]> - 0.2-8
- Take ownership of all installed directories
- Correct paths to translated files
* Mon Aug 27 2012 Jakub Filak <[email protected]> - 0.2-7
- Dropped versions from requires
- Simplified spec
- Removed pylint check from configure.ac
- Whitespace cleanup ([email protected])
* Fri Aug 24 2012 Jakub Filak <[email protected]> - 0.2-6
- Use own icons set
* Fri Aug 24 2012 Jakub Filak <[email protected]> - 0.2-5
- Reorganize source files
- Get rid of all rpmlint complaints
* Thu Aug 23 2012 Jakub Filak <[email protected]> - 0.2-4
- Update GUI on various signals (new problem, problem changed, etc.)
- Sort problems by time in descending order
- Correct internationalization in date string generator
* Wed Aug 15 2012 Jakub Filak <[email protected]> - 0.2-3
- Reconnect to DBus bus
- Default values for missing items
- Correct field for 'is_reported' flag
* Wed Aug 15 2012 Jakub Filak <[email protected]> - 0.2-2
- Add missing files
* Wed Aug 15 2012 Jakub Filak <[email protected]> - 0.2-1
- Problems filtering
- Errors handling
- Localization support
* Mon Aug 13 2012 Jakub Filak <[email protected]> - 0.1-1
- Initial version