Blame SPECS/libdnet.spec

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