]> git.pld-linux.org Git - packages/libreport.git/blob - libreport.spec
- new
[packages/libreport.git] / libreport.spec
1 Summary:        Generic library for reporting various problems
2 Name:           libreport
3 Version:        2.0.16
4 Release:        0.1
5 License:        GPL v2
6 Group:          Libraries
7 Source0:        https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
8 # Source0-md5:  b8aa7475152dc8420d7dd0c71752b5ed
9 Patch0:         format-security.patch
10 URL:            https://fedorahosted.org/abrt/
11 BuildRequires:  asciidoc
12 BuildRequires:  btparser-devel
13 BuildRequires:  curl-devel
14 BuildRequires:  dbus-devel
15 BuildRequires:  desktop-file-utils
16 BuildRequires:  gettext
17 BuildRequires:  gtk+3-devel
18 BuildRequires:  intltool
19 BuildRequires:  libproxy-devel
20 BuildRequires:  libtar-devel
21 BuildRequires:  libtool
22 BuildRequires:  libxml2-devel
23 BuildRequires:  newt-devel
24 BuildRequires:  nss-devel
25 BuildRequires:  python-devel
26 BuildRequires:  texinfo
27 BuildRequires:  xmlrpc-c-client-devel
28 BuildRequires:  xmlrpc-c-devel
29 BuildRequires:  xmlto
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Libraries providing API for reporting different problems in
34 applications to different bug targets like Bugzilla, ftp, trac, etc...
35
36 %package common
37 Summary:        Common files for %{name} library
38 Summary(pl.UTF-8):      Wspólne pliki biblioteki %{name}
39 Group:          Libraries
40 Requires:       %{name} = %{version}-%{release}
41
42 %description common
43 Common files for %{name} library.
44
45 %description common -l pl.UTF-8
46 Wspólne pliki biblioteki %{name}.
47
48 %package devel
49 Summary:        Header files for %{name} library
50 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki %{name}
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53
54 %description devel
55 Header files for %{name} library.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki %{name}.
59
60 %package web
61 Summary:        Library providing network API for libreport
62 Group:          Libraries
63 Requires:       %{name} = %{version}-%{release}
64
65 %description web
66 Library providing network API for libreport
67
68 %package web-devel
69 Summary:        Development headers for libreport-web
70 Group:          Development/Libraries
71 Requires:       %{name}-web = %{version}-%{release}
72
73 %description web-devel
74 Development headers for libreport-web
75
76 %package python
77 Summary:        Python bindings for report-libs
78 Group:          Libraries
79 Requires:       %{name} = %{version}-%{release}
80
81 %description python
82 Python bindings for report-libs.
83
84 %package cli
85 Summary:        %{name}'s command line interface
86 Group:          X11/Applications
87 Requires:       %{name} = %{version}-%{release}
88
89 %description cli
90 This package contains simple command line tool for working with
91 problem dump reports
92
93 %package newt
94 Summary:        %{name}'s newt interface
95 Group:          X11/Applications
96 Requires:       %{name} = %{version}-%{release}
97
98 %description newt
99 This package contains a simple newt application for reporting bugs
100
101 %package gtk
102 Summary:        GTK front-end for libreport
103 Group:          X11/Applications
104 Requires:       %{name} = %{version}-%{release}
105
106 %description gtk
107 Applications for reporting bugs using libreport backend
108
109 %package gtk-devel
110 Summary:        Development libraries and headers for libreport
111 Group:          Development/Libraries
112 Requires:       %{name}-gtk = %{version}-%{release}
113
114 %description gtk-devel
115 Development libraries and headers for libreport-gtk
116
117 %package plugin-kerneloops
118 Summary:        %{name}'s kerneloops reporter plugin
119 Group:          Libraries
120 Requires:       %{name} = %{version}-%{release}
121 Requires:       curl
122
123 %description plugin-kerneloops
124 This package contains plugin which sends kernel crash information to
125 specified server, usually to kerneloops.org.
126
127 %package plugin-logger
128 Summary:        %{name}'s logger reporter plugin
129 Group:          Libraries
130 Requires:       %{name} = %{version}-%{release}
131 Obsoletes:      abrt-plugin-logger < 2.0.4
132
133 %description plugin-logger
134 The simple reporter plugin which writes a report to a specified file.
135
136 %package plugin-mailx
137 Summary:        %{name}'s mailx reporter plugin
138 Group:          Libraries
139 Requires:       %{name} = %{version}-%{release}
140 Requires:       mailx
141 Obsoletes:      abrt-plugin-mailx < 2.0.4
142
143 %description plugin-mailx
144 The simple reporter plugin which sends a report via mailx to a
145 specified email address.
146
147 %package plugin-bugzilla
148 Summary:        %{name}'s bugzilla plugin
149 Group:          Libraries
150 Requires:       %{name} = %{version}-%{release}
151 Obsoletes:      abrt-plugin-bugzilla < 2.0.4
152
153 %package plugin-ureport
154 Summary:        %{name}'s micro report plugin
155 Group:          Libraries
156 BuildRequires:  json-c-devel
157 Requires:       %{name} = %{version}-%{release}
158
159 %description plugin-ureport
160 Uploads micro-report to abrt server
161
162 %description plugin-bugzilla
163 Plugin to report bugs into the bugzilla.
164
165 %package plugin-rhtsupport
166 Summary:        %{name}'s RHTSupport plugin
167 Group:          Libraries
168 Requires:       %{name} = %{version}-%{release}
169 Obsoletes:      abrt-plugin-rhtsupport < 2.0.4
170
171 %description plugin-rhtsupport
172 Plugin to report bugs into RH support system.
173
174 %package plugin-reportuploader
175 Summary:        %{name}'s reportuploader plugin
176 Group:          Libraries
177 Requires:       %{name} = %{version}-%{release}
178 Obsoletes:      abrt-plugin-reportuploader < 2.0.4
179
180 %description plugin-reportuploader
181 Plugin to report bugs into anonymous FTP site associated with
182 ticketing system.
183
184 %prep
185 %setup -q
186 %patch0 -p1
187
188 %build
189 %configure \
190         %{!?with_static_libs:--disable-static}
191 %{__make}
192
193 %install
194 rm -rf $RPM_BUILD_ROOT
195 # create directories if necessary
196 #install -d $RPM_BUILD_ROOT
197
198 %{__make} install \
199         DESTDIR=$RPM_BUILD_ROOT
200
201 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
202
203 %find_lang %{name}
204
205 %clean
206 rm -rf $RPM_BUILD_ROOT
207
208 %post   -p /sbin/ldconfig
209 %postun -p /sbin/ldconfig
210
211 %files -f %{name}.lang
212 %defattr(644,root,root,755)
213 %doc README
214 %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
215 %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
216 %attr(755,root,root) %{_libdir}/libreport.so.*.*.*
217 %attr(755,root,root) %ghost %{_libdir}/libreport.so.0
218 %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
219 %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
220 %{_mandir}/man5/report_event.conf.5*
221
222 %files common
223 %defattr(644,root,root,755)
224 %dir %{_sysconfdir}/%{name}
225 %dir %{_sysconfdir}/%{name}/events.d
226 %dir %{_sysconfdir}/%{name}/events
227 %dir %{_sysconfdir}/%{name}/plugins
228
229 %files devel
230 %defattr(644,root,root,755)
231 %dir %{_includedir}/libreport
232 %{_includedir}/libreport/client.h
233 %{_includedir}/libreport/dump_dir.h
234 %{_includedir}/libreport/event_config.h
235 %{_includedir}/libreport/problem_data.h
236 %{_includedir}/libreport/report.h
237 %{_includedir}/libreport/run_event.h
238 %{_includedir}/libreport/internal_abrt_dbus.h
239 %{_includedir}/libreport/internal_libreport.h
240 %attr(755,root,root) %{_libdir}/libreport.so
241 %attr(755,root,root) %{_libdir}/libabrt_dbus.so
242 %{_pkgconfigdir}/%{name}.pc
243
244 %files web
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/libreport-web.so.*.*
247 %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0
248
249 %files web-devel
250 %defattr(644,root,root,755)
251 %attr(755,root,root) %{_libdir}/libreport-web.so
252 %{_includedir}/libreport/libreport_curl.h
253 %{_pkgconfigdir}/libreport-web.pc
254
255 %files python
256 %defattr(644,root,root,755)
257 %{py_sitedir}/report
258 %{py_sitedir}/reportclient
259
260 %files cli
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_bindir}/report-cli
263 %{_mandir}/man1/report-cli.1*
264
265 %files newt
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_bindir}/report-newt
268
269 %files gtk
270 %defattr(644,root,root,755)
271 %attr(755,root,root) %{_bindir}/report-gtk
272 %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
273 %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
274
275 %files gtk-devel
276 %defattr(644,root,root,755)
277 %attr(755,root,root) %{_libdir}/libreport-gtk.so
278 %{_includedir}/libreport/internal_libreport_gtk.h
279 %{_pkgconfigdir}/libreport-gtk.pc
280
281 %files plugin-kerneloops
282 %defattr(644,root,root,755)
283 %{_sysconfdir}/libreport/events/report_Kerneloops.xml
284 %attr(755,root,root) %{_bindir}/reporter-kerneloops
285 %{_mandir}/man1/reporter-kerneloops.1*
286
287 %files plugin-logger
288 %defattr(644,root,root,755)
289 %{_sysconfdir}/libreport/events/report_Logger.conf
290 %{_sysconfdir}/libreport/events/report_Logger.xml
291 %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
292 %attr(755,root,root) %{_bindir}/reporter-print
293 %{_mandir}/man1/reporter-print.1*
294
295 %files plugin-mailx
296 %defattr(644,root,root,755)
297 %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
298 %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
299 %{_sysconfdir}/libreport/events/report_Mailx.xml
300 %attr(755,root,root) %{_bindir}/reporter-mailx
301 %{_mandir}/man1/reporter-mailx.1*
302
303 %files plugin-ureport
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_bindir}/reporter-ureport
306 %{_sysconfdir}/libreport/events/report_uReport.xml
307
308 %files plugin-bugzilla
309 %defattr(644,root,root,755)
310 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
311 %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
312 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
313 %{_sysconfdir}/libreport/events/report_Bugzilla.xml
314 %attr(755,root,root) %{_bindir}/reporter-bugzilla
315 %{_mandir}/man1/reporter-bugzilla.1*
316
317 %files plugin-rhtsupport
318 %defattr(644,root,root,755)
319 %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
320 %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
321 %{_sysconfdir}/libreport/events/report_RHTSupport.xml
322 %attr(755,root,root) %{_bindir}/reporter-rhtsupport
323 %{_mandir}/man1/reporter-rhtsupport.1*
324
325 %files plugin-reportuploader
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_bindir}/reporter-upload
328 %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
329 %{_sysconfdir}/libreport/events/report_Uploader.xml
330 %{_mandir}/man1/reporter-upload.1*
This page took 0.051171 seconds and 4 git commands to generate.