%global srcname httpry Summary: A specialized packet sniffer designed for displaying and logging HTTP traffic Name: %{srcname} Version: 0.1.8 Release: 18%{?dist} License: GPLv2 and BSD URL: http://dumpsterventures.com/jason/%{srcname}/ Source: http://dumpsterventures.com/jason/%{srcname}/%{srcname}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libpcap-devel BuildRequires: make %description httpry is a specialized packet sniffer designed for displaying and logging HTTP traffic. It is not intended to perform analysis itself, but to capture, parse, and log the traffic for later analysis. It can be run in real-time displaying the traffic as it is parsed, or as a daemon process that logs to an output file. It is written to be as lightweight and flexible as possible, so that it can be easily adaptable to different applications. %prep %setup -q %build sed -i 's/^CCFLAGS.*$/CCFLAGS = \$(RPM_OPT_FLAGS) \$(RPM_LD_FLAGS) -I\/usr\/include\/pcap -I\/usr\/local\/include\/pcap/' Makefile make %{?_smp_mflags} %install rm -rf %{buildroot} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 install -Dp -m 0755 %{srcname} ${RPM_BUILD_ROOT}%{_sbindir}/%{srcname} install -Dp -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %doc doc/ChangeLog doc/COPYING doc/format-string doc/method-string doc/perl-tools doc/README %{_sbindir}/%{srcname} %{_mandir}/man1/%{srcname}.1* %changelog * Thu Jul 21 2022 Fedora Release Engineering 0.1.8-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 0.1.8-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 09 2021 Major Hayden 0.1.8-23 - Move to rpmautospec * Thu Jul 22 2021 Fedora Release Engineering 0.1.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 0.1.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 19 2020 Tom Stellard 0.1.8-20 - Add BuildRequires: make * Tue Jul 28 2020 Fedora Release Engineering 0.1.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering 0.1.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering 0.1.8-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering 0.1.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko 0.1.8-15 - Remove obsolete Group tag * Tue Jul 24 2018 Igor Gnatenko 0.1.8-14 - Add missing BuildRequires on gcc * Fri Jul 13 2018 Fedora Release Engineering 0.1.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jul 10 2018 Jason Tibbitts 0.1.8-12 - Remove needless use of %%defattr * Wed Feb 14 2018 Igor Gnatenko 0.1.8-11 - Remove %%clean section * Tue Feb 13 2018 Igor Gnatenko 0.1.8-10 - Remove BuildRoot definition * Fri Feb 09 2018 Igor Gnatenko 0.1.8-9 - Escape macros in %%changelog * Wed Feb 07 2018 Fedora Release Engineering 0.1.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering 0.1.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering 0.1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering 0.1.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Dennis Gilmore 0.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Dennis Gilmore 0.1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Peter Robinson 0.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jul 25 2014 Major Hayden 0.1.8-1 - Upstream version 0.1.8 released. * Sat Jun 07 2014 Dennis Gilmore 0.1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Dennis Gilmore 0.1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Dennis Gilmore 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Dennis Gilmore 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 20 2012 Major Hayden 0.1.7-1 - Upstream version 0.1.7 released. * Mon Feb 27 2012 Major Hayden 0.1.5-1 - Adjusted compiler flags in Makefile prior to build. (#796445)