]> git.pld-linux.org Git - packages/perl-XML-Filter-XInclude.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Wed, 5 May 2004 20:25:37 +0000 (20:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-Filter-XInclude.spec -> 1.1

perl-XML-Filter-XInclude.spec [new file with mode: 0644]

diff --git a/perl-XML-Filter-XInclude.spec b/perl-XML-Filter-XInclude.spec
new file mode 100644 (file)
index 0000000..f6d200c
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    XML
+%define        pnam    Filter-XInclude
+Summary:       XML::Filter::XInclude - XInclude as a SAX Filter
+#Summary(pl):  
+Name:          perl-XML-Filter-XInclude
+Version:       1.0
+Release:       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
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-URI
+BuildRequires: perl-XML-SAX >= 0.05
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements a simple SAX filter that provides XInclude
+support. It does I<NOT> support XPointer.
+
+# %description -l pl
+# TODO
+
+%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)
+%{perl_vendorlib}/%{pdir}/*/*.pm
+%{_mandir}/man3/*
This page took 0.151104 seconds and 4 git commands to generate.