]>
Commit | Line | Data |
---|---|---|
fa7f656e AM |
1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: New logs analyzer and parser | |
0f3c60f6 | 3 | Summary(pl.UTF-8): Nowy analizator i parser logów |
fa7f656e | 4 | Name: epylog |
d8456b64 | 5 | Version: 1.0.3 |
fa7f656e AM |
6 | Release: 1 |
7 | License: GPL | |
8 | Group: Applications/System | |
9 | Source0: http://linux.duke.edu/projects/epylog/download/%{name}-%{version}.tar.gz | |
d8456b64 | 10 | # Source0-md5: 6beedd62e0d59d6309ae1f537fc75772 |
fa7f656e | 11 | URL: http://linux.duke.edu/projects/epylog/ |
a0c1cdf1 | 12 | BuildRequires: python-libxml2 |
fa7f656e | 13 | BuildRequires: rpm-perlprov >= 4.1-13 |
b2e855a8 | 14 | BuildRequires: perl-perldoc |
fa7f656e AM |
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 | ||
bec4f2e0 JR |
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. | |
a0c1cdf1 | 34 | |
fa7f656e AM |
35 | %package perl |
36 | Summary: Perl module for writing external Epylog modules | |
0f3c60f6 | 37 | Summary(pl.UTF-8): Moduł Perla do pisania zewnętrznych modułów Epyloga |
fa7f656e AM |
38 | Group: Development/Libraries |
39 | Requires: %{name} = %{version}-%{release} | |
40 | ||
41 | %description perl | |
a0c1cdf1 | 42 | This package provides a Perl module for epylog. It is useful for |
fa7f656e AM |
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 | |
a0c1cdf1 | 45 | you are using external Perl modules, or intend to write some of your |
fa7f656e AM |
46 | own. |
47 | ||
bec4f2e0 JR |
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. | |
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 | |
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 | |
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/* |