source: projects/specs/trunk/p/perl-IPTables-ChainMgr/perl-IPTables-ChainMgr-vl.spec @ 9189

Revision 9189, 3.5 KB checked in by inagaki, 9 years ago (diff)

2014-12-24 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-IPTables-ChainMgr
2Version:        1.2
3Release:        1%{?_dist_release}
4Summary:        Perl extension for manipulating iptables policies
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://www.cipherdyne.org/modules/
8Source0:        http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2
9Source1:        http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2.asc
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(IPTables::Parse)
15BuildRequires:  perl(NetAddr::IP)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20Packager:       shaolin
21
22%description
23The IPTables::ChainMgr package provides an interface to manipulate iptables
24policies on Linux systems through the direct execution of iptables
25commands. Although making a perl extension of libiptc provided by the iptables
26project is possible, it is easy to just execute iptables commands directly in
27order to both parse and change the configuration of the policy. Further, this
28simplifies installation since the only external requirement is (in the spirit
29of scripting) to be able to point IPTables::ChainMgr at an installed iptables
30binary instead of having to compile against a library.
31
32%prep
33%setup -q -n IPTables-ChainMgr-%{version}
34
35%build
36%{__perl} Makefile.PL INSTALLDIRS=vendor
37make %{?_smp_mflags}
38
39%install
40rm -rf %{buildroot}
41make pure_install PERL_INSTALL_ROOT=%{buildroot}
42
43find %{buildroot} -type f -name .packlist -exec rm -f {} \;
44find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
45
46%{_fixperms} %{buildroot}/*
47
48%check
49make test
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-,root,root,-)
56%doc Changes README
57%{perl_vendorlib}/*
58%{_mandir}/man3/*
59
60%changelog
61* Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2-1
62- updated to 1.2
63- built with perl 5.16.3
64
65* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.9-1
66- initial build for Vine Linux
67
68* Mon Feb 27 2012 Miloslav Trmač <mitr@redhat.com> - 0.9.9-1
69- Update to IPTables-ChainMgr-0.9.9
70
71* Tue Jan 10 2012 Miloslav Trmač <mitr@redhat.com> - 0.9-9
72- Avoid deprecated use of qw()
73  Resolves: #771781
74
75* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9-8
76- Perl mass rebuild
77
78* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80
81* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.9-6
82- 661697 rebuild for fixing problems with vendorach/lib
83
84* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com>
85- Mass rebuild with perl-5.12.0
86
87- Drop no longer required references to BuildRoot
88
89* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
91
92* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
93- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
94
95* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
96- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
97
98* Fri Feb 13 2009 Miloslav Trmač <mitr@redhat.com> - 0.9-1
99- Update to IPTables-ChainMgr-0.9.
100
101* Tue Oct 21 2008 Miloslav Trmač <mitr@redhat.com> - 0.8-1
102- Update to IPTables-ChainMgr-0.8.
103
104* Wed Jul 30 2008 Miloslav Trmač <mitr@redhat.com> 0.7-1
105- Initial package.
Note: See TracBrowser for help on using the repository browser.