]> git.pld-linux.org Git - packages/ccze.git/blob - ccze.spec
- tabs in preamble
[packages/ccze.git] / ccze.spec
1 Summary:        A robust log colorizer
2 Summary(pl.UTF-8):      Program w C do kolorowania logów
3 Name:           ccze
4 Version:        0.2.1
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          Applications/Text
9 Source0:        ftp://bonehunter.rulez.org/pub/ccze/stable/%{name}-%{version}.tar.gz
10 # Source0-md5:  221966bce7c5f011eca38157241a0432
11 URL:            http://bonehunter.rulez.org/CCZE.html
12 BuildRequires:  autoconf
13 BuildRequires:  automake
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
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
27 html.
28
29 %package devel
30 Summary:        Header file for CCZE plugins
31 Summary(pl.UTF-8):      Plik nagłówkowy dla wtyczek CCZE
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
40 %description devel -l pl.UTF-8
41 Plik nagłówkowy dla wtyczek CCZE.
42
43 %prep
44 %setup -q
45
46 %build
47 %{__aclocal}
48 %{__autoheader}
49 %{__autoconf}
50 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
51 %configure \
52         --with-builtins=all
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_sysconfdir}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 src/ccze-dump >$RPM_BUILD_ROOT%{_sysconfdir}/cczerc
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
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cczerc
72 %attr(755,root,root) %{_bindir}/ccze
73 %attr(755,root,root) %{_bindir}/ccze-cssdump
74 %{_mandir}/man1/ccze.1*
75 %{_mandir}/man1/ccze-cssdump.1*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %{_includedir}/ccze.h
80 %{_mandir}/man7/ccze-plugin.7*
This page took 0.227941 seconds and 3 git commands to generate.