Author: agaran Date: Tue Jan 8 23:35:05 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, builds here, rel 1
---- Files affected: SPECS: perl-POE-Component-Client-FTP.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-POE-Component-Client-FTP.spec diff -u /dev/null SPECS/perl-POE-Component-Client-FTP.spec:1.1 --- /dev/null Wed Jan 9 00:35:05 2008 +++ SPECS/perl-POE-Component-Client-FTP.spec Wed Jan 9 00:34:59 2008 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir POE +%define pnam Component-Client-FTP +Summary: POE::Component::Client::FTP - Implements an FTP client POE Component +#Summary(pl): +Name: perl-POE-Component-Client-FTP +Version: 0.14 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/B/BI/BINGOS/POE-Component-Client-FTP-0.14.tar.gz +# Source0-md5: a2aa847b699808baa308f31a77bf1e6a +Patch0: %{name}-nointeractivebuild.patch +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl(POE) >= 0.38 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +POE Client module for FTP + +# %description -l pl +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} +%patch0 -p1 + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a examples/* $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/Client/*.pm +%{_mandir}/man3/* +%{_examplesdir}/%{name}-%{version} + +%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 2008-01-08 23:34:59 agaran +- initial, builds here, rel 1 + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
