]> git.pld-linux.org Git - packages/eventlog.git/blob - eventlog.spec
- initial revision
[packages/eventlog.git] / eventlog.spec
1 Summary:        EventLog library - a replacement of the simple syslog() API
2 Name:           eventlog
3 Version:        0.2.4
4 Release:        0.1
5 License:        BSD-like
6 Group:          Libraries
7 Source0:        http://www.balabit.com/downloads/syslog-ng/1.9/src/%{name}-%{version}.tar.gz
8 # Source0-md5:  d4f6137da17212c69d6ab9cd35926a0a
9 URL:            http://www.balabit.com/products/syslog_ng/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The EventLog library aims to be a replacement of the simple syslog()
14 API provided on UNIX systems. The major difference between EventLog
15 and syslog is that EventLog tries to add structure to messages.
16
17 Where you had a simple non-structrured string in syslog() you have a
18 combination of description and tag/value pairs.
19
20 EventLog provides an interface to build, format and output an event
21 record. The exact format and output method can be customized by
22 the administrator via a configuration file.
23
24 %package devel
25 Summary:        Header files for eventlog
26 Summary(pl):    Pliki nag³ówkowe do eventlog
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for eventlog.
32
33 %description devel -l pl
34 Pliki nag³ówkowe do eventlog.
35
36 %package static
37 Summary:        Static eventlog library
38 Summary(pl):    Biblioteka statyczna eventlog
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static eventlog library.
44
45 %description static -l pl
46 Biblioteka statyczna eventlog.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post 
66 aaa
67
68 %postun
69 aaa
70
71 %files
72 %defattr(644,root,root,755)
73 %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc doc/{API,DESIGN}.txt
79 %{_pkgconfigdir}/*
80 %dir %{_includedir}/eventlog
81 %{_includedir}/eventlog/*
82 %attr(755,root,root) %{_libdir}/lib*.la
83 %attr(755,root,root) %{_libdir}/lib*.so
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/lib*.a
This page took 0.046994 seconds and 3 git commands to generate.