Blame SPECS/libdnet.spec

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