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