ccze/ccze.spec

67 lines
1.8 KiB
RPMSpec

Name: ccze
Version: 0.2.1
Release: 2mamba
Summary: A robust, modular log coloriser
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://packages.debian.org/unstable/utils/ccze.html
Source: http://ftp.debian.org/debian/pool/main/c/ccze/ccze_%{version}.orig.tar.gz
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
BuildRequires: libncurses-devel
BuildRequires: libpcre-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%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 ChangeLog-0.1 NEWS README THANKS
%changelog
* 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