perl-IPTables-Parse-vl.spec 3.3 KB

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