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