%define name perl-Net-Snort-Parser %define version 1.21 %define release 1mdk Summary: A simple yet complicated rules maintance system for Snort Name: %{name} Version: %{version} Release: %{release} License: BSD Group: Development/Perl Source0: Net-Snort-Parser-%{version}.tar.bz2 URL: http://www.shmoo.com/~bmc/software/snortconfig/ BuildRequires: perl-devel BuildArch: noarch Provides: snortconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description snortconfig is a rules modification system for snort that is generated from a configuration file. This allows a user to keep their ruleset updated without too much of a headache. Configuration is done using a basic INI style configuration. snortconfig supports three methods of configuration of rules. The methods are specifing what rules to apply changes to. These methods are files, sids, and classifications. This allows make broad changes to snort rules very quickly. %prep %setup -q -n Net-Snort-Parser-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall_std %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %doc README examples %attr(0755,root,root) %{_bindir}/snortconfig %{perl_vendorlib}/Net/Snort/Parser/*.pm %{_mandir}/*/* %changelog * Mon Nov 01 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.21-1mdk - initial mandrake package