perl-IPTables-Parse-vl.spec 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: perl-IPTables-Parse
  2. Version: 0.9
  3. Release: 1%{?_dist_release}
  4. Summary: Perl extension for parsing iptables firewall rulesets
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://www.cipherdyne.org/modules/
  8. Source0: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2
  9. Source1: http://www.cipherdyne.org/modules/IPTables-Parse-%{version}.tar.bz2.asc
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: shaolin
  16. %description
  17. The IPTables::Parse package provides an interface to parse iptables rules
  18. on Linux systems through the direct execution of iptables commands, or from
  19. parsing a file that contains an iptables policy listing. You can get the
  20. current policy applied to a table/chain, look for a specific user-defined
  21. chain, check for a default DROP policy, or determing whether or not logging
  22. rules exist.
  23. %prep
  24. %setup -q -n IPTables-Parse-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf %{buildroot}
  30. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  31. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  32. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} %{buildroot}/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes README
  41. %{perl_vendorlib}/*
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9-1
  45. - initial build for Vine Linux
  46. * Mon Feb 27 2012 Miloslav Trmač <mitr@redhat.com> - 0.9-1
  47. - Update to IPTables-Parse-0.9
  48. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-10
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  50. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.7-9
  51. - Perl mass rebuild
  52. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-8
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  54. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7-7
  55. - 661697 rebuild for fixing problems with vendorach/lib
  56. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com>
  57. - Mass rebuild with perl-5.12.0
  58. - Drop no longer required references to BuildRoot
  59. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.7-5
  60. - rebuild against perl 5.10.1
  61. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Tue Oct 21 2008 Miloslav Trmač <mitr@redhat.com> - 0.7-1
  68. - Update to IPTables-Parse-0.7
  69. * Wed Jul 30 2008 Miloslav Trmač <mitr@redhat.com> 0.6-1
  70. - Initial package.