SPECS: perl-IO.spec (NEW) - new
ankry
ankry at pld-linux.org
Sat Oct 21 21:45:19 CEST 2006
Author: ankry Date: Sat Oct 21 19:45:19 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-IO.spec (1.8 -> 1.9) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-IO.spec
diff -u /dev/null SPECS/perl-IO.spec:1.9
--- /dev/null Sat Oct 21 21:45:19 2006
+++ SPECS/perl-IO.spec Sat Oct 21 21:45:14 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pnam IO
+%define pdir IO
+Summary: IO::MUX - an IO stream multiplexing module
+Summary(pl): IO::MUX - moduł multipleksera dla strumieni we/wy
+Name: perl-IO
+Version: 1.23_01
+%define ver %(echo %{version} | tr -d _)
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{ver}.tar.gz
+# Source0-md5: 4f209b75851b27f39a4d221d01a19b92
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Requires: perl-dirs >= 1.0-6
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl
+
+%prep
+%setup -q -n %{pnam}-%{ver}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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 ChangeLog README
+%{perl_vendorarch}/IO.pm
+%{perl_vendorarch}/IO/*
+%{perl_vendorarch}/auto/IO/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/IO/*.so
+%{_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.9 2006/10/21 19:45:14 ankry
+- new
================================================================
More information about the pld-cvs-commit
mailing list