]>
Commit | Line | Data |
---|---|---|
ad566da7 JB |
1 | Summary: Tools to create anonymous, machine-friendly problem reports |
2 | Summary(pl.UTF-8): Analizator śladów wywołań tworzonych przez GDB | |
3 | Name: satyr | |
60422b1d | 4 | Version: 0.15 |
e90cc048 | 5 | Release: 1 |
ad566da7 JB |
6 | License: GPL v2+ |
7 | Group: Development/Tools | |
8 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.xz | |
60422b1d | 9 | # Source0-md5: 91f268fed10295c8b1c3afce741e24eb |
ad566da7 JB |
10 | Patch0: %{name}-libopcodes.patch |
11 | Patch1: %{name}-rpm5.patch | |
12 | Patch2: %{name}-rpm45.patch | |
13 | URL: http://fedorahosted.org/abrt/ | |
14 | BuildRequires: autoconf >= 2.50 | |
15 | BuildRequires: automake | |
16 | BuildRequires: binutils-devel | |
17 | BuildRequires: elfutils-devel | |
18 | BuildRequires: libtool | |
60422b1d | 19 | BuildRequires: libstdc++-devel |
ad566da7 JB |
20 | BuildRequires: libunwind-devel >= 1.1 |
21 | BuildRequires: pkgconfig | |
60422b1d | 22 | BuildRequires: rpm-devel >= 4.5 |
ad566da7 JB |
23 | BuildRequires: python-devel >= 1:2.6 |
24 | BuildRequires: rpm-pythonprov | |
25 | BuildRequires: rpmbuild(macros) >= 1.219 | |
02dde5cb | 26 | BuildRequires: sphinx-pdg |
ad566da7 JB |
27 | BuildRequires: tar >= 1:1.22 |
28 | BuildRequires: xz | |
29 | Requires: %{name}-libs = %{version}-%{release} | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | Satyr is a library that can be used to create and process | |
34 | microreports. Microreports consist of structured data suitable to be | |
35 | analyzed in a fully automated manner, though they do not necessarily | |
36 | contain sufficient information to fix the underlying problem. The | |
37 | reports are designed not to contain any potentially sensitive data to | |
38 | eliminate the need for review before submission. Included is a tool | |
39 | that can create microreports and perform some basic operations on | |
40 | them. | |
41 | ||
42 | %description -l pl.UTF-8 | |
43 | Satyr to biblioteka do tworzenia i przetwarzania mikroraportów. | |
44 | Mikroraporty składają się ze strukturalnych danych nadających się do | |
45 | analizy w sposób całkowicie automatyczny, ale niekoniecznie | |
46 | zawierających pełne informacje do naprawienia problemu. Raporty są | |
47 | zaprojektowane tak, żeby nie zawierały żadnych potencjalnie wrażliwych | |
48 | danych, aby nie było potrzeby przeglądania ich przed wysłaniem. Do | |
49 | pakietu jest dołączone narzędzie potrafiące tworzyć mikroraporty i | |
50 | wykonywać na nich podstawowe operacje. | |
51 | ||
52 | %package libs | |
53 | Summary: Satyr library - automatic problem management with anonymous reports | |
54 | Summary(pl.UTF-8): Biblioteka Satyr do automatycznego zarządzania problemami z anonimowymi zgłoszeniami | |
55 | Group: Libraries | |
56 | ||
57 | %description libs | |
58 | Satyr library - automatic problem management with anonymous reports. | |
59 | ||
60 | %description libs -l pl.UTF-8 | |
61 | Biblioteka Satyr do automatycznego zarządzania problemami z | |
62 | anonimowymi złoszeniami. | |
63 | ||
64 | %package devel | |
65 | Summary: Header files for Satyr library | |
66 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Satyr | |
67 | Group: Development/Libraries | |
68 | Requires: %{name}-libs = %{version}-%{release} | |
69 | ||
70 | %description devel | |
71 | Header files for Satyr library. | |
72 | ||
73 | %description devel -l pl.UTF-8 | |
74 | Pliki nagłówkowe biblioteki Satyr. | |
75 | ||
76 | %package -n python-satyr | |
77 | Summary: Python bindings for Satyr library | |
78 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Satyr | |
79 | Group: Libraries/Python | |
80 | Requires: %{name}-libs = %{version}-%{release} | |
81 | Requires: python-modules | |
82 | ||
83 | %description -n python-satyr | |
84 | Python bindings for Satyr library. | |
85 | ||
86 | %description -n python-satyr -l pl.UTF-8 | |
87 | Wiązania Pythona do biblioteki Satyr. | |
88 | ||
89 | %prep | |
90 | %setup -q | |
91 | %patch0 -p1 | |
92 | %if "%{_rpmversion}" >= "5.0" | |
93 | %patch1 -p1 | |
94 | %else | |
95 | %patch2 -p1 | |
96 | %endif | |
60422b1d JB |
97 | |
98 | printf '%s' '%{version}' > satyr-version | |
ad566da7 JB |
99 | |
100 | %build | |
101 | %{__libtoolize} | |
102 | %{__aclocal} | |
103 | %{__autoconf} | |
104 | %{__autoheader} | |
105 | %{__automake} | |
b6a6e0d4 JB |
106 | %configure \ |
107 | --disable-silent-rules | |
ad566da7 JB |
108 | |
109 | %{__make} | |
110 | ||
111 | %install | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %{__make} install \ | |
115 | DESTDIR=$RPM_BUILD_ROOT | |
116 | ||
117 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{py_sitedir}/satyr/*.la | |
118 | ||
119 | %py_postclean | |
120 | ||
121 | %clean | |
122 | rm -rf $RPM_BUILD_ROOT | |
123 | ||
124 | %post libs -p /sbin/ldconfig | |
125 | %postun libs -p /sbin/ldconfig | |
126 | ||
127 | %files | |
128 | %defattr(644,root,root,755) | |
129 | %doc NEWS README | |
130 | %attr(755,root,root) %{_bindir}/satyr | |
131 | %{_mandir}/man1/satyr.1* | |
132 | ||
133 | %files libs | |
134 | %defattr(644,root,root,755) | |
135 | %attr(755,root,root) %{_libdir}/libsatyr.so.*.* | |
e90cc048 | 136 | %attr(755,root,root) %ghost %{_libdir}/libsatyr.so.3 |
ad566da7 JB |
137 | |
138 | %files devel | |
139 | %defattr(644,root,root,755) | |
140 | %attr(755,root,root) %{_libdir}/libsatyr.so | |
141 | %{_includedir}/satyr | |
142 | %{_pkgconfigdir}/satyr.pc | |
143 | ||
144 | %files -n python-satyr | |
145 | %defattr(644,root,root,755) | |
146 | %dir %{py_sitedir}/satyr | |
147 | %{py_sitedir}/satyr/__init__.py[co] | |
148 | %attr(755,root,root) %{py_sitedir}/satyr/_satyr.so | |
8f9a4bf0 | 149 | %{_mandir}/man3/satyr-python.3* |