]> git.pld-linux.org Git - packages/epylog.git/blob - epylog.spec
- tabs in preamble
[packages/epylog.git] / epylog.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        New logs analyzer and parser
3 Summary(pl.UTF-8):      Nowy analizator i parser logów
4 Name:           epylog
5 Version:        1.0.3
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:  6beedd62e0d59d6309ae1f537fc75772
11 URL:            http://linux.duke.edu/projects/epylog/
12 BuildRequires:  python-libxml2
13 BuildRequires:  rpm-perlprov >= 4.1-13
14 BuildRequires:  perl-perldoc
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.UTF-8
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.UTF-8):      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.UTF-8
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, więc
52 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 md5 mtime size) %{_sysconfdir}/epylog/*.[cxhl]*
81 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_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 1.028372 seconds and 3 git commands to generate.