]> git.pld-linux.org Git - packages/eventlog.git/blob - eventlog.spec
- updated URL, but even no 0.2.14 release there
[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.14
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 #Source0:       https://my.balabit.com/downloads/eventlog/0.2/%{name}_%{version}.tar.gz
9 Source0:        https://my.balabit.com/downloads/syslog-ng/open-source-edition/3.5.0beta1/source/%{name}_%{version}.tar.gz
10 # Source0-md5:  c4b0dca3f3d558d41b67d7e6ad663584
11 URL:            https://my.balabit.com/downloads/eventlog/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The EventLog library aims to be a replacement of the simple syslog()
16 API provided on UNIX systems. The major difference between EventLog
17 and syslog is that EventLog tries to add structure to messages.
18
19 Where you had a simple non-structrured string in syslog() you have a
20 combination of description and tag/value pairs.
21
22 EventLog provides an interface to build, format and output an event
23 record. The exact format and output method can be customized by the
24 administrator via a configuration file.
25
26 %description -l pl.UTF-8
27 Celem biblioteki EventLog jest zastąpienie prostego API syslog()
28 dostępnego w systemach uniksowych. Główną różnicą między EventLogiem a
29 syslogiem jest to, że EventLog próbuje dodać do komunikatów strukturę.
30
31 Tam, gdzie w API syslog() był prosty łańcuch bez struktury, mamy
32 połączenie opisu i par znacznik/wartość.
33
34 EvengLog udostępnia interfejs do tworzenia, formatowania i
35 wyprowadzania rekordu zdarzenia. Dokładny format i metoda wyjściowa
36 może być dostosowana przez administratora poprzez plik konfiguracyjny.
37
38 %package devel
39 Summary:        Header files for eventlog
40 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki eventlog
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43
44 %description devel
45 Header files for eventlog.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki eventlog.
49
50 %package static
51 Summary:        Static eventlog library
52 Summary(pl.UTF-8):      Biblioteka statyczna eventlog
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static eventlog library.
58
59 %description static -l pl.UTF-8
60 Biblioteka statyczna eventlog.
61
62 %prep
63 %setup -q
64
65 %build
66 %configure
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 # no external dependencies
77 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libevtlog.la
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc doc/configuration.txt AUTHORS COPYING CREDITS NEWS PORTS README ChangeLog
88 %attr(755,root,root) %{_libdir}/libevtlog.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libevtlog.so.0
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc doc/{API,DESIGN}.txt
94 %attr(755,root,root) %{_libdir}/libevtlog.so
95 %{_includedir}/eventlog
96 %{_pkgconfigdir}/eventlog.pc
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libevtlog.a
This page took 0.124069 seconds and 3 git commands to generate.