]>
Commit | Line | Data |
---|---|---|
fabfa611 JR |
1 | Summary: Generic library for reporting various problems |
2 | Name: libreport | |
3 | Version: 2.0.16 | |
8540c628 | 4 | Release: 4 |
fabfa611 JR |
5 | License: GPL v2 |
6 | Group: Libraries | |
7 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: b8aa7475152dc8420d7dd0c71752b5ed | |
9 | Patch0: format-security.patch | |
10 | URL: https://fedorahosted.org/abrt/ | |
11 | BuildRequires: asciidoc | |
12 | BuildRequires: btparser-devel | |
13 | BuildRequires: curl-devel | |
14 | BuildRequires: dbus-devel | |
15 | BuildRequires: desktop-file-utils | |
16 | BuildRequires: gettext | |
17 | BuildRequires: gtk+3-devel | |
18 | BuildRequires: intltool | |
19 | BuildRequires: libproxy-devel | |
20 | BuildRequires: libtar-devel | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libxml2-devel | |
23 | BuildRequires: newt-devel | |
24 | BuildRequires: nss-devel | |
25 | BuildRequires: python-devel | |
26 | BuildRequires: texinfo | |
27 | BuildRequires: xmlrpc-c-client-devel | |
28 | BuildRequires: xmlrpc-c-devel | |
29 | BuildRequires: xmlto | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | Libraries providing API for reporting different problems in | |
34 | applications to different bug targets like Bugzilla, ftp, trac, etc... | |
35 | ||
36 | %package common | |
37 | Summary: Common files for %{name} library | |
38 | Summary(pl.UTF-8): Wspólne pliki biblioteki %{name} | |
39 | Group: Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description common | |
43 | Common files for %{name} library. | |
44 | ||
45 | %description common -l pl.UTF-8 | |
46 | Wspólne pliki biblioteki %{name}. | |
47 | ||
48 | %package devel | |
49 | Summary: Header files for %{name} library | |
50 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name} | |
51 | Group: Development/Libraries | |
52 | Requires: %{name} = %{version}-%{release} | |
53 | ||
54 | %description devel | |
55 | Header files for %{name} library. | |
56 | ||
57 | %description devel -l pl.UTF-8 | |
58 | Pliki nagłówkowe biblioteki %{name}. | |
59 | ||
60 | %package web | |
61 | Summary: Library providing network API for libreport | |
62 | Group: Libraries | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | ||
65 | %description web | |
66 | Library providing network API for libreport | |
67 | ||
68 | %package web-devel | |
69 | Summary: Development headers for libreport-web | |
70 | Group: Development/Libraries | |
71 | Requires: %{name}-web = %{version}-%{release} | |
72 | ||
73 | %description web-devel | |
74 | Development headers for libreport-web | |
75 | ||
76 | %package python | |
77 | Summary: Python bindings for report-libs | |
78 | Group: Libraries | |
79 | Requires: %{name} = %{version}-%{release} | |
80 | ||
81 | %description python | |
82 | Python bindings for report-libs. | |
83 | ||
84 | %package cli | |
85 | Summary: %{name}'s command line interface | |
86 | Group: X11/Applications | |
87 | Requires: %{name} = %{version}-%{release} | |
88 | ||
89 | %description cli | |
90 | This package contains simple command line tool for working with | |
91 | problem dump reports | |
92 | ||
93 | %package newt | |
94 | Summary: %{name}'s newt interface | |
95 | Group: X11/Applications | |
96 | Requires: %{name} = %{version}-%{release} | |
97 | ||
98 | %description newt | |
99 | This package contains a simple newt application for reporting bugs | |
100 | ||
101 | %package gtk | |
102 | Summary: GTK front-end for libreport | |
103 | Group: X11/Applications | |
104 | Requires: %{name} = %{version}-%{release} | |
105 | ||
106 | %description gtk | |
107 | Applications for reporting bugs using libreport backend | |
108 | ||
109 | %package gtk-devel | |
110 | Summary: Development libraries and headers for libreport | |
111 | Group: Development/Libraries | |
112 | Requires: %{name}-gtk = %{version}-%{release} | |
113 | ||
114 | %description gtk-devel | |
115 | Development libraries and headers for libreport-gtk | |
116 | ||
117 | %package plugin-kerneloops | |
118 | Summary: %{name}'s kerneloops reporter plugin | |
119 | Group: Libraries | |
120 | Requires: %{name} = %{version}-%{release} | |
121 | Requires: curl | |
122 | ||
123 | %description plugin-kerneloops | |
124 | This package contains plugin which sends kernel crash information to | |
125 | specified server, usually to kerneloops.org. | |
126 | ||
127 | %package plugin-logger | |
128 | Summary: %{name}'s logger reporter plugin | |
129 | Group: Libraries | |
130 | Requires: %{name} = %{version}-%{release} | |
131 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
132 | ||
133 | %description plugin-logger | |
134 | The simple reporter plugin which writes a report to a specified file. | |
135 | ||
136 | %package plugin-mailx | |
137 | Summary: %{name}'s mailx reporter plugin | |
138 | Group: Libraries | |
139 | Requires: %{name} = %{version}-%{release} | |
140 | Requires: mailx | |
141 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
142 | ||
143 | %description plugin-mailx | |
144 | The simple reporter plugin which sends a report via mailx to a | |
145 | specified email address. | |
146 | ||
147 | %package plugin-bugzilla | |
148 | Summary: %{name}'s bugzilla plugin | |
149 | Group: Libraries | |
150 | Requires: %{name} = %{version}-%{release} | |
151 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 | |
152 | ||
153 | %package plugin-ureport | |
154 | Summary: %{name}'s micro report plugin | |
155 | Group: Libraries | |
156 | BuildRequires: json-c-devel | |
157 | Requires: %{name} = %{version}-%{release} | |
158 | ||
159 | %description plugin-ureport | |
160 | Uploads micro-report to abrt server | |
161 | ||
162 | %description plugin-bugzilla | |
163 | Plugin to report bugs into the bugzilla. | |
164 | ||
165 | %package plugin-rhtsupport | |
166 | Summary: %{name}'s RHTSupport plugin | |
167 | Group: Libraries | |
168 | Requires: %{name} = %{version}-%{release} | |
169 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 | |
170 | ||
171 | %description plugin-rhtsupport | |
172 | Plugin to report bugs into RH support system. | |
173 | ||
174 | %package plugin-reportuploader | |
175 | Summary: %{name}'s reportuploader plugin | |
176 | Group: Libraries | |
177 | Requires: %{name} = %{version}-%{release} | |
178 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 | |
179 | ||
180 | %description plugin-reportuploader | |
181 | Plugin to report bugs into anonymous FTP site associated with | |
182 | ticketing system. | |
183 | ||
184 | %prep | |
185 | %setup -q | |
186 | %patch0 -p1 | |
187 | ||
188 | %build | |
9548a96e | 189 | %configure |
fabfa611 JR |
190 | %{__make} |
191 | ||
192 | %install | |
193 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
194 | |
195 | %{__make} install \ | |
196 | DESTDIR=$RPM_BUILD_ROOT | |
197 | ||
198 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
199 | ||
200 | %find_lang %{name} | |
201 | ||
202 | %clean | |
203 | rm -rf $RPM_BUILD_ROOT | |
204 | ||
205 | %post -p /sbin/ldconfig | |
206 | %postun -p /sbin/ldconfig | |
9548a96e JR |
207 | |
208 | %post web -p /sbin/ldconfig | |
209 | %postun web -p /sbin/ldconfig | |
210 | ||
211 | %post gtk -p /sbin/ldconfig | |
212 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
213 | |
214 | %files -f %{name}.lang | |
215 | %defattr(644,root,root,755) | |
216 | %doc README | |
217 | %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf | |
218 | %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf | |
219 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* | |
220 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
221 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
222 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
223 | %{_mandir}/man5/report_event.conf.5* | |
224 | ||
225 | %files common | |
226 | %defattr(644,root,root,755) | |
227 | %dir %{_sysconfdir}/%{name} | |
228 | %dir %{_sysconfdir}/%{name}/events.d | |
229 | %dir %{_sysconfdir}/%{name}/events | |
230 | %dir %{_sysconfdir}/%{name}/plugins | |
231 | ||
232 | %files devel | |
233 | %defattr(644,root,root,755) | |
234 | %dir %{_includedir}/libreport | |
235 | %{_includedir}/libreport/client.h | |
236 | %{_includedir}/libreport/dump_dir.h | |
237 | %{_includedir}/libreport/event_config.h | |
238 | %{_includedir}/libreport/problem_data.h | |
239 | %{_includedir}/libreport/report.h | |
240 | %{_includedir}/libreport/run_event.h | |
241 | %{_includedir}/libreport/internal_abrt_dbus.h | |
242 | %{_includedir}/libreport/internal_libreport.h | |
243 | %attr(755,root,root) %{_libdir}/libreport.so | |
244 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
245 | %{_pkgconfigdir}/%{name}.pc | |
246 | ||
247 | %files web | |
248 | %defattr(644,root,root,755) | |
249 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
250 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
251 | ||
252 | %files web-devel | |
253 | %defattr(644,root,root,755) | |
254 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
255 | %{_includedir}/libreport/libreport_curl.h | |
256 | %{_pkgconfigdir}/libreport-web.pc | |
257 | ||
258 | %files python | |
259 | %defattr(644,root,root,755) | |
260 | %{py_sitedir}/report | |
261 | %{py_sitedir}/reportclient | |
262 | ||
263 | %files cli | |
264 | %defattr(644,root,root,755) | |
265 | %attr(755,root,root) %{_bindir}/report-cli | |
266 | %{_mandir}/man1/report-cli.1* | |
267 | ||
268 | %files newt | |
269 | %defattr(644,root,root,755) | |
270 | %attr(755,root,root) %{_bindir}/report-newt | |
271 | ||
272 | %files gtk | |
273 | %defattr(644,root,root,755) | |
274 | %attr(755,root,root) %{_bindir}/report-gtk | |
275 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
276 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
277 | ||
278 | %files gtk-devel | |
279 | %defattr(644,root,root,755) | |
280 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
281 | %{_includedir}/libreport/internal_libreport_gtk.h | |
282 | %{_pkgconfigdir}/libreport-gtk.pc | |
283 | ||
284 | %files plugin-kerneloops | |
285 | %defattr(644,root,root,755) | |
286 | %{_sysconfdir}/libreport/events/report_Kerneloops.xml | |
287 | %attr(755,root,root) %{_bindir}/reporter-kerneloops | |
288 | %{_mandir}/man1/reporter-kerneloops.1* | |
289 | ||
290 | %files plugin-logger | |
291 | %defattr(644,root,root,755) | |
292 | %{_sysconfdir}/libreport/events/report_Logger.conf | |
293 | %{_sysconfdir}/libreport/events/report_Logger.xml | |
294 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf | |
295 | %attr(755,root,root) %{_bindir}/reporter-print | |
296 | %{_mandir}/man1/reporter-print.1* | |
297 | ||
298 | %files plugin-mailx | |
299 | %defattr(644,root,root,755) | |
300 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf | |
301 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
302 | %{_sysconfdir}/libreport/events/report_Mailx.xml | |
303 | %attr(755,root,root) %{_bindir}/reporter-mailx | |
304 | %{_mandir}/man1/reporter-mailx.1* | |
305 | ||
306 | %files plugin-ureport | |
307 | %defattr(644,root,root,755) | |
308 | %attr(755,root,root) %{_bindir}/reporter-ureport | |
309 | %{_sysconfdir}/libreport/events/report_uReport.xml | |
310 | ||
311 | %files plugin-bugzilla | |
312 | %defattr(644,root,root,755) | |
313 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
314 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
315 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
316 | %{_sysconfdir}/libreport/events/report_Bugzilla.xml | |
317 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
318 | %{_mandir}/man1/reporter-bugzilla.1* | |
319 | ||
320 | %files plugin-rhtsupport | |
321 | %defattr(644,root,root,755) | |
322 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf | |
323 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
324 | %{_sysconfdir}/libreport/events/report_RHTSupport.xml | |
325 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport | |
326 | %{_mandir}/man1/reporter-rhtsupport.1* | |
327 | ||
328 | %files plugin-reportuploader | |
329 | %defattr(644,root,root,755) | |
330 | %attr(755,root,root) %{_bindir}/reporter-upload | |
331 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf | |
332 | %{_sysconfdir}/libreport/events/report_Uploader.xml | |
333 | %{_mandir}/man1/reporter-upload.1* |