Author: glen                         Date: Sun Oct 30 16:34:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Tk-Stderr.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Tk-Stderr.spec
diff -u /dev/null SPECS/perl-Tk-Stderr.spec:1.1
--- /dev/null   Sun Oct 30 17:34:55 2005
+++ SPECS/perl-Tk-Stderr.spec   Sun Oct 30 17:34:50 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    tests           # perform "make test". requires DISPLAY=:0 
being available
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Tk
+%define        pnam    Stderr
+Summary:       Tk::Stderr - capture standard error output, display in separate 
window
+Name:          perl-Tk-Stderr
+Version:       1.2
+Release:       0.1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 86f0f85d24d2c1e72e1e5a039b0f0d72
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-Tk
+%if %{with tests}
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module captures that standard error of a program and redirects it
+to a read only text widget, which doesn't appear until necessary. When
+it does appear, the user can close it; it'll appear again when there
+is more output.
+
+%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}/Tk/*.pm
+%{_mandir}/man3/*
+
+%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  2005/10/30 16:34:50  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to