]> git.pld-linux.org Git - packages/eventlog.git/blob - eventlog.spec
- Version: 0.2.5
[packages/eventlog.git] / eventlog.spec
1 Summary:        EventLog library - a replacement of the simple syslog() API
2 Summary(pl):    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
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):    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
47 Pliki nag³ówkowe biblioteki eventlog.
48
49 %package static
50 Summary:        Static eventlog library
51 Summary(pl):    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
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.035497 seconds and 3 git commands to generate.