]> git.pld-linux.org Git - packages/libreport.git/blame - libreport.spec
- pl, cleanup
[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
JR
3Name: libreport
4Version: 2.0.16
8540c628 5Release: 4
fabfa611
JR
6License: GPL v2
7Group: Libraries
8Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
9# Source0-md5: b8aa7475152dc8420d7dd0c71752b5ed
10Patch0: format-security.patch
11URL: https://fedorahosted.org/abrt/
12BuildRequires: asciidoc
13BuildRequires: btparser-devel
14BuildRequires: curl-devel
15BuildRequires: dbus-devel
16BuildRequires: desktop-file-utils
17BuildRequires: gettext
18BuildRequires: gtk+3-devel
19BuildRequires: intltool
6a2e0478 20BuildRequires: json-c-devel
fabfa611
JR
21BuildRequires: libproxy-devel
22BuildRequires: libtar-devel
23BuildRequires: libtool
24BuildRequires: libxml2-devel
25BuildRequires: newt-devel
26BuildRequires: nss-devel
27BuildRequires: python-devel
28BuildRequires: texinfo
29BuildRequires: xmlrpc-c-client-devel
30BuildRequires: xmlrpc-c-devel
31BuildRequires: xmlto
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Libraries providing API for reporting different problems in
36applications to different bug targets like Bugzilla, ftp, trac, etc...
37
6a2e0478
JB
38%description -l pl.UTF-8
39Biblioteki udostępniające API do zgłaszania różnych programów w
40aplikacjach do różnych docelowych systemów raportowania błędów, takich
41jak Bugzilla, ftp, trac...
fabfa611
JR
42
43%package devel
6a2e0478
JB
44Summary: Header files for libreport libraries
45Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport
fabfa611
JR
46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
48
49%description devel
6a2e0478 50Header files for libreport libraries.
fabfa611
JR
51
52%description devel -l pl.UTF-8
6a2e0478 53Pliki nagłówkowe bibliotek libreport.
fabfa611
JR
54
55%package web
56Summary: Library providing network API for libreport
6a2e0478 57Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport
fabfa611
JR
58Group: Libraries
59Requires: %{name} = %{version}-%{release}
60
61%description web
6a2e0478
JB
62Library providing network API for libreport.
63
64%description web -l pl.UTF-8
65Biblioteka zapewniająca API sieciowe dla libreport.
fabfa611
JR
66
67%package web-devel
68Summary: Development headers for libreport-web
6a2e0478 69Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web
fabfa611 70Group: Development/Libraries
6a2e0478 71Requires: %{name}-devel = %{version}-%{release}
fabfa611
JR
72Requires: %{name}-web = %{version}-%{release}
73
74%description web-devel
6a2e0478
JB
75Development headers for libreport-web.
76
77%description web-devel -l pl.UTF-8
78Pliki nagłówkowe biblioteki libreport-web.
fabfa611
JR
79
80%package python
6a2e0478
JB
81Summary: Python bindings for libreport libraries
82Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport
83Group: Libraries/Python
fabfa611
JR
84Requires: %{name} = %{version}-%{release}
85
86%description python
6a2e0478
JB
87Python bindings for libreport libraries.
88
89%description python -l pl.UTF-8
90Wiązania Pythona dla bibliotek libreport
fabfa611
JR
91
92%package cli
6a2e0478
JB
93Summary: libreport's command line interface
94Summary(pl.UTF-8): Interfejs linii poleceń libreport
95Group: Applications
fabfa611
JR
96Requires: %{name} = %{version}-%{release}
97
98%description cli
99This package contains simple command line tool for working with
6a2e0478
JB
100problem dump reports.
101
102%description cli -l pl.UTF-8
103Ten pakiet zawiera proste, działające z linii poleceń narzędzie do
104pracy ze zgłoszeniami zawierającymi zrzuty problemów.
fabfa611
JR
105
106%package newt
6a2e0478
JB
107Summary: libreport's newt interface
108Summary(pl.UTF-8): Interfejs newt libreport
109Group: Applications
fabfa611
JR
110Requires: %{name} = %{version}-%{release}
111
112%description newt
6a2e0478
JB
113This package contains a simple newt application for reporting bugs.
114
115%description newt -l pl.UTF-8
116Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów.
fabfa611
JR
117
118%package gtk
6a2e0478
JB
119Summary: GTK+ front-end for libreport
120Summary(pl.UTF-8): Interfejs GTK+ libreport
fabfa611
JR
121Group: X11/Applications
122Requires: %{name} = %{version}-%{release}
123
124%description gtk
6a2e0478
JB
125Application for reporting bugs using libreport backend.
126
127%description gtk -l pl.UTF-8
128Aplikacja do zgłaszania błędów przy użyciu libreport.
fabfa611
JR
129
130%package gtk-devel
6a2e0478
JB
131Summary: Development headers for libreport-gtk
132Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk
fabfa611
JR
133Group: Development/Libraries
134Requires: %{name}-gtk = %{version}-%{release}
135
136%description gtk-devel
6a2e0478
JB
137Development headers for libreport-gtk.
138
139%description gtk-devel -l pl.UTF-8
140Pliki nagłówkowe biblioteki libreport-gtk.
fabfa611
JR
141
142%package plugin-kerneloops
6a2e0478
JB
143Summary: libreport's kerneloops reporter plugin
144Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops)
fabfa611
JR
145Group: Libraries
146Requires: %{name} = %{version}-%{release}
147Requires: curl
148
149%description plugin-kerneloops
150This package contains plugin which sends kernel crash information to
151specified server, usually to kerneloops.org.
152
6a2e0478
JB
153%description plugin-kerneloops -l pl.UTF-8
154Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na
155określony serwer, zwykle kerneloops.org.
156
fabfa611 157%package plugin-logger
6a2e0478
JB
158Summary: libreport's logger reporter plugin
159Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu
fabfa611
JR
160Group: Libraries
161Requires: %{name} = %{version}-%{release}
162Obsoletes: abrt-plugin-logger < 2.0.4
163
164%description plugin-logger
165The simple reporter plugin which writes a report to a specified file.
166
6a2e0478
JB
167%description plugin-logger -l pl.UTF-8
168Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym
169pliku.
170
fabfa611 171%package plugin-mailx
6a2e0478
JB
172Summary: libreport's mailx reporter plugin
173Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną
fabfa611
JR
174Group: Libraries
175Requires: %{name} = %{version}-%{release}
176Requires: mailx
177Obsoletes: abrt-plugin-mailx < 2.0.4
178
179%description plugin-mailx
180The simple reporter plugin which sends a report via mailx to a
181specified email address.
182
6a2e0478
JB
183%description plugin-mailx -l pl.UTF-8
184Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
185adres e-mail przy użyciu programu mailx.
186
fabfa611 187%package plugin-bugzilla
6a2e0478
JB
188Summary: libreport's bugzilla plugin
189Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę
fabfa611
JR
190Group: Libraries
191Requires: %{name} = %{version}-%{release}
192Obsoletes: abrt-plugin-bugzilla < 2.0.4
193
6a2e0478
JB
194%description plugin-bugzilla
195Plugin to report bugs into the bugzilla.
196
197%description plugin-bugzilla -l pl.UTF-8
198Wtyczka zgłaszająca problemy do systemu Bugzilla.
199
fabfa611 200%package plugin-ureport
6a2e0478
JB
201Summary: libreport's micro report plugin
202Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report
fabfa611 203Group: Libraries
fabfa611
JR
204Requires: %{name} = %{version}-%{release}
205
206%description plugin-ureport
6a2e0478 207Uploads micro-report to abrt server.
fabfa611 208
6a2e0478
JB
209%description plugin-ureport -l pl.UTF-8
210Wtyczka przesyłająca raporty typu micro-report na serwer abrt.
fabfa611
JR
211
212%package plugin-rhtsupport
6a2e0478
JB
213Summary: libreport's RHTSupport plugin
214Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport
fabfa611
JR
215Group: Libraries
216Requires: %{name} = %{version}-%{release}
217Obsoletes: abrt-plugin-rhtsupport < 2.0.4
218
219%description plugin-rhtsupport
220Plugin to report bugs into RH support system.
221
6a2e0478
JB
222%description plugin-rhtsupport -l pl.UTF-8
223Wtyczka zgłaszająca problemy do systemu obsługi RH.
224
fabfa611 225%package plugin-reportuploader
6a2e0478
JB
226Summary: libreport's reportuploader plugin
227Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP
fabfa611
JR
228Group: Libraries
229Requires: %{name} = %{version}-%{release}
230Obsoletes: abrt-plugin-reportuploader < 2.0.4
231
232%description plugin-reportuploader
233Plugin to report bugs into anonymous FTP site associated with
234ticketing system.
235
6a2e0478
JB
236%description plugin-reportuploader -l pl.UTF-8
237Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z
238systemem 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
249rm -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
259rm -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*
This page took 0.087317 seconds and 4 git commands to generate.