%define gitver %(echo %version | tr _ -) Name: ccze Version: 0.2.1_2 Release: 1mamba Summary: A robust, modular log coloriser Group: Applications/Text Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/madhouse/ccze Source: https://github.com/madhouse/ccze.git/ccze-%{gitver}/ccze-%{version}.tar.bz2 Patch1: %{name}-0.2.1-argp.patch Patch2: %{name}-0.2.1-configure.patch Patch3: %{name}-0.2.1-mod_syslog.patch Patch4: %{name}-0.2.1-wordcolor.patch Patch5: %{name}-0.2.1-man.patch Patch6: %{name}-0.2.1-gcc4.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libncurses-devel BuildRequires: libpcre-devel ## AUTOBUILDREQ-END %description CCZE is a robust and modular log coloriser, with plugins for apm, exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd, vsftpd, xferlog and more. %debug_package %prep %setup -q #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 #%patch4 -p1 #%patch5 -p1 #%patch6 -p1 %build autoreconf -vif %configure \ --with-builtins=all %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install -d %{buildroot}/%{_sysconfdir} src/ccze-dump > %{buildroot}/%{_sysconfdir}/%{name}rc rm -fr %{buildroot}%{_includedir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/%{name}* %{_sysconfdir}/%{name}rc %{_mandir}/man1/* %{_mandir}/man7/* %doc AUTHORS COPYING %changelog * Tue May 25 2021 Silvan Calarco 0.2.1_2-1mamba - update to 0.2.1_2 * Thu Sep 05 2013 Automatic Build System 0.2.1-2mamba - automatic rebuild by autodist * Sat Jul 14 2007 Stefano Cotta Ramusino 0.2.1-1mamba - package created by autospec