%define module Net-Kismet %define name perl-%{module} %define version 0.04 %define release 4mdk Summary: Net::Kismet perl module Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Requires: perl BuildRequires: perl-devel Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot URL: http://www.kismetwireless.net/ Source: %{module}-%{version}.tar.bz2 BuildArch: noarch %description A perl module to make writing Kismet clients in perl much simpler. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README MANIFEST Changes %{perl_vendorlib}/Net/* %_mandir/*/* %changelog * Thu Sep 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.04-4mdk - rebuild * Mon Aug 18 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.04-3mdk - rebuild for new perl - drop $RPM_OPT_FLAGS, noarch.. - don't use PREFIX - use %%makeinstall_std macro * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.04-2mdk - rebuild for new auto{prov,req} * Mon Mar 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.04-1mdk - new