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