]>
Commit | Line | Data |
---|---|---|
fabfa611 | 1 | Summary: Generic library for reporting various problems |
6a2e0478 | 2 | Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów |
fabfa611 JR |
3 | Name: libreport |
4 | Version: 2.0.16 | |
8540c628 | 5 | Release: 4 |
fabfa611 JR |
6 | License: GPL v2 |
7 | Group: Libraries | |
8 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b8aa7475152dc8420d7dd0c71752b5ed | |
10 | Patch0: format-security.patch | |
11 | URL: https://fedorahosted.org/abrt/ | |
12 | BuildRequires: asciidoc | |
13 | BuildRequires: btparser-devel | |
14 | BuildRequires: curl-devel | |
15 | BuildRequires: dbus-devel | |
16 | BuildRequires: desktop-file-utils | |
17 | BuildRequires: gettext | |
18 | BuildRequires: gtk+3-devel | |
19 | BuildRequires: intltool | |
6a2e0478 | 20 | BuildRequires: json-c-devel |
fabfa611 JR |
21 | BuildRequires: libproxy-devel |
22 | BuildRequires: libtar-devel | |
23 | BuildRequires: libtool | |
24 | BuildRequires: libxml2-devel | |
25 | BuildRequires: newt-devel | |
26 | BuildRequires: nss-devel | |
27 | BuildRequires: python-devel | |
28 | BuildRequires: texinfo | |
29 | BuildRequires: xmlrpc-c-client-devel | |
30 | BuildRequires: xmlrpc-c-devel | |
31 | BuildRequires: xmlto | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | Libraries providing API for reporting different problems in | |
36 | applications to different bug targets like Bugzilla, ftp, trac, etc... | |
37 | ||
6a2e0478 JB |
38 | %description -l pl.UTF-8 |
39 | Biblioteki udostępniające API do zgłaszania różnych programów w | |
40 | aplikacjach do różnych docelowych systemów raportowania błędów, takich | |
41 | jak Bugzilla, ftp, trac... | |
fabfa611 JR |
42 | |
43 | %package devel | |
6a2e0478 JB |
44 | Summary: Header files for libreport libraries |
45 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport | |
fabfa611 JR |
46 | Group: Development/Libraries |
47 | Requires: %{name} = %{version}-%{release} | |
48 | ||
49 | %description devel | |
6a2e0478 | 50 | Header files for libreport libraries. |
fabfa611 JR |
51 | |
52 | %description devel -l pl.UTF-8 | |
6a2e0478 | 53 | Pliki nagłówkowe bibliotek libreport. |
fabfa611 JR |
54 | |
55 | %package web | |
56 | Summary: Library providing network API for libreport | |
6a2e0478 | 57 | Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport |
fabfa611 JR |
58 | Group: Libraries |
59 | Requires: %{name} = %{version}-%{release} | |
60 | ||
61 | %description web | |
6a2e0478 JB |
62 | Library providing network API for libreport. |
63 | ||
64 | %description web -l pl.UTF-8 | |
65 | Biblioteka zapewniająca API sieciowe dla libreport. | |
fabfa611 JR |
66 | |
67 | %package web-devel | |
68 | Summary: Development headers for libreport-web | |
6a2e0478 | 69 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web |
fabfa611 | 70 | Group: Development/Libraries |
6a2e0478 | 71 | Requires: %{name}-devel = %{version}-%{release} |
fabfa611 JR |
72 | Requires: %{name}-web = %{version}-%{release} |
73 | ||
74 | %description web-devel | |
6a2e0478 JB |
75 | Development headers for libreport-web. |
76 | ||
77 | %description web-devel -l pl.UTF-8 | |
78 | Pliki nagłówkowe biblioteki libreport-web. | |
fabfa611 JR |
79 | |
80 | %package python | |
6a2e0478 JB |
81 | Summary: Python bindings for libreport libraries |
82 | Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport | |
83 | Group: Libraries/Python | |
fabfa611 JR |
84 | Requires: %{name} = %{version}-%{release} |
85 | ||
86 | %description python | |
6a2e0478 JB |
87 | Python bindings for libreport libraries. |
88 | ||
89 | %description python -l pl.UTF-8 | |
90 | Wiązania Pythona dla bibliotek libreport | |
fabfa611 JR |
91 | |
92 | %package cli | |
6a2e0478 JB |
93 | Summary: libreport's command line interface |
94 | Summary(pl.UTF-8): Interfejs linii poleceń libreport | |
95 | Group: Applications | |
fabfa611 JR |
96 | Requires: %{name} = %{version}-%{release} |
97 | ||
98 | %description cli | |
99 | This package contains simple command line tool for working with | |
6a2e0478 JB |
100 | problem dump reports. |
101 | ||
102 | %description cli -l pl.UTF-8 | |
103 | Ten pakiet zawiera proste, działające z linii poleceń narzędzie do | |
104 | pracy ze zgłoszeniami zawierającymi zrzuty problemów. | |
fabfa611 JR |
105 | |
106 | %package newt | |
6a2e0478 JB |
107 | Summary: libreport's newt interface |
108 | Summary(pl.UTF-8): Interfejs newt libreport | |
109 | Group: Applications | |
fabfa611 JR |
110 | Requires: %{name} = %{version}-%{release} |
111 | ||
112 | %description newt | |
6a2e0478 JB |
113 | This package contains a simple newt application for reporting bugs. |
114 | ||
115 | %description newt -l pl.UTF-8 | |
116 | Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów. | |
fabfa611 JR |
117 | |
118 | %package gtk | |
6a2e0478 JB |
119 | Summary: GTK+ front-end for libreport |
120 | Summary(pl.UTF-8): Interfejs GTK+ libreport | |
fabfa611 JR |
121 | Group: X11/Applications |
122 | Requires: %{name} = %{version}-%{release} | |
123 | ||
124 | %description gtk | |
6a2e0478 JB |
125 | Application for reporting bugs using libreport backend. |
126 | ||
127 | %description gtk -l pl.UTF-8 | |
128 | Aplikacja do zgłaszania błędów przy użyciu libreport. | |
fabfa611 JR |
129 | |
130 | %package gtk-devel | |
6a2e0478 JB |
131 | Summary: Development headers for libreport-gtk |
132 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk | |
fabfa611 JR |
133 | Group: Development/Libraries |
134 | Requires: %{name}-gtk = %{version}-%{release} | |
135 | ||
136 | %description gtk-devel | |
6a2e0478 JB |
137 | Development headers for libreport-gtk. |
138 | ||
139 | %description gtk-devel -l pl.UTF-8 | |
140 | Pliki nagłówkowe biblioteki libreport-gtk. | |
fabfa611 JR |
141 | |
142 | %package plugin-kerneloops | |
6a2e0478 JB |
143 | Summary: libreport's kerneloops reporter plugin |
144 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
fabfa611 JR |
145 | Group: Libraries |
146 | Requires: %{name} = %{version}-%{release} | |
147 | Requires: curl | |
148 | ||
149 | %description plugin-kerneloops | |
150 | This package contains plugin which sends kernel crash information to | |
151 | specified server, usually to kerneloops.org. | |
152 | ||
6a2e0478 JB |
153 | %description plugin-kerneloops -l pl.UTF-8 |
154 | Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na | |
155 | określony serwer, zwykle kerneloops.org. | |
156 | ||
fabfa611 | 157 | %package plugin-logger |
6a2e0478 JB |
158 | Summary: libreport's logger reporter plugin |
159 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
fabfa611 JR |
160 | Group: Libraries |
161 | Requires: %{name} = %{version}-%{release} | |
162 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
163 | ||
164 | %description plugin-logger | |
165 | The simple reporter plugin which writes a report to a specified file. | |
166 | ||
6a2e0478 JB |
167 | %description plugin-logger -l pl.UTF-8 |
168 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
169 | pliku. | |
170 | ||
fabfa611 | 171 | %package plugin-mailx |
6a2e0478 JB |
172 | Summary: libreport's mailx reporter plugin |
173 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
fabfa611 JR |
174 | Group: Libraries |
175 | Requires: %{name} = %{version}-%{release} | |
176 | Requires: mailx | |
177 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
178 | ||
179 | %description plugin-mailx | |
180 | The simple reporter plugin which sends a report via mailx to a | |
181 | specified email address. | |
182 | ||
6a2e0478 JB |
183 | %description plugin-mailx -l pl.UTF-8 |
184 | Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony | |
185 | adres e-mail przy użyciu programu mailx. | |
186 | ||
fabfa611 | 187 | %package plugin-bugzilla |
6a2e0478 JB |
188 | Summary: libreport's bugzilla plugin |
189 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę | |
fabfa611 JR |
190 | Group: Libraries |
191 | Requires: %{name} = %{version}-%{release} | |
192 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 | |
193 | ||
6a2e0478 JB |
194 | %description plugin-bugzilla |
195 | Plugin to report bugs into the bugzilla. | |
196 | ||
197 | %description plugin-bugzilla -l pl.UTF-8 | |
198 | Wtyczka zgłaszająca problemy do systemu Bugzilla. | |
199 | ||
fabfa611 | 200 | %package plugin-ureport |
6a2e0478 JB |
201 | Summary: libreport's micro report plugin |
202 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
fabfa611 | 203 | Group: Libraries |
fabfa611 JR |
204 | Requires: %{name} = %{version}-%{release} |
205 | ||
206 | %description plugin-ureport | |
6a2e0478 | 207 | Uploads micro-report to abrt server. |
fabfa611 | 208 | |
6a2e0478 JB |
209 | %description plugin-ureport -l pl.UTF-8 |
210 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
fabfa611 JR |
211 | |
212 | %package plugin-rhtsupport | |
6a2e0478 JB |
213 | Summary: libreport's RHTSupport plugin |
214 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport | |
fabfa611 JR |
215 | Group: Libraries |
216 | Requires: %{name} = %{version}-%{release} | |
217 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 | |
218 | ||
219 | %description plugin-rhtsupport | |
220 | Plugin to report bugs into RH support system. | |
221 | ||
6a2e0478 JB |
222 | %description plugin-rhtsupport -l pl.UTF-8 |
223 | Wtyczka zgłaszająca problemy do systemu obsługi RH. | |
224 | ||
fabfa611 | 225 | %package plugin-reportuploader |
6a2e0478 JB |
226 | Summary: libreport's reportuploader plugin |
227 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
fabfa611 JR |
228 | Group: Libraries |
229 | Requires: %{name} = %{version}-%{release} | |
230 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 | |
231 | ||
232 | %description plugin-reportuploader | |
233 | Plugin to report bugs into anonymous FTP site associated with | |
234 | ticketing system. | |
235 | ||
6a2e0478 JB |
236 | %description plugin-reportuploader -l pl.UTF-8 |
237 | Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z | |
238 | systemem biletów. | |
239 | ||
fabfa611 JR |
240 | %prep |
241 | %setup -q | |
242 | %patch0 -p1 | |
243 | ||
244 | %build | |
9548a96e | 245 | %configure |
fabfa611 JR |
246 | %{__make} |
247 | ||
248 | %install | |
249 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
250 | |
251 | %{__make} install \ | |
252 | DESTDIR=$RPM_BUILD_ROOT | |
253 | ||
254 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
255 | ||
256 | %find_lang %{name} | |
257 | ||
258 | %clean | |
259 | rm -rf $RPM_BUILD_ROOT | |
260 | ||
261 | %post -p /sbin/ldconfig | |
262 | %postun -p /sbin/ldconfig | |
9548a96e JR |
263 | |
264 | %post web -p /sbin/ldconfig | |
265 | %postun web -p /sbin/ldconfig | |
266 | ||
267 | %post gtk -p /sbin/ldconfig | |
268 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
269 | |
270 | %files -f %{name}.lang | |
271 | %defattr(644,root,root,755) | |
272 | %doc README | |
6a2e0478 | 273 | %dir %{_sysconfdir}/%{name} |
fabfa611 JR |
274 | %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf |
275 | %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf | |
6a2e0478 JB |
276 | %dir %{_sysconfdir}/%{name}/events.d |
277 | %dir %{_sysconfdir}/%{name}/events | |
278 | %dir %{_sysconfdir}/%{name}/plugins | |
fabfa611 JR |
279 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
280 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
281 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
282 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
283 | %{_mandir}/man5/report_event.conf.5* | |
284 | ||
fabfa611 JR |
285 | %files devel |
286 | %defattr(644,root,root,755) | |
6a2e0478 JB |
287 | %attr(755,root,root) %{_libdir}/libreport.so |
288 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
289 | %dir %{_includedir}/libreport |
290 | %{_includedir}/libreport/client.h | |
291 | %{_includedir}/libreport/dump_dir.h | |
292 | %{_includedir}/libreport/event_config.h | |
293 | %{_includedir}/libreport/problem_data.h | |
294 | %{_includedir}/libreport/report.h | |
295 | %{_includedir}/libreport/run_event.h | |
296 | %{_includedir}/libreport/internal_abrt_dbus.h | |
297 | %{_includedir}/libreport/internal_libreport.h | |
fabfa611 JR |
298 | %{_pkgconfigdir}/%{name}.pc |
299 | ||
300 | %files web | |
301 | %defattr(644,root,root,755) | |
302 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
303 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
304 | ||
305 | %files web-devel | |
306 | %defattr(644,root,root,755) | |
307 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
308 | %{_includedir}/libreport/libreport_curl.h | |
309 | %{_pkgconfigdir}/libreport-web.pc | |
310 | ||
311 | %files python | |
312 | %defattr(644,root,root,755) | |
313 | %{py_sitedir}/report | |
314 | %{py_sitedir}/reportclient | |
315 | ||
316 | %files cli | |
317 | %defattr(644,root,root,755) | |
318 | %attr(755,root,root) %{_bindir}/report-cli | |
319 | %{_mandir}/man1/report-cli.1* | |
320 | ||
321 | %files newt | |
322 | %defattr(644,root,root,755) | |
323 | %attr(755,root,root) %{_bindir}/report-newt | |
324 | ||
325 | %files gtk | |
326 | %defattr(644,root,root,755) | |
327 | %attr(755,root,root) %{_bindir}/report-gtk | |
328 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
329 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
330 | ||
331 | %files gtk-devel | |
332 | %defattr(644,root,root,755) | |
333 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
334 | %{_includedir}/libreport/internal_libreport_gtk.h | |
335 | %{_pkgconfigdir}/libreport-gtk.pc | |
336 | ||
337 | %files plugin-kerneloops | |
338 | %defattr(644,root,root,755) | |
fabfa611 | 339 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
6a2e0478 | 340 | %{_sysconfdir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
341 | %{_mandir}/man1/reporter-kerneloops.1* |
342 | ||
343 | %files plugin-logger | |
344 | %defattr(644,root,root,755) | |
6a2e0478 | 345 | %attr(755,root,root) %{_bindir}/reporter-print |
fabfa611 JR |
346 | %{_sysconfdir}/libreport/events/report_Logger.conf |
347 | %{_sysconfdir}/libreport/events/report_Logger.xml | |
348 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf | |
fabfa611 JR |
349 | %{_mandir}/man1/reporter-print.1* |
350 | ||
351 | %files plugin-mailx | |
352 | %defattr(644,root,root,755) | |
6a2e0478 | 353 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
354 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
355 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
356 | %{_sysconfdir}/libreport/events/report_Mailx.xml | |
fabfa611 JR |
357 | %{_mandir}/man1/reporter-mailx.1* |
358 | ||
fabfa611 JR |
359 | %files plugin-bugzilla |
360 | %defattr(644,root,root,755) | |
6a2e0478 | 361 | %attr(755,root,root) %{_bindir}/reporter-bugzilla |
fabfa611 JR |
362 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf |
363 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
364 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
365 | %{_sysconfdir}/libreport/events/report_Bugzilla.xml | |
fabfa611 JR |
366 | %{_mandir}/man1/reporter-bugzilla.1* |
367 | ||
6a2e0478 JB |
368 | %files plugin-ureport |
369 | %defattr(644,root,root,755) | |
370 | %attr(755,root,root) %{_bindir}/reporter-ureport | |
371 | %{_sysconfdir}/libreport/events/report_uReport.xml | |
372 | ||
fabfa611 JR |
373 | %files plugin-rhtsupport |
374 | %defattr(644,root,root,755) | |
6a2e0478 | 375 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
376 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
377 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
378 | %{_sysconfdir}/libreport/events/report_RHTSupport.xml | |
fabfa611 JR |
379 | %{_mandir}/man1/reporter-rhtsupport.1* |
380 | ||
381 | %files plugin-reportuploader | |
382 | %defattr(644,root,root,755) | |
383 | %attr(755,root,root) %{_bindir}/reporter-upload | |
384 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf | |
385 | %{_sysconfdir}/libreport/events/report_Uploader.xml | |
386 | %{_mandir}/man1/reporter-upload.1* |