|
|
4ab4f40 |
%{expand:%%define prev__perl_requires %{__perl_requires}}
|
|
|
4ab4f40 |
%define __perl_requires perl %{SOURCE1} %{prev__perl_requires}
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
Summary: Squid native log format (NLF) analyzer and report generator
|
|
|
4ab4f40 |
Name: calamaris
|
|
|
4ab4f40 |
Version: 2.59
|
|
|
b31cb88 |
Release: 11%{?dist}
|
|
|
4ab4f40 |
License: GPLv2+
|
|
|
4ab4f40 |
Group: Applications/Internet
|
|
|
4ab4f40 |
URL: http://calamaris.cord.de/
|
|
|
4ab4f40 |
Source0: http://calamaris.cord.de/%{name}-%{version}.tar.gz
|
|
|
4ab4f40 |
Source1: calamaris-filter-requires.sh
|
|
|
55a229a |
Patch0: calamaris-2.59-perl_512.patch
|
|
|
4ab4f40 |
BuildArch: noarch
|
|
|
4ab4f40 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%description
|
|
|
4ab4f40 |
Calamaris parses the Squid Native Log and generates reports
|
|
|
4ab4f40 |
about Peak-usage, Request-Methods, Status-reports of incoming
|
|
|
4ab4f40 |
and outgoing requests, second and Top-level destinations,
|
|
|
4ab4f40 |
content-types and performance.
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%prep
|
|
|
4ab4f40 |
%setup -q
|
|
|
55a229a |
%patch0 -p1 -b .perl_512
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%build
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%install
|
|
|
4ab4f40 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4ab4f40 |
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
|
|
4ab4f40 |
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
|
|
|
4ab4f40 |
install -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
# Convert everything to UTF-8
|
|
|
4ab4f40 |
iconv -f iso-8859-1 -t utf-8 -o CHANGES.utf8 CHANGES
|
|
|
4ab4f40 |
touch -r CHANGES CHANGES.utf8; mv -f CHANGES.utf8 CHANGES
|
|
|
4ab4f40 |
iconv -f iso-8859-1 -t utf-8 -o EXAMPLES.utf8 EXAMPLES
|
|
|
4ab4f40 |
touch -r EXAMPLES EXAMPLES.utf8; mv -f EXAMPLES.utf8 EXAMPLES
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%clean
|
|
|
4ab4f40 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%files
|
|
|
55a229a |
%defattr(-,root,root,-)
|
|
|
4ab4f40 |
%doc CHANGES COPYRIGHT EXAMPLES README
|
|
|
4ab4f40 |
%{_bindir}/%{name}
|
|
|
4ab4f40 |
%{_mandir}/man1/%{name}.1*
|
|
|
4ab4f40 |
|
|
|
4ab4f40 |
%changelog
|
|
|
b31cb88 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-11
|
|
|
b31cb88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b31cb88 |
|
|
|
55a229a |
* Sat Aug 03 2013 Robert Scheck <robert@fedoraproject.org> 2.59-10
|
|
|
55a229a |
- Added patch to avoid warnings with perl >= 5.12 (#970990)
|
|
|
55a229a |
|
|
|
08aff62 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-9
|
|
|
08aff62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
08aff62 |
|
|
|
0e4797f |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.59-8
|
|
|
0e4797f |
- Perl 5.18 rebuild
|
|
|
0e4797f |
|
|
|
4c468f5 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-7
|
|
|
4c468f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4c468f5 |
|
|
|
9b1f020 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-6
|
|
|
9b1f020 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9b1f020 |
|
|
|
cd76524 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-5
|
|
|
cd76524 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cd76524 |
|
|
|
2a24708 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-4
|
|
|
2a24708 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2a24708 |
|
|
|
ba1a2da |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-3
|
|
|
ba1a2da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ba1a2da |
|
|
|
f05d41b |
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 2.59-2
|
|
|
f05d41b |
- Rebuild against gcc 4.4 and rpm 4.6
|
|
|
f05d41b |
|
|
|
4ab4f40 |
* Thu Jul 24 2008 Robert Scheck <robert@fedoraproject.org> 2.59-1
|
|
|
4ab4f40 |
- Upgrade to 2.59
|
|
|
4ab4f40 |
- Initial spec file for Fedora and Red Hat Enterprise Linux
|