]> git.pld-linux.org Git - packages/satyr.git/blob - satyr.spec
- updated to 0.5
[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.5
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:  5d14eecc4b927c56a4368d3f5f6cfff4
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
104 %{__make}
105
106 %install
107 rm -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
117 rm -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.176901 seconds and 4 git commands to generate.