libdnet-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: Simple portable interface to lowlevel networking routines
  2. Name: libdnet
  3. Version: 1.12
  4. Release: 9%{?_dist_release}
  5. License: BSD
  6. Group: System Environment/Libraries
  7. URL: http://code.google.com/p/%{name}/
  8. Source: http://%{name}.googlecode.com/files/%{name}-%{version}.tgz
  9. Patch0: %{name}-shrext.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. %description
  12. libdnet provides a simplified, portable interface to several
  13. low-level networking routines, including network address
  14. manipulation, kernel arp(4) cache and route(4) table lookup and
  15. manipulation, network firewalling (IP filter, ipfw, ipchains,
  16. pf, ...), network interface lookup and manipulation, raw IP
  17. packet and Ethernet frame, and data transmission.
  18. %package devel
  19. Summary: Header files for libdnet library
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. %{summary}.
  24. %package progs
  25. Summary: Sample applications to use with libdnet
  26. Group: Applications/Internet
  27. Requires: %{name} = %{version}-%{release}
  28. %description progs
  29. %{summary}.
  30. %prep
  31. %setup -q
  32. %patch0 -p1
  33. %build
  34. %configure --disable-static
  35. %{__make} %{?_smp_mflags}
  36. %install
  37. %{__rm} -rf %{buildroot}
  38. %{__make} install DESTDIR=%{buildroot}
  39. %clean
  40. %{__rm} -rf %{buildroot}
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc LICENSE README THANKS TODO
  46. %{_libdir}/*.so.*
  47. %files devel
  48. %defattr(-,root,root,-)
  49. %{_bindir}/*
  50. %{_libdir}/*.so
  51. %exclude %{_libdir}/*.la
  52. %{_includedir}/*
  53. %{_mandir}/man3/*.3*
  54. %files progs
  55. %defattr(-,root,root,-)
  56. %{_sbindir}/*
  57. %{_mandir}/man8/*.8*
  58. %changelog
  59. * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-9
  60. - initial build for Vine Linux
  61. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-8
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  63. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Fri Feb 12 2010 Oliver Falk <oliver@linux-kernel.at> - 1.12-6
  66. - Disable build of static libs
  67. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-3
  72. - Bump-n-build for GCC 4.3
  73. * Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-2
  74. - Rebuild for BuildID
  75. - Changed license tag to be more conformant
  76. * Thu Feb 15 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-1
  77. - New upstream version
  78. - New upstream web site (thanks JPO!)
  79. - Patch for inconsistent shrext variable
  80. - Minor edits for consistency
  81. * Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-5
  82. - Converted spec to UTF-8 to fix BZ#222794
  83. * Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-4
  84. - Bump-n-build
  85. - Reverted to 1.10; 1.11 has some serious issues
  86. * Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> - 1.10-3
  87. - Bump for FC6 rebuild
  88. * Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-2
  89. - Integrate Josщ's patch after reviewing the pkg.
  90. * Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at> - 1.10-1
  91. - Build for FE