]>
Commit | Line | Data |
---|---|---|
e5c62911 | 1 | Summary: EventLog library - a replacement of the simple syslog() API |
ca67610e | 2 | Summary(pl.UTF-8): Biblioteka EventLog - zamiennik prostego API syslog() |
e5c62911 | 3 | Name: eventlog |
0b30974e | 4 | Version: 0.2.12 |
977616c1 | 5 | Release: 1 |
e5c62911 JR |
6 | License: BSD-like |
7 | Group: Libraries | |
0b30974e AM |
8 | Source0: http://www.balabit.com/downloads/files/syslog-ng/sources/3.2.4/source/%{name}_%{version}.tar.gz |
9 | # Source0-md5: 434be9ca7fe4377cd70fa9371efe5488 | |
e5c62911 JR |
10 | URL: http://www.balabit.com/products/syslog_ng/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | The EventLog library aims to be a replacement of the simple syslog() | |
15 | API provided on UNIX systems. The major difference between EventLog | |
16 | and syslog is that EventLog tries to add structure to messages. | |
17 | ||
18 | Where you had a simple non-structrured string in syslog() you have a | |
19 | combination of description and tag/value pairs. | |
20 | ||
21 | EventLog provides an interface to build, format and output an event | |
202b1df0 SP |
22 | record. The exact format and output method can be customized by the |
23 | administrator via a configuration file. | |
e5c62911 | 24 | |
b8b0db3b JR |
25 | %description -l pl.UTF-8 |
26 | Celem biblioteki EventLog jest zastąpienie prostego API syslog() | |
27 | dostępnego w systemach uniksowych. Główną różnicą między EventLogiem a | |
28 | syslogiem jest to, że EventLog próbuje dodać do komunikatów strukturę. | |
e90de230 | 29 | |
b8b0db3b JR |
30 | Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy |
31 | połączenie opisu i par znacznik/wartość. | |
e90de230 | 32 | |
b8b0db3b JR |
33 | EvengLog udostępnia interfejs do tworzenia, formatowania i |
34 | wyprowadzania rekordu zdarzenia. Dokładny format i metoda wyjściowa | |
35 | może być dostosowana przez administratora poprzez plik konfiguracyjny. | |
e90de230 | 36 | |
e5c62911 JR |
37 | %package devel |
38 | Summary: Header files for eventlog | |
ca67610e | 39 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki eventlog |
e5c62911 JR |
40 | Group: Development/Libraries |
41 | Requires: %{name} = %{version}-%{release} | |
42 | ||
43 | %description devel | |
44 | Header files for eventlog. | |
45 | ||
b8b0db3b JR |
46 | %description devel -l pl.UTF-8 |
47 | Pliki nagłówkowe biblioteki eventlog. | |
e5c62911 JR |
48 | |
49 | %package static | |
50 | Summary: Static eventlog library | |
ca67610e | 51 | Summary(pl.UTF-8): Biblioteka statyczna eventlog |
e5c62911 JR |
52 | Group: Development/Libraries |
53 | Requires: %{name}-devel = %{version}-%{release} | |
54 | ||
55 | %description static | |
56 | Static eventlog library. | |
57 | ||
b8b0db3b | 58 | %description static -l pl.UTF-8 |
e5c62911 JR |
59 | Biblioteka statyczna eventlog. |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | ||
64 | %build | |
65 | %configure | |
66 | ||
67 | %{__make} | |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
e90de230 JB |
78 | %post -p /sbin/ldconfig |
79 | %postun -p /sbin/ldconfig | |
e5c62911 JR |
80 | |
81 | %files | |
82 | %defattr(644,root,root,755) | |
83 | %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog | |
977616c1 JB |
84 | %attr(755,root,root) %{_libdir}/libevtlog.so.*.*.* |
85 | %attr(755,root,root) %ghost %{_libdir}/libevtlog.so.0 | |
e5c62911 JR |
86 | |
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %doc doc/{API,DESIGN}.txt | |
977616c1 JB |
90 | %attr(755,root,root) %{_libdir}/libevtlog.so |
91 | %{_libdir}/libevtlog.la | |
92 | %{_includedir}/eventlog | |
93 | %{_pkgconfigdir}/eventlog.pc | |
e5c62911 JR |
94 | |
95 | %files static | |
96 | %defattr(644,root,root,755) | |
977616c1 | 97 | %{_libdir}/libevtlog.a |