SPECS: perl-WDDX.spec (NEW) - added to PLD CVS, description might ...
glen
glen at pld-linux.org
Mon Nov 28 19:22:25 CET 2005
Author: glen Date: Mon Nov 28 18:22:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added to PLD CVS, description might be outdated
---- Files affected:
SPECS:
perl-WDDX.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-WDDX.spec
diff -u /dev/null SPECS/perl-WDDX.spec:1.1
--- /dev/null Mon Nov 28 19:22:25 2005
+++ SPECS/perl-WDDX.spec Mon Nov 28 19:22:20 2005
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir WDDX
+Summary: WDDX.pm - Module for reading and writing WDDX packets
+Name: perl-WDDX
+Version: 1.02
+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}-%{version}.tar.gz
+# Source0-md5: e2d01a914affb9e562b2a12c7b765b29
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-XML-Parser >= 2
+BuildRequires: perl-Test-Pod
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a perl interface to WDDX. The latest version of
+this module as well as additional information can be found at
+<http://www.scripted.com/wddx/>. For more information about WDDX please
+visit <http://www.wddx.org/>.
+
+%prep
+%setup -q -n %{pdir}-%{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}/*.pm
+%{perl_vendorlib}/WDDX
+%{_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/11/28 18:22:20 glen
+- added to PLD CVS, description might be outdated
+
================================================================
More information about the pld-cvs-commit
mailing list