]> git.pld-linux.org Git - packages/libreport.git/blame - libreport.spec
- updated to 2.1.0
[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
742c5e14
JB
4Version: 2.1.0
5Release: 1
6License: GPL v2+
fabfa611
JR
7Group: Libraries
8Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
742c5e14 9# Source0-md5: 761e4393411cdac13e72d832bd383dd2
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
fabfa611
JR
281%prep
282%setup -q
283%patch0 -p1
284
285%build
742c5e14
JB
286%configure \
287 --disable-silent-rules
fabfa611
JR
288%{__make}
289
290%install
291rm -rf $RPM_BUILD_ROOT
fabfa611
JR
292
293%{__make} install \
294 DESTDIR=$RPM_BUILD_ROOT
295
296%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
742c5e14
JB
297# compat layer for compatibility tool
298%{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1}
fabfa611
JR
299
300%find_lang %{name}
301
302%clean
303rm -rf $RPM_BUILD_ROOT
304
305%post -p /sbin/ldconfig
306%postun -p /sbin/ldconfig
9548a96e
JR
307
308%post web -p /sbin/ldconfig
309%postun web -p /sbin/ldconfig
310
311%post gtk -p /sbin/ldconfig
312%postun gtk -p /sbin/ldconfig
fabfa611
JR
313
314%files -f %{name}.lang
315%defattr(644,root,root,755)
316%doc README
6a2e0478 317%dir %{_sysconfdir}/%{name}
fabfa611
JR
318%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
319%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
6a2e0478 320%dir %{_sysconfdir}/%{name}/events
742c5e14 321%dir %{_sysconfdir}/%{name}/events.d
6a2e0478 322%dir %{_sysconfdir}/%{name}/plugins
742c5e14
JB
323%dir %{_sysconfdir}/%{name}/workflows
324%dir %{_sysconfdir}/%{name}/workflows.d
fabfa611
JR
325%attr(755,root,root) %{_libdir}/libreport.so.*.*.*
326%attr(755,root,root) %ghost %{_libdir}/libreport.so.0
327%attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
328%attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
329%{_mandir}/man5/report_event.conf.5*
330
fabfa611
JR
331%files devel
332%defattr(644,root,root,755)
6a2e0478
JB
333%attr(755,root,root) %{_libdir}/libreport.so
334%attr(755,root,root) %{_libdir}/libabrt_dbus.so
fabfa611
JR
335%dir %{_includedir}/libreport
336%{_includedir}/libreport/client.h
742c5e14 337%{_includedir}/libreport/config_item_info.h
fabfa611
JR
338%{_includedir}/libreport/dump_dir.h
339%{_includedir}/libreport/event_config.h
742c5e14 340%{_includedir}/libreport/file_obj.h
fabfa611
JR
341%{_includedir}/libreport/problem_data.h
342%{_includedir}/libreport/report.h
343%{_includedir}/libreport/run_event.h
344%{_includedir}/libreport/internal_abrt_dbus.h
345%{_includedir}/libreport/internal_libreport.h
742c5e14 346%{_includedir}/libreport/workflow.h
fabfa611
JR
347%{_pkgconfigdir}/%{name}.pc
348
349%files web
350%defattr(644,root,root,755)
351%attr(755,root,root) %{_libdir}/libreport-web.so.*.*
352%attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0
353
354%files web-devel
355%defattr(644,root,root,755)
356%attr(755,root,root) %{_libdir}/libreport-web.so
357%{_includedir}/libreport/libreport_curl.h
358%{_pkgconfigdir}/libreport-web.pc
359
360%files python
361%defattr(644,root,root,755)
362%{py_sitedir}/report
363%{py_sitedir}/reportclient
364
365%files cli
366%defattr(644,root,root,755)
367%attr(755,root,root) %{_bindir}/report-cli
368%{_mandir}/man1/report-cli.1*
369
370%files newt
371%defattr(644,root,root,755)
372%attr(755,root,root) %{_bindir}/report-newt
373
374%files gtk
375%defattr(644,root,root,755)
376%attr(755,root,root) %{_bindir}/report-gtk
742c5e14 377%attr(755,root,root) %{_libexecdir}/abrt-screencast
fabfa611
JR
378%attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
379%attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
380
381%files gtk-devel
382%defattr(644,root,root,755)
383%attr(755,root,root) %{_libdir}/libreport-gtk.so
384%{_includedir}/libreport/internal_libreport_gtk.h
385%{_pkgconfigdir}/libreport-gtk.pc
386
742c5e14
JB
387%files plugin-bugzilla
388%defattr(644,root,root,755)
389%attr(755,root,root) %{_bindir}/reporter-bugzilla
390%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
391%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
392%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
393%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
394%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
395%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
396%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
397%{_sysconfdir}/libreport/events/report_Bugzilla.xml
398%{_mandir}/man1/reporter-bugzilla.1*
399
fabfa611
JR
400%files plugin-kerneloops
401%defattr(644,root,root,755)
fabfa611 402%attr(755,root,root) %{_bindir}/reporter-kerneloops
6a2e0478 403%{_sysconfdir}/libreport/events/report_Kerneloops.xml
fabfa611
JR
404%{_mandir}/man1/reporter-kerneloops.1*
405
406%files plugin-logger
407%defattr(644,root,root,755)
6a2e0478 408%attr(755,root,root) %{_bindir}/reporter-print
fabfa611
JR
409%{_sysconfdir}/libreport/events/report_Logger.conf
410%{_sysconfdir}/libreport/events/report_Logger.xml
411%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
fabfa611
JR
412%{_mandir}/man1/reporter-print.1*
413
414%files plugin-mailx
415%defattr(644,root,root,755)
6a2e0478 416%attr(755,root,root) %{_bindir}/reporter-mailx
fabfa611
JR
417%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
418%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
419%{_sysconfdir}/libreport/events/report_Mailx.xml
fabfa611
JR
420%{_mandir}/man1/reporter-mailx.1*
421
742c5e14 422%files plugin-reportuploader
6a2e0478 423%defattr(644,root,root,755)
742c5e14
JB
424%attr(755,root,root) %{_bindir}/reporter-upload
425%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
426%{_sysconfdir}/libreport/events/report_Uploader.xml
427%{_sysconfdir}/libreport/workflows/workflow_Upload.xml
428%{_mandir}/man1/reporter-upload.1*
6a2e0478 429
fabfa611
JR
430%files plugin-rhtsupport
431%defattr(644,root,root,755)
6a2e0478 432%attr(755,root,root) %{_bindir}/reporter-rhtsupport
fabfa611
JR
433%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
434%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
435%{_sysconfdir}/libreport/events/report_RHTSupport.xml
fabfa611
JR
436%{_mandir}/man1/reporter-rhtsupport.1*
437
742c5e14 438%files plugin-ureport
fabfa611 439%defattr(644,root,root,755)
742c5e14
JB
440%attr(755,root,root) %{_bindir}/reporter-ureport
441%{_sysconfdir}/libreport/events/report_uReport.xml
442
443%files anaconda
444%defattr(644,root,root,755)
445%{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml
446%{_sysconfdir}/libreport/workflows/workflow_AnacondaUpload.xml
447%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
448
449%files fedora
450%defattr(644,root,root,755)
451%{_sysconfdir}/libreport/workflows/workflow_Fedora.xml
452%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
This page took 0.157691 seconds and 4 git commands to generate.