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