2 # Licensed to the Apache Software Foundation (ASF) under one or more
3 # contributor license agreements. See the NOTICE file distributed with
4 # this work for additional information regarding copyright ownership.
5 # The ASF licenses this file to You under the Apache License, Version 2.0
6 # (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 %global package_version @PACKAGE_VERSION@
19 %global package_name @PACKAGE_NAME@
21 Summary: Log Collector for oVirt Engine
23 Version: @PACKAGE_RPM_VERSION@
24 Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
26 URL: http://www.ovirt.org
27 Source: http://resources.ovirt.org/releases/3.2/src/%{package_name}-%{package_version}.tar.gz
29 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
32 Requires: python-dateutil
34 Requires: ovirt-engine-sdk
36 BuildRequires: python2-devel
37 BuildRequires: gettext
40 Log Collector tool for oVirt Engine
43 %setup -q -n %{package_name}-%{package_version}
47 --docdir="%{_docdir}/%{package_name}-%{version}" \
48 --disable-python-syntax-check
53 make %{?_smp_mflags} install DESTDIR="%{buildroot}"
58 %config(noreplace) %{_sysconfdir}/ovirt-engine/logcollector.conf
59 %{_sysconfdir}/ovirt-engine/logcollector.conf.d/.keep
60 %{python_sitelib}/ovirt_log_collector/*.py*
61 %{python_sitelib}/ovirt_log_collector/helper/*.py*
62 %{python_sitelib}/sos/plugins/*.py*
63 %{_bindir}/engine-log-collector
67 * Thu Feb 14 2013 Kiril Nesenko <knesenko@redhat.com> - 3.2.0-1
70 * Tue Feb 5 2013 Kiril Nesenko <knesenko@redhat.com> - 3.2.0-0.1.beta
73 * Tue Oct 2 2012 Alon Bar-Lev <alonbl@redhat.com>
76 * Thu Mar 8 2012 Keith Robertson <kroberts@redhat.com> - 1.0.0-0