Eduarod Echeverria 444afd7
%bcond_without lto
Eduarod Echeverria 444afd7
%bcond_without openssl
98a2b9b
98a2b9b
%if %{with lto}
Eduarod Echeverria 444afd7
%global optflags        %{optflags} -flto
Eduarod Echeverria 444afd7
%global build_ldflags   %{build_ldflags} -flto
Eduarod Echeverria 444afd7
%endif
Eduarod Echeverria 444afd7
8bfbb26
Name:           goaccess
alciregi 8f9a442
Version:        1.5.4
alciregi 8f9a442
Release:        1%{?dist}
6f27807
Summary:        Real-time web log analyzer and interactive viewer
8bfbb26
License:        GPLv2+
4a7672c
URL:            https://goaccess.io/
2cb76d1
Source0:        https://tar.goaccess.io/%{name}-%{version}.tar.gz
a975473
BuildRequires:  autoconf
a975473
BuildRequires:  automake
4a7672c
BuildRequires:  gcc
8bfbb26
BuildRequires:  GeoIP-devel
8bfbb26
BuildRequires:  ncurses-devel
98a2b9b
BuildRequires:  gettext-devel
98a2b9b
%if %{with openssl}
98a2b9b
BuildRequires:  openssl-devel
Eduarod Echeverria 444afd7
%endif
bff2a85
BuildRequires: make
1540b95
1540b95
%description
8bfbb26
GoAccess is a real-time web log analyzer and interactive viewer that runs in a
8bfbb26
terminal in *nix systems. It provides fast and valuable HTTP statistics for
8bfbb26
system administrators that require a visual server report on the fly.
1540b95
cef3d0b
Features:
8bfbb26
GoAccess parses the specified web log file and outputs the data to terminal.
8bfbb26
8bfbb26
* General statistics, bandwidth, etc.
24cf6d8
* Time taken to serve the request (useful to track pages that are slowing down
8bfbb26
your site).
8bfbb26
* Metrics for cumulative, average and slowest running requests.
8bfbb26
* Top visitors.
8bfbb26
* Requested files & static files.
8bfbb26
* 404 or Not Found.
8bfbb26
* Hosts, Reverse DNS, IP Location.
8bfbb26
* Operating Systems.
8bfbb26
* Browsers and Spiders.
8bfbb26
* Referring Sites & URLs.
8bfbb26
* Keyphrases.
8bfbb26
* Geo Location - Continent/Country/City.
8bfbb26
* Visitors Time Distribution.
8bfbb26
* HTTP Status Codes.
8bfbb26
* Ability to output JSON and CSV.
8bfbb26
* Tailor GoAccess to suit your own color taste/schemes.
8bfbb26
* Support for large datasets + data persistence.
8bfbb26
* Support for IPv6.
8bfbb26
* Output statistics to HTML. 
8bfbb26
and more...
8bfbb26
8bfbb26
GoAccess allows any custom log format string. Predefined options include, but
8bfbb26
not limited to:
8bfbb26
cef3d0b
* Amazon CloudFront (Download Distribution).
8bfbb26
* AWS Elastic Load Balancing.
8bfbb26
* Apache/Nginx Common/Combined + VHosts.
8bfbb26
* Google Cloud Storage.
8bfbb26
* W3C format (IIS).
cef3d0b
1540b95
%prep
9f93a97
%autosetup
8bfbb26
# Prevent flags being overridden again and again.
8bfbb26
#sed -i 's|-pthread|$CFLAGS \0|' configure.ac
8bfbb26
sed -i '/-pthread/d' configure.ac
1540b95
1540b95
%build
Eduarod Echeverria 444afd7
# autoreconf -fiv
54c0352
# %%configure --enable-debug --enable-geoip --enable-utf8 --enable-tcb=btree --with-getline
Eduarod Echeverria 444afd7
%configure \
98a2b9b
    --enable-debug \
98a2b9b
    --enable-geoip=legacy \
98a2b9b
    --enable-utf8 \
98a2b9b
    --with-getline \
98a2b9b
    %{?with_openssl: --with-openssl}
