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