Author: paszczus                     Date: Fri Jul 13 14:05:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-XML-Clean.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-XML-Clean.spec
diff -u /dev/null SPECS/perl-XML-Clean.spec:1.1
--- /dev/null   Fri Jul 13 16:05:53 2007
+++ SPECS/perl-XML-Clean.spec   Fri Jul 13 16:05:48 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    XML
+%define        pnam    Clean
+Summary:       XML::Clean - Ensure, that (HTML) text pass throught an XML 
parser.
+#Summary(pl.UTF-8):    
+Name:          perl-XML-Clean
+Version:       1.06
+Release:       1
+License:       same as perl
+Group:         Development/Languages/Perl
+Source0:       
http://search.cpan.org/CPAN/authors/id/P/PK/PKUBANEK/XML-Clean-1.06.tar.gz
+# Source0-md5: 1429eec26fdecc974086b3808a450501
+URL:           http://search.cpan.org/dist/XML-Clean/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The ultimate quest of this module is to produce from non-XML text
+text, that will will most probably pass throught any XML parser one
+could find. 
+
+Basic cleaning is just XML tag matching (for every opening tag there
+will be closing tag as well, and they will form a tree structure). 
+
+When you add some extra parameters, you will receive complete XML
+text, including XML head and root element (if none were defined in
+text, then some will be added).
+
+%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} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%{perl_vendorlib}/XML/*.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  2007/07/13 14:05:48  paszczus
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to