rpms/petit/F-12 import.log, NONE, 1.1 petit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Sandro Mathys
red at fedoraproject.org
Thu Apr 8 07:04:17 UTC 2010
- Previous message: rpms/petit/devel import.log, NONE, 1.1 petit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/petit/F-13 import.log, NONE, 1.1 petit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: red
Update of /cvs/pkgs/rpms/petit/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13695/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log petit.spec
Log Message:
initial import
--- NEW FILE import.log ---
petit-1_0_0-1_fc12:F-12:petit-1.0.0-1.fc12.src.rpm:1270710087
--- NEW FILE petit.spec ---
Name: petit
Version: 1.0.0
Release: 1%{?dist}
Summary: Log analysis tool for syslog, Apache and raw log files
Group: Applications/System
License: GPLv3+
URL: http://opensource.eyemg.com/index.php/Petit
Source0: http://opensource.eyemg.com/files/%{name}/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
Log analysis tool which is useful to systems administrators & systems
analysts. It interacts with syslog and Apache logs to clarify what is
happening in logs.
%prep
%setup -q -n %{name}
# Remove binary manpage
rm -f src/man/*.gz
# Remove hidden svn folders
find -type d -name .svn | xargs rm -rf
# Replace (hardcoded) wrong path: /var/lib -> /usr/share
find src -type f -exec sed -i -e 's|/var/lib|%{_datadir}|' {} \;
# Remove shebang/interpreter directive where not necessary
sed -i -e '/#!\/usr\/bin\/env python/d' src/lib/crunchtools.py
%build
# Nothing to do
%install
rm -rf $RPM_BUILD_ROOT
pushd src
install -d ${RPM_BUILD_ROOT}%{_bindir}/
install -m755 bin/petit ${RPM_BUILD_ROOT}%{_bindir}/
install -d ${RPM_BUILD_ROOT}%{_datadir}/petit/
install -m644 lib/crunchtools.py ${RPM_BUILD_ROOT}%{_datadir}/petit/
install -d ${RPM_BUILD_ROOT}%{_datadir}/petit/filters/
install -m644 lib/filters/*.stopwords ${RPM_BUILD_ROOT}%{_datadir}/petit/filters/
install -d ${RPM_BUILD_ROOT}%{_datadir}/petit/fingerprints/
install -m644 lib/fingerprints/*.fp ${RPM_BUILD_ROOT}%{_datadir}/petit/fingerprints/
install -d ${RPM_BUILD_ROOT}%{_datadir}/petit/fingerprint_library/
install -m644 lib/fingerprint_library/*.fp ${RPM_BUILD_ROOT}%{_datadir}/petit/fingerprint_library/
install -d ${RPM_BUILD_ROOT}%{_mandir}/man1/
install -m644 man/petit.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/petit
%{_datadir}/petit/
%{_mandir}/man1/petit.1.*
%changelog
* Sun Mar 07 2010 Sandro Mathys <red at fedoraproject.org> - 1.0.0-1
- initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/petit/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 8 Apr 2010 02:51:11 -0000 1.1
+++ .cvsignore 8 Apr 2010 07:04:16 -0000 1.2
@@ -0,0 +1 @@
+petit-1.0.0.tgz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/petit/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 8 Apr 2010 02:51:11 -0000 1.1
+++ sources 8 Apr 2010 07:04:16 -0000 1.2
@@ -0,0 +1 @@
+8c1668fed0b7affef3d10f547cd422e5 petit-1.0.0.tgz
- Previous message: rpms/petit/devel import.log, NONE, 1.1 petit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/petit/F-13 import.log, NONE, 1.1 petit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list