]> git.pld-linux.org Git - packages/epylog.git/blob - epylog.spec
dceef668393323811cc83664ba45262a87ee3477
[packages/epylog.git] / epylog.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        New logs analyzer and parser
3 Summary(pl):    Nowy analizator i parser logów
4 Name:           epylog
5 Version:        1.0.1
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://linux.duke.edu/projects/epylog/download/%{name}-%{version}.tar.gz
10 # Source0-md5:  051ff19d4071c4e0dfd55db18c481b60
11 URL:            http://linux.duke.edu/projects/epylog/
12 BuildRequires:  python-libxml2
13 BuildRequires:  rpm-perlprov >= 4.1-13
14 BuildRequires:  rpm-pythonprov
15 Requires:       python-libxml2
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Epylog is a new log notifier and parser which runs periodically out of
21 cron, looks at your logs, processes the entries in order to present
22 them in a more comprehensive format, and then provides you with the
23 output. It is written specifically with large network clusters in mind
24 where a lot of machines (around 50 and upwards) log to the same
25 loghost using syslog or syslog-ng.
26
27 %description -l pl
28 Epylog to nowe narzêdzie do powiadamiania i analizy logów uruchamiane
29 regularnie z crona, przegl±daj±ce logi, przetwarzaj±ce wpisy w celu
30 prezentacji ich w bardziej wyczerpuj±cym formacie, a nastêpnie
31 dostarczaj±cym wyj¶cie. Jest napisany z my¶l± o du¿ych klastrach
32 sieciowych, gdzie du¿o maszyn (oko³o 50 i wiêcej) wysy³a logi na ten
33 sam host przy u¿yciu sysloga lub syslog-ng.
34
35 %package perl
36 Summary:        Perl module for writing external Epylog modules
37 Summary(pl):    Modu³ Perla do pisania zewnêtrznych modu³ów Epyloga
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description perl
42 This package provides a Perl module for epylog. It is useful for
43 writing epylog modules that use external module API. No modules
44 shipping with epylog by default use that API, so install this only if
45 you are using external Perl modules, or intend to write some of your
46 own.
47
48 %description perl -l pl
49 Ten pakiet dostarcza modu³ Perla dla epyloga. Jest przydatny do
50 pisania modu³ów epyloga u¿ywaj±cych API dla zewnêtrznych modu³ów.
51 ¯aden modu³ dostarczany domy¶lnie z epylogiem nie u¿ywa tego API,
52 wiêc pakiet nale¿y instalowaæ tylko je¶li u¿ywamy zewnêtrznych modu³ów
53 Perla lub zamierzamy napisaæ jakie¶ w³asne.
54
55 %prep
56 %setup -q
57
58 %build
59 %configure \
60         --with-python=%{_bindir}/python \
61         --with-lynx=%{_bindir}/lynx \
62         --with-site-perl=%{perl_vendorlib}/epylog
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc doc/*.txt AUTHORS ChangeLog README
76 %attr(755,root,root) %{_sbindir}/*
77 %attr(700,root,root) /etc/cron.daily/*.*
78 %attr(750,root,root) %dir %{_sysconfdir}/epylog
79 %dir %{_sysconfdir}/epylog/modules.d
80 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/epylog/*.[cxhl]*
81 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/epylog/modules.d/*.conf
82 %{_datadir}/epylog
83 %{py_sitedir}/epylog
84 %{_mandir}/man[58]/*
85 %attr(750,root,root) %dir %{_var}/lib/epylog
86
87 %files perl
88 %defattr(644,root,root,755)
89 %{perl_vendorlib}/epylog
90 %{_mandir}/man3/*
This page took 0.062261 seconds and 2 git commands to generate.