File: modlogan.spec

package info (click to toggle)
modlogan 0.8.13-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,112 kB
  • ctags: 3,683
  • sloc: ansic: 38,972; sh: 10,991; makefile: 545; perl: 220; sed: 16
file content (91 lines) | stat: -rw-r--r-- 2,660 bytes parent folder | download | duplicates (3)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Summary: Modular Log Analyzer (modlogan)
Name: modlogan
Version: 0.8.13
Release: 1
Source: http://jan.kneschke.de/projects/modlogan/download/modlogan-%version.tar.gz
Packager: Jan Kneschke <jan@kneschke.de>
License: GPL
Group: Applications/System
Requires: pcre >= 3.1 gd >= 1.8.3 libxml2 >= 2.3.0
BuildPrereq: gd-devel >= 1.8.3 libxml2-devel >= 2.3.0 perl libtool bzip2
BuildRoot: %{_tmppath}/%{name}-root


%description
Modlogan is a modular logfile analyzer written by Jan Kneschke.

%prep

%setup -q



%build
rm -rf %{buildroot}
%configure LINGUAS="de cs es it fr pl ru hu"
make

%install
%makeinstall
for i in %{buildroot}%{_sysconfdir}/%{name}/*-dist; do
 if test ! -f `echo $i |sed 's/-dist//'`; then
  mv -f  $i `echo $i |sed 's/-dist//'` || true
 fi
done

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL Doxyfile NEWS README TODO doc/license.GD doc/*txt doc/*ihtml
%{_bindir}/*
%{_mandir}/*
%config %{_sysconfdir}/%{name}/group.extension.conf
%config %{_sysconfdir}/%{name}/group.host.conf
%config %{_sysconfdir}/%{name}/group.os.conf
%config %{_sysconfdir}/%{name}/group.searchengines.conf
%config %{_sysconfdir}/%{name}/group.ua.conf
%config %{_sysconfdir}/%{name}/group.url.conf
%config %{_sysconfdir}/%{name}/ignore.searchengines.conf
%config %{_sysconfdir}/%{name}/match.os.conf
%config %{_sysconfdir}/%{name}/match.searchengines.conf
%config %{_sysconfdir}/%{name}/match.ua.conf
%config %{_sysconfdir}/%{name}/match.useragents.conf
%config %{_sysconfdir}/%{name}/modlogan.conf
%config %{_sysconfdir}/%{name}/modlogan.def.conf
%config %{_sysconfdir}/%{name}/modlogan.css
%config %{_sysconfdir}/%{name}/modlogan.conf
%config %{_sysconfdir}/%{name}/modlogan.def.conf
%config %{_sysconfdir}/%{name}/modlogan.css
%{_libdir}/*
/usr/share/locale/*/LC_MESSAGES/modlogan.mo

%changelog
* Sat Dec 07 2002 <jan@kneschke.de>
- added missing config-files

* Sat Nov 24 2001 <dan@ohnesorg.cz>
- fixed building process on Redhat 7.2
- more correct localization support

* Wed Nov 21 2001 <hal@foobox.net>
- Change requires, eliminating libadns1, and adding perl and libtool.
- Rewrote *-dist config files for install. Increase usage of RPM macros
  in spec. RH7.x fix for pcre.h being /usr/include/pcre/pcre.h. Changed
- 'Group' to RH compliant classification.

* Thu May 24 2001 <jan@kneschke.de>
- generalized the buildprocess

* Thu Jul 27 2000 <janneke@gnu.org>
- added modlogan.def.conf
- added plugins
- fixed configure options and dependencies
                                           
* Tue May 24 2000 <janneke@gnu.org>
- initial version