2024-01-05 21:09:24 +01:00
|
|
|
%define gitver %(echo %version | tr _ -)
|
2024-01-05 21:09:23 +01:00
|
|
|
Name: ccze
|
2024-01-05 21:09:24 +01:00
|
|
|
Version: 0.2.1_2
|
|
|
|
Release: 1mamba
|
2024-01-05 21:09:23 +01:00
|
|
|
Summary: A robust, modular log coloriser
|
|
|
|
Group: Applications/Text
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:09:24 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/madhouse/ccze
|
|
|
|
Source: https://github.com/madhouse/ccze.git/ccze-%{gitver}/ccze-%{version}.tar.bz2
|
2024-01-05 21:09:23 +01:00
|
|
|
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
|
2024-01-05 21:09:24 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:09:23 +01:00
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-05 21:09:24 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:09:23 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 21:09:24 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:09:23 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:09:24 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
#%patch4 -p1
|
|
|
|
#%patch5 -p1
|
|
|
|
#%patch6 -p1
|
2024-01-05 21:09:23 +01:00
|
|
|
|
|
|
|
%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/*
|
2024-01-05 21:09:24 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 21:09:23 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:09:24 +01:00
|
|
|
* Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1_2-1mamba
|
|
|
|
- update to 0.2.1_2
|
|
|
|
|
2024-01-05 21:09:23 +01:00
|
|
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 0.2.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Jul 14 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.2.1-1mamba
|
|
|
|
- package created by autospec
|