SPECS: perl-XML-Tape.spec (NEW) - initial 0.22, rel 0.1, builds here

agaran agaran at pld-linux.org
Sun Jul 30 21:41:56 CEST 2006


Author: agaran                       Date: Sun Jul 30 19:41:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial 0.22, rel 0.1, builds here

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

---- Diffs:

================================================================
Index: SPECS/perl-XML-Tape.spec
diff -u /dev/null SPECS/perl-XML-Tape.spec:1.1
--- /dev/null	Sun Jul 30 21:41:56 2006
+++ SPECS/perl-XML-Tape.spec	Sun Jul 30 21:41:51 2006
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	XML
+%define		pnam	Tape
+Summary:	perl(XML::Tape) - module for the manipulation of XMLtape archives
+Name:		perl-XML-Tape
+Version:	0.22
+Release:	0.1
+# note if it is "same as perl"
+License:	(enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	50be9e231bd225b850fe6ca7f0c55210
+URL:		http://search.cpan.org/dist/XML-Tape
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+#BuildRequires:	perl-
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+The XMLtape provides a write#once/read#many XML wrapper for a collection of XML
+documents. The wrapper provides an easy storage format for big collections of
+XML files which can be processed with off the shelf tools and validated against
+a schema. The XMLtape is typically used in digital preservation projects.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+# if module isn't noarch, use:
+# %{__make} \
+#	OPTIMIZE="%{rpmcflags}"
+
+%{?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
+%{_bindir}/xmltape
+%{_bindir}/xmlindex
+%{perl_vendorlib}/XML/Tape.pm
+%dir %{perl_vendorlib}/XML/Tape
+%{perl_vendorlib}/XML/Tape/Index.pm
+%{_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  2006/07/30 19:41:51  agaran
+- initial 0.22, rel 0.1, builds here
+
================================================================


More information about the pld-cvs-commit mailing list