Blame SPECS/libdnet.spec

f33103
Summary:	Simple portable interface to lowlevel networking routines
f33103
Name:		libdnet
f33103
f33103
Version:	1.12
f33103
Release:	13.1%{?dist}
f33103
f33103
License:	BSD
f33103
URL:		http://code.google.com/p/%{name}/
f33103
f33103
Source:		http://%{name}.googlecode.com/files/%{name}-%{version}.tgz
f33103
Patch0:		%{name}-shrext.patch
f33103
Patch1:         dnet-config-multilib.patch
f33103
f33103
%description
f33103
libdnet provides a simplified, portable interface to several
f33103
low-level networking routines, including network address
f33103
manipulation, kernel arp(4) cache and route(4) table lookup and
f33103
manipulation, network firewalling (IP filter, ipfw, ipchains,
f33103
pf, ...), network interface lookup and manipulation, raw IP
f33103
packet and Ethernet frame, and data transmission.
f33103
f33103
%package devel
f33103
Summary:	Header files for libdnet library
f33103
Requires:	%{name} = %{version}-%{release}
f33103
f33103
%description devel
f33103
%{summary}.
f33103
f33103
%package progs
f33103
Summary:	Sample applications to use with libdnet
f33103
Requires:	%{name} = %{version}-%{release}
f33103
f33103
%description progs
f33103
%{summary}.
f33103
f33103
%package python
f33103
Summary:	Python bindings for libdnet
f33103
Requires:	%{name} = %{version}-%{release}
f33103
BuildRequires:	python-devel
f33103
f33103
%description python
f33103
%{summary}.
f33103
f33103
%prep
f33103
%setup -q
f33103
%patch0 -p1
f33103
%patch1 -p0
f33103
f33103
%build
f33103
%configure --disable-static
f33103
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
f33103
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
f33103
%{__make} %{?_smp_mflags}
f33103
f33103
pushd python
f33103
%{__python} setup.py build
f33103
popd
f33103
f33103
%install
f33103
%{__make} install DESTDIR=%{buildroot}
f33103
f33103
pushd python
f33103
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
f33103
popd
f33103
f33103
%post -p /sbin/ldconfig
f33103
f33103
%postun -p /sbin/ldconfig
f33103
f33103
%files
f33103
%doc LICENSE README THANKS TODO
f33103
%{_libdir}/*.so.*
f33103
f33103
%files devel
f33103
%{_bindir}/*
f33103
%{_libdir}/*.so
f33103
%exclude %{_libdir}/*.la
f33103
%{_includedir}/*
f33103
%{_mandir}/man3/*.3*
f33103
f33103
%files progs
f33103
%{_sbindir}/*
f33103
%{_mandir}/man8/*.8*
f33103
f33103
%files python
f33103
%{python_sitearch}/*
f33103
f33103
%changelog
f33103
* Fri Mar 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.12-13.1.el7
f33103
- Add patch to fix multilib conflicts in dnet-config
f33103
  resolves: rhbz#1059593
f33103
- Remove RPM cruft from the spec file.
f33103
f33103
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.12-13
f33103
- Mass rebuild 2014-01-24
f33103
f33103
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.12-12
f33103
- Mass rebuild 2013-12-27
f33103
f33103
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-11
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f33103
f33103
* Sun Dec 30 2012 Oliver Falk <oliver@linux-kernel.at> - 1.12-10
f33103
- Add python bindings in -python subpackage (BZ#815524)
f33103
f33103
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-9
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f33103
f33103
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-8
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f33103
f33103
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f33103
f33103
* Fri Feb 12 2010 Oliver Falk <oliver@linux-kernel.at> - 1.12-6
f33103
- Disable build of static libs
f33103
f33103
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f33103
f33103
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
f33103
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f33103
f33103
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-3
f33103
- Bump-n-build for GCC 4.3
f33103
f33103
* Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-2
f33103
- Rebuild for BuildID
f33103
- Changed license tag to be more conformant
f33103
f33103
* Thu Feb 15 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-1
f33103
- New upstream version
f33103
- New upstream web site (thanks JPO!)
f33103
- Patch for inconsistent shrext variable
f33103
- Minor edits for consistency
f33103
f33103
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-5
f33103
- Converted spec to UTF-8 to fix BZ#222794
f33103
f33103
* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-4
f33103
- Bump-n-build
f33103
- Reverted to 1.10; 1.11 has some serious issues
f33103
f33103
* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org>	- 1.10-3
f33103
- Bump for FC6 rebuild
f33103
f33103
* Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at>		- 1.10-2
f33103
- Integrate Josщ's patch after reviewing the pkg.
f33103
f33103
* Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at>		- 1.10-1
f33103
- Build for FE