SPECS: perl-Text-DHCPLeases.spec (NEW) - initial, builds here

agaran agaran at pld-linux.org
Mon Feb 2 21:04:26 CET 2009


Author: agaran                       Date: Mon Feb  2 20:04:26 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, builds here

---- Files affected:
SPECS:
   perl-Text-DHCPLeases.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Text-DHCPLeases.spec
diff -u /dev/null SPECS/perl-Text-DHCPLeases.spec:1.1
--- /dev/null	Mon Feb  2 21:04:26 2009
+++ SPECS/perl-Text-DHCPLeases.spec	Mon Feb  2 21:04:21 2009
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Text
+%define		pnam	DHCPLeases
+Summary:	-
+Summary(pl.UTF-8):	-
+Name:		perl-Text-DHCPLeases
+Version:	0.8
+Release:	0.1
+# note if it is "same as perl"
+#License:	GPL v1+ or Artistic
+License:	(enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5:	
+#Patch0:		%{name}-foo.patch
+# most of CPAN modules have generic URL (substitute pdir and pnam here)
+URL:		http://search.cpan.org/dist/Text-DHCPLeases/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+#BuildRequires:	-
+%if %{with autodeps} || %{with tests}
+#BuildRequires:	perl-
+#BuildRequires:	perl-
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+This module provides an object-oriented interface to ISC DHCPD leases files.
+The goal is to objectify all declarations, as defined by the ISC dhcpd package
+man pages.
+
+This interface is useful for analyzing, reporting, converting lease files, or
+as a tool for other applications that need to import dhcpd lease data
+structures.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-v%{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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Text/DHCPLeases.pm
+%dir %{perl_vendorlib}/Text/DHCPLeases
+%{perl_vendorlib}/Text/DHCPLeases/*.pm
+%dir %{perl_vendorlib}/Text/DHCPLeases/Object
+%{perl_vendorlib}/Text/DHCPLeases/Object/*.pm
+%{_mandir}/man3/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/02 20:04:21  agaran
+- initial, builds here
+
================================================================


More information about the pld-cvs-commit mailing list