]>
Commit | Line | Data |
---|---|---|
6507de75 | 1 | Summary: A robust log colorizer |
ae1f4d40 | 2 | Summary(pl.UTF-8): Program w C do kolorowania logów |
6507de75 | 3 | Name: ccze |
4 | Version: 0.2.1 | |
5 | Release: 1 | |
6 | Epoch: 1 | |
7 | License: GPL | |
d5aebe15 | 8 | Group: Applications/Text |
6507de75 | 9 | Source0: ftp://bonehunter.rulez.org/pub/ccze/stable/%{name}-%{version}.tar.gz |
d5aebe15 | 10 | # Source0-md5: 221966bce7c5f011eca38157241a0432 |
6507de75 | 11 | URL: http://bonehunter.rulez.org/CCZE.html |
f6e626d3 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
6507de75 | 14 | BuildRequires: ncurses-devel >= 5.0 |
15 | BuildRequires: pcre-devel >= 3.1 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | CCZE is a roboust and modular log colorizer, with plugins for apm, | |
20 | exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, | |
21 | vsftpd, xferlog and more. | |
22 | ||
bea2a16f JR |
23 | %description -l pl.UTF-8 |
24 | CCZE jest programem napisanym w C. Umożliwia kolorowanie logów | |
25 | systemowych, FTP, WWW i mail. Posiada wtyczki, może korzystać z plików | |
26 | konfiguracyjnych, umie generować wyniki w postaci kolorowej strony | |
6507de75 | 27 | html. |
28 | ||
d5aebe15 JB |
29 | %package devel |
30 | Summary: Header file for CCZE plugins | |
ae1f4d40 | 31 | Summary(pl.UTF-8): Plik nagłówkowy dla wtyczek CCZE |
d5aebe15 JB |
32 | Group: Development/Libraries |
33 | Requires: ncurses-devel >= 5.0 | |
34 | Requires: pcre-devel >= 3.1 | |
35 | # doesn't require base | |
36 | ||
37 | %description devel | |
38 | Header file for CCZE plugins. | |
39 | ||
bea2a16f JR |
40 | %description devel -l pl.UTF-8 |
41 | Plik nagłówkowy dla wtyczek CCZE. | |
d5aebe15 | 42 | |
6507de75 | 43 | %prep |
44 | %setup -q | |
45 | ||
46 | %build | |
f6e626d3 | 47 | %{__aclocal} |
48 | %{__autoheader} | |
49 | %{__autoconf} | |
d5aebe15 JB |
50 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
51 | %configure \ | |
52 | --with-builtins=all | |
53 | ||
6507de75 | 54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
d5aebe15 JB |
58 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
59 | ||
6507de75 | 60 | %{__make} install \ |
61 | DESTDIR=$RPM_BUILD_ROOT | |
d5aebe15 JB |
62 | |
63 | src/ccze-dump >$RPM_BUILD_ROOT%{_sysconfdir}/cczerc | |
6507de75 | 64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS ChangeLog ChangeLog-0.1 NEWS README THANKS FAQ | |
b1a4418f | 71 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cczerc |
6507de75 | 72 | %attr(755,root,root) %{_bindir}/ccze |
73 | %attr(755,root,root) %{_bindir}/ccze-cssdump | |
6507de75 | 74 | %{_mandir}/man1/ccze.1* |
75 | %{_mandir}/man1/ccze-cssdump.1* | |
d5aebe15 JB |
76 | |
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %{_includedir}/ccze.h | |
6507de75 | 80 | %{_mandir}/man7/ccze-plugin.7* |