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