]> git.pld-linux.org Git - packages/libreport.git/blame - libreport.spec
- updated to 2.1.3
[packages/libreport.git] / libreport.spec
CommitLineData
fabfa611 1Summary: Generic library for reporting various problems
6a2e0478 2Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów
fabfa611 3Name: libreport
97b82249 4Version: 2.1.3
742c5e14
JB
5Release: 1
6License: GPL v2+
fabfa611
JR
7Group: Libraries
8Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
97b82249 9# Source0-md5: bae83bebcb2601707ac780c53d16e7fe
fabfa611
JR
10Patch0: format-security.patch
11URL: https://fedorahosted.org/abrt/
12BuildRequires: asciidoc
13BuildRequires: btparser-devel
14BuildRequires: curl-devel
15BuildRequires: dbus-devel
16BuildRequires: desktop-file-utils
742c5e14
JB
17BuildRequires: gettext-devel >= 0.17
18BuildRequires: glib2-devel >= 1:2.21
19BuildRequires: gtk+3-devel >= 3.0
20BuildRequires: intltool >= 0.35.0
6a2e0478 21BuildRequires: json-c-devel
fabfa611
JR
22BuildRequires: libproxy-devel
23BuildRequires: libtar-devel
24BuildRequires: libtool
742c5e14 25BuildRequires: libxml2-devel >= 2
fabfa611
JR
26BuildRequires: newt-devel
27BuildRequires: nss-devel
742c5e14 28BuildRequires: pkgconfig
fabfa611 29BuildRequires: python-devel
fabfa611
JR
30BuildRequires: xmlrpc-c-client-devel
31BuildRequires: xmlrpc-c-devel
32BuildRequires: xmlto
742c5e14 33Requires: glib2 >= 1:2.21
fabfa611
JR
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37Libraries providing API for reporting different problems in
38applications to different bug targets like Bugzilla, ftp, trac, etc...
39
6a2e0478
JB
40%description -l pl.UTF-8
41Biblioteki udostępniające API do zgłaszania różnych programów w
42aplikacjach do różnych docelowych systemów raportowania błędów, takich
43jak Bugzilla, ftp, trac...
fabfa611
JR
44
45%package devel
6a2e0478
JB
46Summary: Header files for libreport libraries
47Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport
fabfa611
JR
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
742c5e14 50Requires: glib2-devel >= 1:2.21
fabfa611
JR
51
52%description devel
6a2e0478 53Header files for libreport libraries.
fabfa611
JR
54
55%description devel -l pl.UTF-8
6a2e0478 56Pliki nagłówkowe bibliotek libreport.
fabfa611
JR
57
58%package web
59Summary: Library providing network API for libreport
6a2e0478 60Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport
fabfa611
JR
61Group: Libraries
62Requires: %{name} = %{version}-%{release}
63
64%description web
6a2e0478
JB
65Library providing network API for libreport.
66
67%description web -l pl.UTF-8
68Biblioteka zapewniająca API sieciowe dla libreport.
fabfa611
JR
69
70%package web-devel
71Summary: Development headers for libreport-web
6a2e0478 72Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web
fabfa611 73Group: Development/Libraries
6a2e0478 74Requires: %{name}-devel = %{version}-%{release}
fabfa611 75Requires: %{name}-web = %{version}-%{release}
742c5e14
JB
76Requires: btparser-devel
77Requires: curl-devel
78Requires: json-c-devel
79Requires: libproxy-devel
80Requires: libxml2-devel >= 2
81Requires: xmlrpc-c-client-devel
82Requires: xmlrpc-c-devel
fabfa611
JR
83
84%description web-devel
6a2e0478
JB
85Development headers for libreport-web.
86
87%description web-devel -l pl.UTF-8
88Pliki nagłówkowe biblioteki libreport-web.
fabfa611
JR
89
90%package python
6a2e0478
JB
91Summary: Python bindings for libreport libraries
92Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport
93Group: Libraries/Python
fabfa611
JR
94Requires: %{name} = %{version}-%{release}
95
96%description python
6a2e0478
JB
97Python bindings for libreport libraries.
98
99%description python -l pl.UTF-8
100Wiązania Pythona dla bibliotek libreport
fabfa611
JR
101
102%package cli
6a2e0478
JB
103Summary: libreport's command line interface
104Summary(pl.UTF-8): Interfejs linii poleceń libreport
105Group: Applications
fabfa611
JR
106Requires: %{name} = %{version}-%{release}
107
108%description cli
109This package contains simple command line tool for working with
6a2e0478
JB
110problem dump reports.
111
112%description cli -l pl.UTF-8
113Ten pakiet zawiera proste, działające z linii poleceń narzędzie do
114pracy ze zgłoszeniami zawierającymi zrzuty problemów.
fabfa611
JR
115
116%package newt
6a2e0478
JB
117Summary: libreport's newt interface
118Summary(pl.UTF-8): Interfejs newt libreport
119Group: Applications
fabfa611
JR
120Requires: %{name} = %{version}-%{release}
121
122%description newt
6a2e0478
JB
123This package contains a simple newt application for reporting bugs.
124
125%description newt -l pl.UTF-8
126Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów.
fabfa611
JR
127
128%package gtk
6a2e0478
JB
129Summary: GTK+ front-end for libreport
130Summary(pl.UTF-8): Interfejs GTK+ libreport
fabfa611
JR
131Group: X11/Applications
132Requires: %{name} = %{version}-%{release}
133
134%description gtk
6a2e0478
JB
135Application for reporting bugs using libreport backend.
136
137%description gtk -l pl.UTF-8
138Aplikacja do zgłaszania błędów przy użyciu libreport.
fabfa611
JR
139
140%package gtk-devel
6a2e0478
JB
141Summary: Development headers for libreport-gtk
142Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk
fabfa611
JR
143Group: Development/Libraries
144Requires: %{name}-gtk = %{version}-%{release}
145
146%description gtk-devel
6a2e0478
JB
147Development headers for libreport-gtk.
148
149%description gtk-devel -l pl.UTF-8
150Pliki nagłówkowe biblioteki libreport-gtk.
fabfa611 151
742c5e14
JB
152%package plugin-bugzilla
153Summary: libreport's bugzilla plugin
154Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę
155Group: Libraries
156Requires: %{name} = %{version}-%{release}
157Obsoletes: abrt-plugin-bugzilla < 2.0.4
158
159%description plugin-bugzilla
160Plugin to report bugs into the bugzilla.
161
162%description plugin-bugzilla -l pl.UTF-8
163Wtyczka zgłaszająca problemy do systemu Bugzilla.
164
fabfa611 165%package plugin-kerneloops
6a2e0478
JB
166Summary: libreport's kerneloops reporter plugin
167Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops)
fabfa611
JR
168Group: Libraries
169Requires: %{name} = %{version}-%{release}
170Requires: curl
171
172%description plugin-kerneloops
173This package contains plugin which sends kernel crash information to
174specified server, usually to kerneloops.org.
175
6a2e0478
JB
176%description plugin-kerneloops -l pl.UTF-8
177Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na
178określony serwer, zwykle kerneloops.org.
179
fabfa611 180%package plugin-logger
6a2e0478
JB
181Summary: libreport's logger reporter plugin
182Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu
fabfa611
JR
183Group: Libraries
184Requires: %{name} = %{version}-%{release}
185Obsoletes: abrt-plugin-logger < 2.0.4
186
187%description plugin-logger
188The simple reporter plugin which writes a report to a specified file.
189
6a2e0478
JB
190%description plugin-logger -l pl.UTF-8
191Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym
192pliku.
193
fabfa611 194%package plugin-mailx
6a2e0478
JB
195Summary: libreport's mailx reporter plugin
196Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną
fabfa611
JR
197Group: Libraries
198Requires: %{name} = %{version}-%{release}
199Requires: mailx
200Obsoletes: abrt-plugin-mailx < 2.0.4
201
202%description plugin-mailx
203The simple reporter plugin which sends a report via mailx to a
204specified email address.
205
6a2e0478
JB
206%description plugin-mailx -l pl.UTF-8
207Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
208adres e-mail przy użyciu programu mailx.
209
742c5e14
JB
210%package plugin-reportuploader
211Summary: libreport's reportuploader plugin
212Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP
fabfa611 213Group: Libraries
fabfa611 214Requires: %{name} = %{version}-%{release}
742c5e14 215Obsoletes: abrt-plugin-reportuploader < 2.0.4
fabfa611 216
742c5e14
JB
217%description plugin-reportuploader
218Plugin to report bugs into anonymous FTP site associated with
219ticketing system.
fabfa611 220
742c5e14
JB
221%description plugin-reportuploader -l pl.UTF-8
222Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z
223systemem biletów.
fabfa611
JR
224
225%package plugin-rhtsupport
6a2e0478
JB
226Summary: libreport's RHTSupport plugin
227Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport
fabfa611
JR
228Group: Libraries
229Requires: %{name} = %{version}-%{release}
230Obsoletes: abrt-plugin-rhtsupport < 2.0.4
231
232%description plugin-rhtsupport
233Plugin to report bugs into RH support system.
234
6a2e0478
JB
235%description plugin-rhtsupport -l pl.UTF-8
236Wtyczka zgłaszająca problemy do systemu obsługi RH.
237
742c5e14
JB
238%package plugin-ureport
239Summary: libreport's micro report plugin
240Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report
fabfa611
JR
241Group: Libraries
242Requires: %{name} = %{version}-%{release}
fabfa611 243
742c5e14
JB
244%description plugin-ureport
245Uploads micro-report to abrt server.
fabfa611 246
742c5e14
JB
247%description plugin-ureport -l pl.UTF-8
248Wtyczka przesyłająca raporty typu micro-report na serwer abrt.
249
250%package anaconda
251Summary: Default configuration for reporting Anaconda bugs
252Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie
253Group: Applications/File
254Requires: %{name}-plugin-bugzilla = %{version}-%{release}
255Requires: %{name}-plugin-reportuploader = %{version}-%{release}
256
257%description anaconda
258Default configuration for reporting Anaconda problems using Fedora
259infrastructure or uploading the gathered data over ftp/scp...
260
261%description anaconda -l pl.UTF-8
262Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu
263infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp.
264
265%package fedora
266Summary: Default configuration for reporting bugs via Fedora infrastructure
267Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory
268Group: Applications/File
269Requires: %{name} = %{version}-%{release}
270
271%description fedora
272Default configuration for reporting bugs via Fedora infrastructure
273used primarily to easy configure the reporting process for Fedora
274systems.
275
276%description fedora -l pl.UTF-8
277Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
278Fedory, służąca przede wszystkim do łatwej konfiguracji procesu
279zgłaszania błędów w systemach Fedora.
6a2e0478 280
97b82249
JB
281%package rhel
282Summary: Default configuration for reporting bugs via RHEL infrastructure
283Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL
284Group: Applications/File
285Requires: %{name} = %{version}-%{release}
286
287%description rhel
288Default configuration for reporting bugs via RHEL infrastructure used
289primarily to easy configure the reporting process for RHEL systems.
290
291%description rhel -l pl.UTF-8
292Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
293RHEL, służąca przede wszystkim do łatwej konfiguracji procesu
294zgłaszania błędów w systemach RHEL.
295
fabfa611
JR
296%prep
297%setup -q
298%patch0 -p1
299
300%build
742c5e14
JB
301%configure \
302 --disable-silent-rules
fabfa611
JR
303%{__make}
304
305%install
306rm -rf $RPM_BUILD_ROOT
fabfa611
JR
307
308%{__make} install \
309 DESTDIR=$RPM_BUILD_ROOT
310
311%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
742c5e14
JB
312# compat layer for compatibility tool
313%{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1}
fabfa611
JR
314
315%find_lang %{name}
316
317%clean
318rm -rf $RPM_BUILD_ROOT
319
320%post -p /sbin/ldconfig
321%postun -p /sbin/ldconfig
9548a96e
JR
322
323%post web -p /sbin/ldconfig
324%postun web -p /sbin/ldconfig
325
326%post gtk -p /sbin/ldconfig
327%postun gtk -p /sbin/ldconfig
fabfa611
JR
328
329%files -f %{name}.lang
330%defattr(644,root,root,755)
331%doc README
6a2e0478 332%dir %{_sysconfdir}/%{name}
fabfa611
JR
333%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
334%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
6a2e0478 335%dir %{_sysconfdir}/%{name}/events
742c5e14 336%dir %{_sysconfdir}/%{name}/events.d
6a2e0478 337%dir %{_sysconfdir}/%{name}/plugins
742c5e14
JB
338%dir %{_sysconfdir}/%{name}/workflows
339%dir %{_sysconfdir}/%{name}/workflows.d
fabfa611
JR
340%attr(755,root,root) %{_libdir}/libreport.so.*.*.*
341%attr(755,root,root) %ghost %{_libdir}/libreport.so.0
342%attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
343%attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
344%{_mandir}/man5/report_event.conf.5*
345
fabfa611
JR
346%files devel
347%defattr(644,root,root,755)
6a2e0478
JB
348%attr(755,root,root) %{_libdir}/libreport.so
349%attr(755,root,root) %{_libdir}/libabrt_dbus.so
fabfa611
JR
350%dir %{_includedir}/libreport
351%{_includedir}/libreport/client.h
742c5e14 352%{_includedir}/libreport/config_item_info.h
fabfa611
JR
353%{_includedir}/libreport/dump_dir.h
354%{_includedir}/libreport/event_config.h
742c5e14 355%{_includedir}/libreport/file_obj.h
fabfa611
JR
356%{_includedir}/libreport/problem_data.h
357%{_includedir}/libreport/report.h
358%{_includedir}/libreport/run_event.h
359%{_includedir}/libreport/internal_abrt_dbus.h
360%{_includedir}/libreport/internal_libreport.h
742c5e14 361%{_includedir}/libreport/workflow.h
97b82249 362%{_includedir}/libreport/xml_parser.h
fabfa611
JR
363%{_pkgconfigdir}/%{name}.pc
364
365%files web
366%defattr(644,root,root,755)
367%attr(755,root,root) %{_libdir}/libreport-web.so.*.*
368%attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0
369
370%files web-devel
371%defattr(644,root,root,755)
372%attr(755,root,root) %{_libdir}/libreport-web.so
373%{_includedir}/libreport/libreport_curl.h
374%{_pkgconfigdir}/libreport-web.pc
375
376%files python
377%defattr(644,root,root,755)
378%{py_sitedir}/report
379%{py_sitedir}/reportclient
380
381%files cli
382%defattr(644,root,root,755)
383%attr(755,root,root) %{_bindir}/report-cli
384%{_mandir}/man1/report-cli.1*
385
386%files newt
387%defattr(644,root,root,755)
388%attr(755,root,root) %{_bindir}/report-newt
389
390%files gtk
391%defattr(644,root,root,755)
392%attr(755,root,root) %{_bindir}/report-gtk
742c5e14 393%attr(755,root,root) %{_libexecdir}/abrt-screencast
fabfa611
JR
394%attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
395%attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
396
397%files gtk-devel
398%defattr(644,root,root,755)
399%attr(755,root,root) %{_libdir}/libreport-gtk.so
400%{_includedir}/libreport/internal_libreport_gtk.h
401%{_pkgconfigdir}/libreport-gtk.pc
402
742c5e14
JB
403%files plugin-bugzilla
404%defattr(644,root,root,755)
405%attr(755,root,root) %{_bindir}/reporter-bugzilla
406%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
407%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
408%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
409%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
410%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
411%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
412%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
413%{_sysconfdir}/libreport/events/report_Bugzilla.xml
414%{_mandir}/man1/reporter-bugzilla.1*
415
fabfa611
JR
416%files plugin-kerneloops
417%defattr(644,root,root,755)
fabfa611 418%attr(755,root,root) %{_bindir}/reporter-kerneloops
6a2e0478 419%{_sysconfdir}/libreport/events/report_Kerneloops.xml
fabfa611
JR
420%{_mandir}/man1/reporter-kerneloops.1*
421
422%files plugin-logger
423%defattr(644,root,root,755)
6a2e0478 424%attr(755,root,root) %{_bindir}/reporter-print
fabfa611
JR
425%{_sysconfdir}/libreport/events/report_Logger.conf
426%{_sysconfdir}/libreport/events/report_Logger.xml
427%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
fabfa611
JR
428%{_mandir}/man1/reporter-print.1*
429
430%files plugin-mailx
431%defattr(644,root,root,755)
6a2e0478 432%attr(755,root,root) %{_bindir}/reporter-mailx
fabfa611
JR
433%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
434%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
435%{_sysconfdir}/libreport/events/report_Mailx.xml
fabfa611
JR
436%{_mandir}/man1/reporter-mailx.1*
437
742c5e14 438%files plugin-reportuploader
6a2e0478 439%defattr(644,root,root,755)
742c5e14
JB
440%attr(755,root,root) %{_bindir}/reporter-upload
441%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
442%{_sysconfdir}/libreport/events/report_Uploader.xml
443%{_sysconfdir}/libreport/workflows/workflow_Upload.xml
444%{_mandir}/man1/reporter-upload.1*
6a2e0478 445
fabfa611
JR
446%files plugin-rhtsupport
447%defattr(644,root,root,755)
6a2e0478 448%attr(755,root,root) %{_bindir}/reporter-rhtsupport
fabfa611
JR
449%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
450%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
451%{_sysconfdir}/libreport/events/report_RHTSupport.xml
fabfa611
JR
452%{_mandir}/man1/reporter-rhtsupport.1*
453
742c5e14 454%files plugin-ureport
fabfa611 455%defattr(644,root,root,755)
742c5e14
JB
456%attr(755,root,root) %{_bindir}/reporter-ureport
457%{_sysconfdir}/libreport/events/report_uReport.xml
97b82249
JB
458%{_sysconfdir}/libreport/events/report_EmergencyAnalysis.xml
459%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf
742c5e14
JB
460
461%files anaconda
462%defattr(644,root,root,755)
463%{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml
464%{_sysconfdir}/libreport/workflows/workflow_AnacondaUpload.xml
465%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
466
467%files fedora
468%defattr(644,root,root,755)
469%{_sysconfdir}/libreport/workflows/workflow_Fedora.xml
470%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
97b82249
JB
471
472%files rhel
473%defattr(644,root,root,755)
474%{_sysconfdir}/libreport/workflows/workflow_RHEL*.xml
475%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
This page took 0.134013 seconds and 4 git commands to generate.