]> git.pld-linux.org Git - packages/perl-Devel-Autoflush.git/commitdiff
- initial auto/th/perl-Devel-Autoflush-0_05-1
authoramateja <amateja@pld-linux.org>
Fri, 20 Nov 2009 10:43:33 +0000 (10:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Devel-Autoflush.spec -> 1.1

perl-Devel-Autoflush.spec [new file with mode: 0644]

diff --git a/perl-Devel-Autoflush.spec b/perl-Devel-Autoflush.spec
new file mode 100644 (file)
index 0000000..a3e918c
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Devel
+%define        pnam    Autoflush
+Summary:       Devel::Autoflush - Set autoflush from the command line
+#Summary(pl.UTF-8):
+Name:          perl-Devel-Autoflush
+Version:       0.05
+Release:       1
+License:       apache
+Group:         Development/Languages/Perl
+Source0:       http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 071061e12ce7ca4f3d62a2e329db0503
+URL:           http://search.cpan.org/dist/Devel-Autoflush/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(IO::CaptureOutput) >= 1.08
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is a hack to set autoflush for STDOUT and STDERR from the
+command line or from PERL5OPT for code that needs it but doesn't have
+it.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes INSTALL README
+%{perl_vendorlib}/Devel/*.pm
+%{_mandir}/man3/*
This page took 0.074209 seconds and 4 git commands to generate.