SPECS: perl-POE-Component-TSTP.spec (NEW) - initial, works for me

agaran agaran at pld-linux.org
Wed Aug 24 13:00:53 CEST 2005


Author: agaran                       Date: Wed Aug 24 11:00:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, works for me 

---- Files affected:
SPECS:
   perl-POE-Component-TSTP.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Component-TSTP.spec
diff -u /dev/null SPECS/perl-POE-Component-TSTP.spec:1.1
--- /dev/null	Wed Aug 24 13:00:53 2005
+++ SPECS/perl-POE-Component-TSTP.spec	Wed Aug 24 13:00:47 2005
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	POE
+%define		pnam	Component-TSTP
+Summary:	POE::Component::TSTP - perl module
+Name:		perl-POE-Component-TSTP
+Version:	0.02
+Release:	0.1
+License:	same as perl
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+URL:		poe.perl.org
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	perl-POE
+%if %{with tests}
+BuildRequires:	perl-POE
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+POE component handling SIGTSTP, ctrl-z usually.
+
+%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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/POE/Component/TSTP.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  2005/08/24 11:00:47  agaran
+- initial, works for me
+
================================================================



More information about the pld-cvs-commit mailing list