Blame SPECS/libpcap.spec

89ba97
Name: libpcap
89ba97
Epoch: 14
89ba97
Version: 1.5.0
89ba97
Release: 1.20131108git459712e%{?dist}
89ba97
Summary: A system-independent interface for user-level packet capture
89ba97
Group: Development/Libraries
89ba97
License: BSD with advertising
89ba97
URL: http://www.tcpdump.org
89ba97
BuildRequires: glibc-kernheaders >= 2.2.0 bison flex bluez-libs-devel
89ba97
89ba97
Source:  libpcap-1.5.0-20131108git459712e.tar.gz
89ba97
Patch1:  libpcap-man.patch
89ba97
Patch2:  libpcap-multilib.patch
89ba97
Patch3:  libpcap-s390.patch
89ba97
89ba97
%description
89ba97
Libpcap provides a portable framework for low-level network
89ba97
monitoring.  Libpcap can provide network statistics collection,
89ba97
security monitoring and network debugging.  Since almost every system
89ba97
vendor provides a different interface for packet capture, the libpcap
89ba97
authors created this system-independent API to ease in porting and to
89ba97
alleviate the need for several system-dependent packet capture modules
89ba97
in each application.
89ba97
89ba97
Install libpcap if you need to do low-level network traffic monitoring
89ba97
on your network.
89ba97
89ba97
%package devel
89ba97
Summary: Libraries and header files for the libpcap library
89ba97
Group: Development/Libraries
89ba97
Requires: %{name} = %{epoch}:%{version}-%{release}
89ba97
89ba97
%description devel
89ba97
Libpcap provides a portable framework for low-level network
89ba97
monitoring.  Libpcap can provide network statistics collection,
89ba97
security monitoring and network debugging.  Since almost every system
89ba97
vendor provides a different interface for packet capture, the libpcap
89ba97
authors created this system-independent API to ease in porting and to
89ba97
alleviate the need for several system-dependent packet capture modules
89ba97
in each application.
89ba97
89ba97
This package provides the libraries, include files, and other
89ba97
resources needed for developing libpcap applications.
89ba97
89ba97
%prep
89ba97
%setup -q
89ba97
89ba97
%patch1 -p1 -b .man
89ba97
%patch2 -p1 -b .multilib
89ba97
%patch3 -p1 -b .s390
89ba97
89ba97
#sparc needs -fPIC
89ba97
%ifarch %{sparc}
89ba97
sed -i -e 's|-fpic|-fPIC|g' configure
89ba97
%endif
89ba97
89ba97
%build
89ba97
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
89ba97
%configure
89ba97
make %{?_smp_mflags}
89ba97
89ba97
%install
89ba97
make DESTDIR=$RPM_BUILD_ROOT install
89ba97
rm -f $RPM_BUILD_ROOT%{_libdir}/libpcap.a
89ba97
89ba97
%post -p /sbin/ldconfig
89ba97
89ba97
%postun -p /sbin/ldconfig
89ba97
89ba97
%files
89ba97
%defattr(-,root,root)
89ba97
%doc LICENSE README CHANGES CREDITS
89ba97
%{_libdir}/libpcap.so.*
89ba97
%{_mandir}/man7/pcap*.7*
89ba97
89ba97
%files devel
89ba97
%defattr(-,root,root)
89ba97
%{_bindir}/pcap-config
89ba97
%{_includedir}/pcap*.h
89ba97
%{_includedir}/pcap
89ba97
%{_libdir}/libpcap.so
89ba97
%{_mandir}/man1/pcap-config.1*
89ba97
%{_mandir}/man3/pcap*.3*
89ba97
%{_mandir}/man5/pcap*.5*
89ba97
89ba97
%changelog
89ba97
* Fri Nov 08 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.5.0-1.20131108git459712e
89ba97
- update to snapshot 20131108git459712e (#1026856)
89ba97
89ba97
* Thu Jun 06 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.4.0-1
89ba97
- update to 1.4.0
89ba97
89ba97
* Tue Mar 26 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.3.0-4
89ba97
- remove unused variable from pcap-config to prevent multilib conflicts
89ba97
- specfile cleanup
89ba97
89ba97
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.3.0-3
89ba97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
89ba97
89ba97
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.3.0-2
89ba97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89ba97
89ba97
* Wed Jun 13 2012 Michal Sekletar <msekleta@redhat.com> 14:1.3.0-1
89ba97
- Update to 1.3.0
89ba97
89ba97
* Thu Jan 05 2012 Jan Synáček <jsynacek@redhat.com> 14:1.2.1-2
89ba97
- Rebuilt for GCC 4.7
89ba97
89ba97
* Tue Jan 03 2012 Jan Synáček <jsynacek@redhat.com> 14:1.2.1-1
89ba97
- Update to 1.2.1
89ba97
- Drop unnecessary -fragment patch
89ba97
89ba97
* Fri Dec 02 2011 Michal Sekletar <msekleta@redhat.com> 14:1.2.0-1
89ba97
- update to 1.2.0
89ba97
89ba97
* Tue Sep 06 2011 Michal Sekletar <msekleta@redhat.com> 14:1.1.1-4
89ba97
- fix capture of fragmented ipv6 packets
89ba97
89ba97
* Fri Apr 22 2011 Miroslav Lichvar <mlichvar@redhat.com> 14:1.1.1-3
89ba97
- ignore /sys/net/dev files on ENODEV (#693943)
89ba97
- drop ppp patch
89ba97
- compile with -fno-strict-aliasing
89ba97
89ba97
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.1.1-2
89ba97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
89ba97
89ba97
* Tue Apr 06 2010 Miroslav Lichvar <mlichvar@redhat.com> 14:1.1.1-1
89ba97
- update to 1.1.1
89ba97
89ba97
* Wed Dec 16 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-5.20091201git117cb5
89ba97
- update to snapshot 20091201git117cb5
89ba97
89ba97
* Sat Oct 17 2009 Dennis Gilmore <dennis@ausil.us> 14:1.0.0-4.20090922gite154e2
89ba97
- use -fPIC on sparc arches
89ba97
89ba97
* Wed Sep 23 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-3.20090922gite154e2
89ba97
- update to snapshot 20090922gite154e2
89ba97
- drop old soname
89ba97
89ba97
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.0.0-2.20090716git6de2de
89ba97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89ba97
89ba97
* Wed Jul 22 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-1.20090716git6de2de
89ba97
- update to 1.0.0, git snapshot 20090716git6de2de
89ba97
89ba97
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:0.9.8-4
89ba97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89ba97
89ba97
* Fri Jun 27 2008 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.8-3
89ba97
- use CFLAGS when linking (#445682)
89ba97
89ba97
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 14:0.9.8-2
89ba97
- Autorebuild for GCC 4.3
89ba97
89ba97
* Wed Oct 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.8-1
89ba97
- update to 0.9.8
89ba97
89ba97
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.7-3
89ba97
- update license tag
89ba97
89ba97
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 14:0.9.7-2
89ba97
- Rebuild for RH #249435
89ba97
89ba97
* Tue Jul 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.7-1
89ba97
- update to 0.9.7
89ba97
89ba97
* Tue Jun 19 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.6-1
89ba97
- update to 0.9.6
89ba97
89ba97
* Tue Nov 28 2006 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.5-1
89ba97
- split from tcpdump package (#193657)
89ba97
- update to 0.9.5
89ba97
- don't package static library
89ba97
- maintain soname