]>
Commit | Line | Data |
---|---|---|
79b440c6 | 1 | Summary: Perl script which generates statistics from IRC logfiles |
0d58bccd | 2 | Summary(pl.UTF-8): Skrypt perlowy generujący statystyki z plików logujących IRC-a |
79b440c6 | 3 | Name: pisg |
135c95e1 | 4 | Version: 0.70 |
db89f39b | 5 | Release: 1 |
79b440c6 AA |
6 | License: GPL |
7 | Group: Applications/Communications | |
135c95e1 ER |
8 | Source0: http://dl.sourceforge.net/pisg/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 870c5ddf353c70d32159ac2dd310efc7 | |
79b440c6 AA |
10 | Patch0: %{name}-config.patch |
11 | URL: http://pisg.sourceforge.net/ | |
0bc41267 | 12 | BuildArch: noarch |
79b440c6 AA |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | pisg is an IRC channel statics generator written in Perl, it creates | |
9c4514da | 17 | statistics from different logfile formats. The supported logfile |
18 | formats is explained in the FORMATS file. It was originally written | |
dc9345e7 | 19 | because IRCStats wasn't open source. It's highly customizable. |
9c4514da | 20 | Extensive documentation can be found at: |
21 | <http://pisg.sourceforge.net/docs/>. | |
79b440c6 | 22 | |
0dcf5d97 JR |
23 | %description -l pl.UTF-8 |
24 | pisg jest napisanym w Perlu generatorem statystyk kanału IRC. Tworzy | |
25 | je z różnych formatów plików logujących. Obsługiwane formaty są | |
26 | objaśnione w pliku FORMATS. Jest wysoko konfigurowalny. Obszerniejsza | |
27 | dokumentacja znajduje się na: <http://pisg.sourceforge.net/docs/>. | |
79b440c6 AA |
28 | |
29 | %prep | |
30 | %setup -q | |
31 | %patch0 -p1 | |
f2da6177 | 32 | mv docs/pisg.1 . |
79b440c6 | 33 | |
79b440c6 AA |
34 | %install |
35 | rm -rf $RPM_BUILD_ROOT | |
063451dd | 36 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/pisg,%{_datadir}/pisg,%{_bindir}} |
0bc41267 | 37 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
f2da6177 | 38 | install pisg.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
4728d1c7 | 39 | install pisg.cfg $RPM_BUILD_ROOT%{_sysconfdir}/pisg |
0bc41267 | 40 | cp -R gfx layout modules pisg lang.txt $RPM_BUILD_ROOT%{_datadir}/pisg |
4f23e92e ER |
41 | cat <<'EOF' > $RPM_BUILD_ROOT%{_bindir}/pisg |
42 | #!/bin/sh | |
43 | exec %{_datadir}/pisg/pisg "$@" | |
44 | EOF | |
79b440c6 AA |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
0bc41267 | 51 | %doc README docs scripts |
dc9345e7 | 52 | %attr(755,root,root) %{_bindir}/pisg |
063451dd | 53 | %dir %{_sysconfdir}/pisg |
54 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pisg/pisg.cfg | |
79b440c6 AA |
55 | %dir %{_datadir}/pisg |
56 | %{_datadir}/pisg/gfx | |
57 | %{_datadir}/pisg/layout | |
58 | %{_datadir}/pisg/modules | |
79b440c6 AA |
59 | %attr(755,root,root) %{_datadir}/pisg/pisg |
60 | %{_datadir}/pisg/lang.txt | |
0bc41267 | 61 | %{_mandir}/man1/pisg* |