rpms/perl-XML-Writer/FC-6 Makefile, 1.2, 1.3 perl-XML-Writer.spec, 1.2, 1.3 sources, 1.3, 1.4

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Tue Mar 27 01:44:03 UTC 2007


Author: alexlan

Update of /cvs/extras/rpms/perl-XML-Writer/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22630/FC-6

Added Files:
	Makefile perl-XML-Writer.spec sources 
Log Message:
auto-import perl-XML-Writer-0.602-3 on branch FC-6 from perl-XML-Writer-0.602-3.src.rpm


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	27 Mar 2007 01:43:30 -0000	1.3
@@ -0,0 +1,21 @@
+# Makefile for source rpm: perl-XML-Writer
+# $Id$
+NAME := perl-XML-Writer
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


Index: perl-XML-Writer.spec
===================================================================
RCS file: perl-XML-Writer.spec
diff -N perl-XML-Writer.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ perl-XML-Writer.spec	27 Mar 2007 01:43:30 -0000	1.3
@@ -0,0 +1,73 @@
+Name:           perl-XML-Writer
+Version:        0.602
+Release:        3%{?dist}
+Summary:        A simple Perl module for writing XML documents
+
+Group:          Development/Libraries
+License:        GPL or Artistic
+URL:            http://search.cpan.org/dist/XML-Writer/
+Source0:        http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-0.602.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+XML::Writer is a simple Perl module for writing XML documents: it
+takes care of constructing markup and escaping data correctly, and by
+default, it also performs a significant amount of well-formedness
+checking on the output, to make certain (for example) that start and
+end tags match, that there is exactly one document element, and that
+there are not duplicate attribute names.
+
+
+%prep
+%setup -q -n XML-Writer-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags} 
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
+  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+
+
+%check
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Mon Mar 26 2007 Alex Lancaster <alexl at users.sourceforge.net> 0.602-3
+- Fixed %check
+
+* Wed Mar 23 2007 Alex Lancaster <alexl at users.sourceforge.net> 0.602-2
+- Update BR as per suggestions from review by Ralf Corsepius
+
+* Wed Mar 23 2007 Alex Lancaster <alexl at users.sourceforge.net> 0.602-1
+- Update to 0.602
+
+* Wed Apr 06 2005 Hunter Matthews <thm at duke.edu> 0.531-1
+- Review suggestions from José Pedro Oliveira
+
+* Tue Mar 22 2005 Hunter Matthews <thm at duke.edu> 0.531-1
+- Initial build.


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	27 Mar 2007 01:43:30 -0000	1.4
@@ -0,0 +1 @@
+c715d6fd90ac775316cc313815ba3b77  XML-Writer-0.602.tar.gz




More information about the fedora-extras-commits mailing list