Author: glen Date: Tue Jan 17 10:35:05 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Text-DHCPparse.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Text-DHCPparse.spec diff -u /dev/null SPECS/perl-Text-DHCPparse.spec:1.1 --- /dev/null Tue Jan 17 11:35:05 2006 +++ SPECS/perl-Text-DHCPparse.spec Tue Jan 17 11:35:00 2006 @@ -0,0 +1,59 @@ +# $Revision$, $Date$ +%include /usr/lib/rpm/macros.perl +%define pdir Text +%define pnam DHCPparse +Summary: Text::DHCPparse - Perl extension for parsing dhcpd lease files +Name: perl-Text-DHCPparse +Version: 0.07 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 969f92b7c32d4be99f280b5fc3717aec +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The basic premise of the Text::DHCPparse module is to parse the lease +file from an ISC DHCPd server. This is useful for quick reporting on +active leases or for tracking purposes. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Text/DHCPparse/.packlist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README TODO +%{perl_vendorlib}/Text/DHCPparse.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/01/17 10:35:00 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
