]> git.pld-linux.org Git - packages/ccze.git/blame - ccze.spec
- ncurses rebuild
[packages/ccze.git] / ccze.spec
CommitLineData
99040023
PG
1# TODO:
2# - fix outdated url
6507de75 3Summary: A robust log colorizer
ae1f4d40 4Summary(pl.UTF-8): Program w C do kolorowania logów
6507de75 5Name: ccze
6Version: 0.2.1
71b32239 7Release: 6
6507de75 8Epoch: 1
9License: GPL
d5aebe15 10Group: Applications/Text
6507de75 11Source0: ftp://bonehunter.rulez.org/pub/ccze/stable/%{name}-%{version}.tar.gz
d5aebe15 12# Source0-md5: 221966bce7c5f011eca38157241a0432
99040023
PG
13Patch0: %{name}-ldflags.patch
14Patch1: %{name}-segfault.patch
15Patch2: %{name}-fbsd.patch
16Patch3: %{name}-Wmulticharacter.patch
17Patch4: %{name}-error.patch
18Patch5: %{name}-tinfo.patch
0c292e1b 19Patch6: %{name}-debian.patch
6507de75 20URL: http://bonehunter.rulez.org/CCZE.html
f6e626d3 21BuildRequires: autoconf
22BuildRequires: automake
6507de75 23BuildRequires: ncurses-devel >= 5.0
24BuildRequires: pcre-devel >= 3.1
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
99040023
PG
27#define filterout_ld -Wl,--as-needed
28
6507de75 29%description
30CCZE is a roboust and modular log colorizer, with plugins for apm,
31exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd,
32vsftpd, xferlog and more.
33
bea2a16f
JR
34%description -l pl.UTF-8
35CCZE jest programem napisanym w C. Umożliwia kolorowanie logów
36systemowych, FTP, WWW i mail. Posiada wtyczki, może korzystać z plików
37konfiguracyjnych, umie generować wyniki w postaci kolorowej strony
6507de75 38html.
39
d5aebe15
JB
40%package devel
41Summary: Header file for CCZE plugins
ae1f4d40 42Summary(pl.UTF-8): Plik nagłówkowy dla wtyczek CCZE
d5aebe15
JB
43Group: Development/Libraries
44Requires: ncurses-devel >= 5.0
45Requires: pcre-devel >= 3.1
46# doesn't require base
47
48%description devel
49Header file for CCZE plugins.
50
bea2a16f
JR
51%description devel -l pl.UTF-8
52Plik nagłówkowy dla wtyczek CCZE.
d5aebe15 53
6507de75 54%prep
55%setup -q
99040023
PG
56%patch0 -p1
57%patch1 -p1
58%patch2 -p0
59%patch3 -p1
60%patch4 -p1
61%patch5 -p1
0c292e1b 62%patch6 -p1
6507de75 63
64%build
f6e626d3 65%{__aclocal}
66%{__autoheader}
67%{__autoconf}
d5aebe15
JB
68CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
69%configure \
70 --with-builtins=all
71
6507de75 72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
d5aebe15
JB
76install -d $RPM_BUILD_ROOT%{_sysconfdir}
77
6507de75 78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
d5aebe15
JB
80
81src/ccze-dump >$RPM_BUILD_ROOT%{_sysconfdir}/cczerc
6507de75 82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files
87%defattr(644,root,root,755)
88%doc AUTHORS ChangeLog ChangeLog-0.1 NEWS README THANKS FAQ
b1a4418f 89%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cczerc
6507de75 90%attr(755,root,root) %{_bindir}/ccze
91%attr(755,root,root) %{_bindir}/ccze-cssdump
6507de75 92%{_mandir}/man1/ccze.1*
93%{_mandir}/man1/ccze-cssdump.1*
d5aebe15
JB
94
95%files devel
96%defattr(644,root,root,755)
97%{_includedir}/ccze.h
6507de75 98%{_mandir}/man7/ccze-plugin.7*
This page took 0.064282 seconds and 4 git commands to generate.