packages: perl-IO-Tail/perl-IO-Tail.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Wed Jan 6 16:54:04 CET 2010


Author: baggins                      Date: Wed Jan  6 15:54:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/perl-IO-Tail:
   perl-IO-Tail.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-IO-Tail/perl-IO-Tail.spec
diff -u /dev/null packages/perl-IO-Tail/perl-IO-Tail.spec:1.1
--- /dev/null	Wed Jan  6 16:54:04 2010
+++ packages/perl-IO-Tail/perl-IO-Tail.spec	Wed Jan  6 16:53:59 2010
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	IO
+%define		pnam	Tail
+Summary:	IO::Tail - follow the tail of files/stream
+Name:		perl-IO-Tail
+Version:	0.01
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	7b69baad37f6330c8db18772a6a9943c
+URL:		http://search.cpan.org/dist/IO-Tail/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%{?with_tests:BuildRequires:	perl-Time-HiRes}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IO::Tail - follow the tail of files/stream.
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/IO/Tail.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  2010/01/06 15:53:59  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list