65 lines
1.9 KiB
YAML
65 lines
1.9 KiB
YAML
|
---
|
||
|
#description_paragraphs: 3
|
||
|
#description: |-
|
||
|
# override description from CPAN
|
||
|
#summary: override summary from CPAN
|
||
|
#no_testing: broken upstream
|
||
|
#sources:
|
||
|
# - source1
|
||
|
# - source2
|
||
|
#patches:
|
||
|
# foo.patch: -p1
|
||
|
# bar.patch:
|
||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||
|
#preamble: |-
|
||
|
# BuildRequires: gcc-c++
|
||
|
#post_prep: |-
|
||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||
|
#post_build: |-
|
||
|
# rm unused.files
|
||
|
post_install: |-
|
||
|
install -D -m0755 bin/live-http-headers.pl "%{buildroot}%{_bindir}/live-http-headers"
|
||
|
#license: SUSE-NonFree
|
||
|
#skip_noarch: 1
|
||
|
#custom_build: |-
|
||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||
|
#custom_test: |-
|
||
|
#startserver && make test
|
||
|
#ignore_requires: Bizarre::Module
|
||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||
|
#add_doc: files to add to docs
|
||
|
misc: |-
|
||
|
%exclude %{_bindir}/live-http-headers
|
||
|
%exclude %dir %{perl_vendorlib}/Net
|
||
|
%exclude %dir %{perl_vendorlib}/Net/Pcap
|
||
|
%exclude %{perl_vendorlib}/Net/Pcap/FindDevice.pm
|
||
|
%exclude %{perl_man3dir}/Net::Pcap::FindDevice.%{perl_man3ext}%{ext_man}
|
||
|
|
||
|
%package -n perl-Net-Pcap-FindDevice
|
||
|
Summary: Detect packet capture devices
|
||
|
%{perl_requires}
|
||
|
Requires: perl(Net::Pcap) >= 0.09
|
||
|
# for netstat
|
||
|
Requires: net-tools-deprecated
|
||
|
|
||
|
%description -n perl-Net-Pcap-FindDevice
|
||
|
This module exports only one subroutine, find_device, which employs a dwimish
|
||
|
method to find a network device suitable for sniffing with Net::Pcap.
|
||
|
|
||
|
%package -n live-http-headers
|
||
|
Summary: Multi-connection HTTP header sniffer
|
||
|
Requires: %{name} = %{version}
|
||
|
|
||
|
%description -n live-http-headers
|
||
|
Dump the headers of HTTP connections as they happen.
|
||
|
|
||
|
%files -n perl-Net-Pcap-FindDevice
|
||
|
%dir %{perl_vendorlib}/Net
|
||
|
%dir %{perl_vendorlib}/Net/Pcap
|
||
|
%{perl_vendorlib}/Net/Pcap/FindDevice.pm
|
||
|
%doc %{perl_man3dir}/Net::Pcap::FindDevice.%{perl_man3ext}%{ext_man}
|
||
|
|
||
|
%files -n live-http-headers
|
||
|
%{_bindir}/live-http-headers
|