SPECS: perl-POE-Component-Pcap.spec (NEW) - initial, version 0.04, ...
agaran
agaran at pld-linux.org
Mon Aug 7 00:00:27 CEST 2006
Author: agaran Date: Sun Aug 6 22:00:27 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, version 0.04, rel 0.1, builds here, tests are broken (require uid0)
---- Files affected:
SPECS:
perl-POE-Component-Pcap.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-POE-Component-Pcap.spec
diff -u /dev/null SPECS/perl-POE-Component-Pcap.spec:1.1
--- /dev/null Mon Aug 7 00:00:27 2006
+++ SPECS/perl-POE-Component-Pcap.spec Mon Aug 7 00:00:22 2006
@@ -0,0 +1,79 @@
+# $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 POE
+%define pnam Component-Pcap
+Summary: perl(POE::Component::Pcap)
+Name: perl-POE-Component-Pcap
+Version: 0.04
+Release: 0.1
+# note if it is "same as perl"
+License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 11c6e6babcb8ee0b6a3c247c04059dc1
+#Patch0: %{name}
+# most of CPAN modules have generic URL (substitute pdir and pnam here)
+#URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+#BuildRequires: -
+%if %{with autodeps} || %{with tests}
+BuildRequires: perl-NetPacket > 0.01
+#BuildRequires: perl-
+%endif
+#Requires: -
+#Provides: -
+#Obsoletes: -
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _noautoreq 'perl(anything_fake_or_conditional)'
+
+%description
+#
+
+%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
+
+%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__install} eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%{perl_vendorlib}/POE/Component/Pcap.pm
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/*
+%{_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 2006/08/06 22:00:22 agaran
+- initial, version 0.04, rel 0.1, builds here, tests are broken (require uid0)
+
================================================================
More information about the pld-cvs-commit
mailing list