]> git.pld-linux.org Git - packages/awffull.git/blame - awffull.spec
- fix no/nb and zh/zh_CN
[packages/awffull.git] / awffull.spec
CommitLineData
d49f6961
PG
1# TODO:
2# - install flags in %{datadir}/%{name} and make config for apache
3# - patch config in package and fix paths
255035b2 4Summary: Web server log analysis program
0305aef4 5Summary(pl.UTF-8): Program do analizy logów serwera WWW
255035b2 6Name: awffull
3539225a 7Version: 3.8.2
a19668ac 8Release: 2
71f2213b 9License: GPL v2
255035b2 10Group: Applications/Networking
255035b2 11Source0: http://www.stedee.id.au/files/%{name}-%{version}.tar.gz
3539225a 12# Source0-md5: 24c972e1feefb223f0a8d4528dabe8c4
71f2213b
PG
13Source1: %{name}.sysconfig
14Source2: %{name}.cron
15Source3: %{name}.crontab
05e70b00 16Patch0: %{name}-no_css_overwrite_warning.patch
720ab8ed 17Patch1: %{name}-geoip.patch
71f2213b 18URL: http://www.stedee.id.au/awffull/
d8c5c483 19BuildRequires: GeoIP-devel > 1.4.0-1
255035b2 20BuildRequires: gd-devel
9ccc6272 21BuildRequires: gettext-devel
255035b2 22BuildRequires: pcre-devel
3539225a 23Suggests: dnshistory
255035b2 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27AWFFull is a Web server log analysis program, forked from Webalizer.
28It adds a number of new features and improvements, such as extended
29frontpage history, resizable graphs, and a few more pie charts.
30
2876e13e
JR
31%description -l pl.UTF-8
32AWFFull to program do analizy logów serwer WWW wywodzący się z
33Webalizera. Dodaje wiele nowych możliwości i ulepszeń, takich jak
34rozszerzona historia strony głównej, skalowalne wykresy i nieco więcej
35wykresów kołowych.
55ef4da3 36
255035b2 37%prep
38%setup -q
05e70b00 39%patch0 -p1
720ab8ed 40%patch1 -p1
255035b2 41
42%build
43%configure
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
85cf6b58 48install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},/etc/{sysconfig,cron.d},%{_sbindir}}
71f2213b 49
255035b2 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
71f2213b 53install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
484ede7e 54install contrib/%{name}_history_regen.pl $RPM_BUILD_ROOT%{_sbindir}
85cf6b58 55install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
71f2213b 56install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/%{name}.cron
85cf6b58 57install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/%{name}
71f2213b 58
9ccc6272
PG
59%find_lang %{name}
60
255035b2 61%clean
62rm -rf $RPM_BUILD_ROOT
63
9ccc6272 64%files -f %{name}.lang
255035b2 65%defattr(644,root,root,755)
d49f6961 66%doc ChangeLog *README* TODO flags
85cf6b58 67%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
71f2213b
PG
68%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
69%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
70%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
71f2213b
PG
71%attr(755,root,root) %{_bindir}/%{name}
72%attr(755,root,root) %{_sbindir}/%{name}.cron
d8c5c483 73%attr(755,root,root) %{_sbindir}/%{name}_history_regen.pl
28c334f1 74%{_mandir}/man1/awffull*
This page took 0.226489 seconds and 4 git commands to generate.