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