rpms/ccze/F-10 ccze-0.2.1-Wmulticharacter.patch, NONE, 1.1 ccze.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Pavel Alexeev hubbitus at fedoraproject.org
Thu Aug 6 22:17:43 UTC 2009


Author: hubbitus

Update of /cvs/pkgs/rpms/ccze/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18899/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	ccze-0.2.1-Wmulticharacter.patch ccze.spec import.log 
Log Message:
Initial push ccze into Fedora.



ccze-0.2.1-Wmulticharacter.patch:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE ccze-0.2.1-Wmulticharacter.patch ---
diff -NaurEbBH ccze-0.2.1.orig/src/Makefile.in ccze-0.2.1/src/Makefile.in
--- ccze-0.2.1.orig/src/Makefile.in	2003-05-13 14:09:30.000000000 -0400
+++ ccze-0.2.1/src/Makefile.in	2009-07-11 15:06:20.000000000 -0400
@@ -22,7 +22,7 @@
 		-Wbad-function-cast -Wsign-compare -Wchar-subscripts \
 		-Wcomment -Wformat -Wformat-nonliteral -Wformat-security \
 		-Wimplicit -Wmain -Wmissing-braces -Wparentheses \
-		-Wreturn-type -Wswitch -Wmulticharacter \
+		-Wreturn-type -Wswitch \
 		-Wmissing-noreturn -Wmissing-declarations @WFLAGS_3X@
 WFLAGS_ICC	= -Wall -wd193,279,810,869,1418,1419
 WFLAGS_3X	= -Wsequence-point -Wdiv-by-zero -W -Wunused \


--- NEW FILE ccze.spec ---
Summary:		A robust log colorizer
Summary(ru):	Мощный коллоризатор логов
Name:		ccze
Version:		0.2.1
Release:		5%{?dist}
# http://web.archive.org/web/20040803024236/bonehunter.rulez.org/CCZE.phtml
URL:			http://bonehunter.rulez.org/CCZE.html
License:		GPLv2+
Group:		Applications/Text
Source:		ftp://bonehunter.rulez.org/pub/ccze/stable/ccze-%{version}.tar.gz
# Package intended to EL-5 too, so we still need define BuildRoot
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	ncurses-devel >= 5.0, pcre-devel >= 3.1
# Upstream is dead. So, patch himself.
Patch0:		ccze-0.2.1-Wmulticharacter.patch

%description
CCZE is a roboust and modular log colorizer, with plugins for apm,
exim, fetchmail, httpd, postfix, procmail, squid, syslog, ulogd,
vsftpd, xferlog and more.

%description -l ru
CCZE это мощный и модульный раскрашиватель логов. Имеются модули-
-плагины для: apm, exim, fetchmail, httpd, postfix, procmail, squid,
syslog, ulogd, vsftpd, xferlog и другие.

%prep
%setup -q
%patch0 -p1 -b .-Wmulticharacter

%build
%configure --with-builtins=all
# To avoid problem: /usr/include/errno.h:69: error: two or more data types in declaration specifiers
# we add -D__error_t_defined=1 to inform what errno_t already defined.
make %{?_smp_mflags} CFLAGS="%{optflags} -D__error_t_defined=1"

%install
rm -rf %{buildroot}

iconv -f ISO-8859-1 -t UTF-8 THANKS > THANKS.new
touch --reference THANKS THANKS.new
mv -f THANKS.new THANKS

#% makeinstall
make install DESTDIR="%{buildroot}"

install -d %{buildroot}/%{_sysconfdir}
src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc

rm %{buildroot}/%{_includedir}/ccze.h

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog ChangeLog-0.1 NEWS README THANKS FAQ
%config(noreplace) %{_sysconfdir}/cczerc
%{_bindir}/ccze
%{_bindir}/ccze-cssdump
%{_mandir}/man1/ccze.1*
%{_mandir}/man1/ccze-cssdump.1*
%{_mandir}/man7/ccze-plugin.7*

%changelog
* Tue Aug 4 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.2.1-5
- Things of Martin Gieseking in informal review:
- Add %%{?_smp_mflags} to make.
- Change BuildRoot.

* Sat Jul 11 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.2.1-4
- %%makeinstall replaced by make install DESTDIR="%%{buildroot}" as pointed by Jussi Lehtola.

* Sat Jul 11 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.2.1-3
- Import form ftp://ftp.pbone.net/mirror/norlug.org/norlug/redhat-7.3/SRPMS/ccze-0.2.1-2.norlug.src.rpm
- Reformat with tabs.
- Remove unneded defines, and replece it by direct values in appropriate tags:
	%%define version 0.2.1, %%define dist stable, %%define release 2.norlug
- Add %%{?dist} part into release
- Add Fedora system optflags to build
- Add Patch0: ccze-0.2.1-Wmulticharacter.patch
- Add -D__error_t_defined=1 into CFLAGS.
- Add clan buildroot in %%install
- License changed from GPL to GPLv2+
- Add noreplace option to %%config file
- Remove devel file %%{_includedir}/ccze.h
- Add COPYING to %%doc files.
- iconv'ed THANKS from ISO-8859-1 (guessed)
- Add Summary and description on Russian.

* Thu Sep 4 2003 Chip Cuccio <chipster at norlug.org> 0.2.1-2
- initial build


--- NEW FILE import.log ---
ccze-0_2_1-5_fc11:F-10:ccze-0.2.1-5.fc11.src.rpm:1249597033


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ccze/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	4 Aug 2009 20:31:39 -0000	1.1
+++ .cvsignore	6 Aug 2009 22:17:43 -0000	1.2
@@ -0,0 +1 @@
+ccze-0.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ccze/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	4 Aug 2009 20:31:39 -0000	1.1
+++ sources	6 Aug 2009 22:17:43 -0000	1.2
@@ -0,0 +1 @@
+221966bce7c5f011eca38157241a0432  ccze-0.2.1.tar.gz




More information about the fedora-extras-commits mailing list