]> git.pld-linux.org Git - packages/pisg.git/blob - pisg.spec
- fixed config location
[packages/pisg.git] / pisg.spec
1 Summary:        Perl script which generates statistics from IRC logfiles
2 Summary(pl):    -
3 Name:           pisg
4 Version:        0.64
5 Release:        0.9
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://dl.sourceforge.net/pisg/%{name}-%{version}.tar.gz
9 # Source0-md5:  e963b650c34b1e2c495d3e09897f59da
10 Patch0:         %{name}-config.patch
11 URL:            http://pisg.sourceforge.net/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 pisg is an IRC channel statics generator written in Perl, it creates
16 statistics from different logfile formats. It was originally written
17 because IRCStats wasn't open source. So here's an open source/GPL'ed
18 version to anyone interested. It's a funny thing for your IRC channel,
19 and it's highly customizeable. Extensive documentation can be found
20 at: http://pisg.sourceforge.net/docs/
21
22 %description -l pl
23 -
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{/etc/pisg,%{_datadir}/pisg,%{_bindir}}
34 cp pisg.cfg $RPM_BUILD_ROOT/etc/pisg
35 cp -R gfx layout modules pisg lang.txt scripts $RPM_BUILD_ROOT%{_datadir}/pisg
36 echo '%{_datadir}/pisg/pisg $@' > $RPM_BUILD_ROOT%{_bindir}/pisg
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc COPYING README docs
44 %dir /etc/pisg
45 %config(noreplace) /etc/pisg/pisg.cfg
46 %dir %{_datadir}/pisg
47 %{_datadir}/pisg/gfx
48 %{_datadir}/pisg/layout
49 %{_datadir}/pisg/modules
50 %{_datadir}/pisg/scripts
51 %attr(755,root,root) %{_bindir}/pisg
52 %attr(755,root,root) %{_datadir}/pisg/pisg
53 %{_datadir}/pisg/lang.txt
This page took 0.111889 seconds and 4 git commands to generate.