]> git.pld-linux.org Git - packages/eventlog.git/blob - eventlog.spec
- up to 0.2.12+20120504+1700 (tiny changes compared to 0.2.12)
[packages/eventlog.git] / eventlog.spec
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()
4 Name:           eventlog
5 Version:        0.2.12
6 Release:        2
7 License:        BSD-like
8 Group:          Libraries
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)
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
24 record. The exact format and output method can be customized by the
25 administrator via a configuration file.
26
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ę.
31
32 Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy
33 połączenie opisu i par znacznik/wartość.
34
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.
38
39 %package devel
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}
44
45 %description devel
46 Header files for eventlog.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki eventlog.
50
51 %package static
52 Summary:        Static eventlog library
53 Summary(pl.UTF-8):      Biblioteka statyczna eventlog
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static eventlog library.
59
60 %description static -l pl.UTF-8
61 Biblioteka statyczna eventlog.
62
63 %prep
64 %setup -q -n %{name}-%{version}+%{snap}
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
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
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
88
89 %files devel
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
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libevtlog.a
This page took 0.06749 seconds and 3 git commands to generate.