]> git.pld-linux.org Git - packages/eventlog.git/blob - eventlog.spec
- tabs in preamble
[packages/eventlog.git] / eventlog.spec
1 Summary:        EventLog library - a replacement of the simple syslog() API
2 Summary(pl.UTF-8):      Biblioteka EventLog - zamiennik prostego API syslog()
3 Name:           eventlog
4 Version:        0.2.5
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.balabit.com/downloads/syslog-ng/2.0/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  a6bdba91f88540cc69b398fd138d86cd
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
22 record. The exact format and output method can be customized by the
23 administrator via a configuration file.
24
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ę.
29
30 Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy
31 połączenie opisu i par znacznik/wartość.
32
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.
36
37 %package devel
38 Summary:        Header files for eventlog
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki eventlog
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for eventlog.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki eventlog.
48
49 %package static
50 Summary:        Static eventlog library
51 Summary(pl.UTF-8):      Biblioteka statyczna eventlog
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static eventlog library.
57
58 %description static -l pl.UTF-8
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
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %doc doc/{API,DESIGN}.txt
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %dir %{_includedir}/eventlog
92 %{_includedir}/eventlog/*
93 %{_pkgconfigdir}/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.085123 seconds and 3 git commands to generate.