summaryrefslogtreecommitdiffstats
path: root/rpm/SPECS/logactio.spec
blob: 68829c9210853685e97aa350b862e1ff9ecd7714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}

Summary: A simple log tracker which acts on certain events
Name: logactio
Version: 0.01
Release: 1
License: GPLv2
Group: System Environment/Daemons
URL: http://fedorapeople.org/cgit/dsommers/public_git/logactio.git/
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch

%description
LogActio is a modular log tracker, which observes changes and acts
through different modules based on the event.  It is purely written
in Python and can easily be extended with specific actions.

%prep
%setup -q

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/logactio
%{python_sitelib}/LogActio

%if "%{python_ver}" >= "2.5"
%{python_sitelib}/*.egg-info
%endif

%changelog
* Wed Dec 25 2013 David Sommerseth <dazo@users.sourceforge.net> - 0.01-1
- Initial RPM packaging