]> git.pld-linux.org Git - packages/epylog.git/blame - epylog.spec
- tabs in preamble
[packages/epylog.git] / epylog.spec
CommitLineData
fa7f656e
AM
1%include /usr/lib/rpm/macros.perl
2Summary: New logs analyzer and parser
0f3c60f6 3Summary(pl.UTF-8): Nowy analizator i parser logów
fa7f656e 4Name: epylog
d8456b64 5Version: 1.0.3
fa7f656e
AM
6Release: 1
7License: GPL
8Group: Applications/System
9Source0: http://linux.duke.edu/projects/epylog/download/%{name}-%{version}.tar.gz
d8456b64 10# Source0-md5: 6beedd62e0d59d6309ae1f537fc75772
fa7f656e 11URL: http://linux.duke.edu/projects/epylog/
a0c1cdf1 12BuildRequires: python-libxml2
fa7f656e 13BuildRequires: rpm-perlprov >= 4.1-13
b2e855a8 14BuildRequires: perl-perldoc
fa7f656e
AM
15Requires: python-libxml2
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Epylog is a new log notifier and parser which runs periodically out of
21cron, looks at your logs, processes the entries in order to present
22them in a more comprehensive format, and then provides you with the
23output. It is written specifically with large network clusters in mind
24where a lot of machines (around 50 and upwards) log to the same
25loghost using syslog or syslog-ng.
26
bec4f2e0
JR
27%description -l pl.UTF-8
28Epylog to nowe narzędzie do powiadamiania i analizy logów uruchamiane
29regularnie z crona, przeglądające logi, przetwarzające wpisy w celu
30prezentacji ich w bardziej wyczerpującym formacie, a następnie
31dostarczającym wyjście. Jest napisany z myślą o dużych klastrach
32sieciowych, gdzie dużo maszyn (około 50 i więcej) wysyła logi na ten
33sam host przy użyciu sysloga lub syslog-ng.
a0c1cdf1 34
fa7f656e
AM
35%package perl
36Summary: Perl module for writing external Epylog modules
0f3c60f6 37Summary(pl.UTF-8): Moduł Perla do pisania zewnętrznych modułów Epyloga
fa7f656e
AM
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description perl
a0c1cdf1 42This package provides a Perl module for epylog. It is useful for
fa7f656e
AM
43writing epylog modules that use external module API. No modules
44shipping with epylog by default use that API, so install this only if
a0c1cdf1 45you are using external Perl modules, or intend to write some of your
fa7f656e
AM
46own.
47
bec4f2e0
JR
48%description perl -l pl.UTF-8
49Ten pakiet dostarcza moduł Perla dla epyloga. Jest przydatny do
50pisania 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
52pakiet należy instalować tylko jeśli używamy zewnętrznych modułów
53Perla lub zamierzamy napisać jakieś własne.
a0c1cdf1 54
fa7f656e
AM
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
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -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
e23eefe5
ER
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
fa7f656e 82%{_datadir}/epylog
a0c1cdf1 83%{py_sitedir}/epylog
fa7f656e 84%{_mandir}/man[58]/*
1bf07170 85%attr(750,root,root) %dir %{_var}/lib/epylog
fa7f656e
AM
86
87%files perl
88%defattr(644,root,root,755)
89%{perl_vendorlib}/epylog
90%{_mandir}/man3/*
This page took 0.111539 seconds and 4 git commands to generate.