1 %define snap 20120504+1700
2 Summary: EventLog library - a replacement of the simple syslog() API
3 Summary(pl.UTF-8): Biblioteka EventLog - zamiennik prostego API syslog()
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
12 URL: http://www.balabit.com/products/syslog_ng/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
20 Where you had a simple non-structrured string in syslog() you have a
21 combination of description and tag/value pairs.
23 EventLog provides an interface to build, format and output an event
24 record. The exact format and output method can be customized by the
25 administrator via a configuration file.
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ę.
32 Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy
33 połączenie opisu i par znacznik/wartość.
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.
40 Summary: Header files for eventlog
41 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki eventlog
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
46 Header files for eventlog.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki eventlog.
52 Summary: Static eventlog library
53 Summary(pl.UTF-8): Biblioteka statyczna eventlog
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static eventlog library.
60 %description static -l pl.UTF-8
61 Biblioteka statyczna eventlog.
64 %setup -q -n %{name}-%{version}+%{snap}
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog
86 %attr(755,root,root) %{_libdir}/libevtlog.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libevtlog.so.0
90 %defattr(644,root,root,755)
91 %doc doc/{API,DESIGN}.txt
92 %attr(755,root,root) %{_libdir}/libevtlog.so
93 %{_libdir}/libevtlog.la
94 %{_includedir}/eventlog
95 %{_pkgconfigdir}/eventlog.pc
98 %defattr(644,root,root,755)
99 %{_libdir}/libevtlog.a