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