8bfbb26
%make_build
1540b95
1540b95
%install
8bfbb26
%make_install
Eduarod Echeverria 444afd7
%find_lang %{name}
1540b95
Eduarod Echeverria 444afd7
%files -f %{name}.lang
8bfbb26
%license COPYING
Eduarod Echeverria 444afd7
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
Eduarod Echeverria 444afd7
%config(noreplace) %{_sysconfdir}/%{name}/browsers.list
34f7561
%config(noreplace) %{_sysconfdir}/%{name}/podcast.list
1540b95
%{_bindir}/%{name}
1540b95
%{_mandir}/man1/%{name}.1*
1540b95
1540b95
%changelog
alciregi 8f9a442
* Mon Jan 03 2022 Alessio <alciregi@fedoraproject.org> - 1.5.4-1
alciregi 8f9a442
- Update to 1.5.4
alciregi 8f9a442
3727e52
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.4.6-3
3727e52
- Rebuilt with OpenSSL 3.0.0
3727e52
d848b4d
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-2
d848b4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d848b4d
0d2f176
* Sun Mar 14 2021 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.6-1
0d2f176
- Update to 1.4.6 
0d2f176
Eduardo Echeverria 28f432a
* Sun Feb 14 2021 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.5-1
Eduardo Echeverria 28f432a
- Update to 1.4.5 fixes rhbz#1920124
Eduardo Echeverria 28f432a
98fbbd9
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
98fbbd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
98fbbd9
5261430
* Thu Jan  7 2021 Filipe Rosset <rosset.filipe@gmail.com> - 1.4.3-1
5261430
- Update to 1.4.3 fixes rhbz#1837101
5261430
2db84ef
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
2db84ef
- Second attempt - Rebuilt for
2db84ef
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2db84ef
5a4960f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
5a4960f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5a4960f
Eduarod Echeverria 444afd7
* Sun Mar 29 2020 Eduardo Echeverria <echevemaster@gmail.com> - 1.3-1
Eduarod Echeverria 444afd7
- Upgrade version to 1.3, thanks elxreno@gmail.com
Eduarod Echeverria 444afd7
1692416
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
1692416
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1692416
55c936f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
55c936f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
55c936f
e3e6500
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-6
e3e6500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e3e6500
8fd9b5a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
8fd9b5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8fd9b5a
a419798
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
a419798
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a419798
5755b72
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
5755b72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5755b72
a311338
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
a311338
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a311338
e5e3ff8
* Sat Jul 22 2017 Eduardo Echeverria <echevemaster@gmail.com> - 1.2-1
e5e3ff8
- Update to 1.2
e5e3ff8
80784c0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
80784c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
80784c0
4a7672c
* Sun Jan 01 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.1.1-1
4a7672c
- Update to 1.1.1
4a7672c
6f27807
* Sun Oct 09 2016 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.2-2
6f27807
- Fix typo on the summary
6f27807
0f9300c
* Sat Oct 08 2016 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.2-1
0f9300c
- Update to 1.0.2 
0f9300c
e91ebf4
* Fri Apr 22 2016 Christopher Meng <rpm@cicku.me> - 0.9.8-1
e91ebf4
- Update to 0.9.8
e91ebf4
c90c6cd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-2
c90c6cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c90c6cd
3b4bd1d
* Tue Oct 27 2015 Christopher Meng <rpm@cicku.me> - 0.9.6-1
3b4bd1d
- Update to 0.9.6
3b4bd1d
921a66c
* Wed Sep 09 2015 Christopher Meng <rpm@cicku.me> - 0.9.4-1
921a66c
- Update to 0.9.4
921a66c
8bfbb26
* Thu Aug 27 2015 Christopher Meng <rpm@cicku.me> - 0.9.3-1
8bfbb26
- Update to 0.9.3
8bfbb26
57c2dc5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-2
57c2dc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
57c2dc5
f8f364e
* Fri Dec 5 2014 Eduardo Echeverria <echevemaster@gmail.com> - 0.8.5-1
f8f364e
- Update to 0.8.5
f8f364e
4db645b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
4db645b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4db645b
f0f09aa
* Tue Jul 22 2014 Christopher Meng <rpm@cicku.me> - 0.8.2-1
f0f09aa
- Update to 0.8.2
f0f09aa
cef3d0b
* Wed Jun 18 2014 Christopher Meng <rpm@cicku.me> - 0.8.1-1
cef3d0b
- Update to 0.8.1
cef3d0b
7ca19b9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
7ca19b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7ca19b9
6e3e1cd
* Wed May 21 2014 Christopher Meng <rpm@cicku.me> - 0.8-1
6e3e1cd
- Update to 0.8
6e3e1cd
6e48e2d
* Thu Feb 20 2014 Christopher Meng <rpm@cicku.me> - 0.7.1-1
6e48e2d
- Update to 0.7.1
6e48e2d
4c2d1d6
* Sat Jan 18 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.7-2
4c2d1d6
- Build with $RPM_OPT_FLAGS, fix -debuginfo.
4c2d1d6
5a85227
* Wed Jan 15 2014 Eduardo Echeverria <echevemaster@gmail.com> - 0.7-1
e63c9a7
- Update to 0.7
e63c9a7
Christopher Meng 1f2ecd5
* Wed Nov 20 2013 Christopher Meng <rpm@cicku.me> - 0.6.1-1
Christopher Meng 1f2ecd5
- Update to 0.6.1
Christopher Meng 1f2ecd5
ad6119a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
ad6119a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ad6119a
ac51542
* Fri Jul 19 2013 Eduardo Echeverria  <echevemaster@gmail.com> - 0.6-1
ac51542
- Updated to the new upstream version
ac51542
1540b95
* Sat May 25 2013 Eduardo Echeverria  <echevemaster@gmail.com> - 0.5-2
1540b95
- Fix license field, GPLv2+ is correct
1540b95
- Add NEWS and Changelog files to %%doc
1540b95
1540b95
* Sat May 25 2013 Eduardo Echeverria  <echevemaster@gmail.com> - 0.5-1
1540b95
- Initial packaging