SPECS: logtool.spec - 1.2.8

areq areq at pld-linux.org
Sun Jun 3 19:57:14 CEST 2007


Author: areq                         Date: Sun Jun  3 17:57:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.2.8

---- Files affected:
SPECS:
   logtool.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/logtool.spec
diff -u SPECS/logtool.spec:1.24 SPECS/logtool.spec:1.25
--- SPECS/logtool.spec:1.24	Tue Feb 13 07:46:52 2007
+++ SPECS/logtool.spec	Sun Jun  3 19:57:08 2007
@@ -2,13 +2,12 @@
 Summary:	A handy syslog file(s) manipulation/monitoring/parsing tool
 Summary(pl.UTF-8):	Poręczne narzędzie do manipulowania/monitorowania/parsowania plików sysloga
 Name:		logtool
-Version:	1.1.0
-Release:	4
+Version:	1.2.8
+Release:	1
 License:	GPL
 Group:		Applications/Text
 Source0:	http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz
-# Source0-md5:	1c51da0ee599441200c74f761c617139
-Patch0:		%{name}-ac_fixes.patch
+# Source0-md5:	f596fd2057fe5f3293ca054dd14a3c10
 URL:		http://www.xjack.org/logtool/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -32,34 +31,33 @@
 
 %prep
 %setup -q
-%patch0 -p1
+sed -i 's/-o root //'  src/Makefile.in
 
 %build
-rm -f missing
-%{__aclocal}
+#rm -f missing
+#%{__aclocal}
 %{__autoconf}
 %configure
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
 
-install conf/{include,exclude,logtool.conf,green,yellow} \
-	$RPM_BUILD_ROOT%{_sysconfdir}
-install logtool/logtool logtail/logtail	$RPM_BUILD_ROOT%{_bindir}
-
-ln -sf logtool $RPM_BUILD_ROOT%{_bindir}/lt
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples
+%doc COPYING TODO INSTALL CHANGES USAGE CREDITS doc/* scripts/*
 %attr(750,root,root) %dir %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +65,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2007/06/03 17:57:08  areq
+- 1.2.8
+
 Revision 1.24  2007/02/13 06:46:52  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/logtool.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list