]> git.pld-linux.org Git - packages/perl-XML-Handler-PrintEvents.git/commitdiff
- new, unfinished
authorankry <ankry@pld-linux.org>
Wed, 5 May 2004 00:00:04 +0000 (00:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-Handler-PrintEvents.spec -> 1.1

perl-XML-Handler-PrintEvents.spec [new file with mode: 0644]

diff --git a/perl-XML-Handler-PrintEvents.spec b/perl-XML-Handler-PrintEvents.spec
new file mode 100644 (file)
index 0000000..9f5596d
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    XML
+%define        pnam    Handler-PrintEvents
+Summary:       XML::Handler-PrintEvents - 
+Summary(pl):   XML::Handler-PrintEvents - 
+Name:          perl-XML-Handler-PrintEvents
+Version:       0.01
+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
+# Source0-md5: bd3b3d840d98bca3e11f9dad34364da4
+BuildRequires: perl-devel >= 5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-XML-Filter-SAXT
+%endif
+Obsoletes:     perl-libxml-enno
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl
+
+%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 Changes README
+%dir %{perl_vendorlib}/XML/Handler/PrintEvents
+%{perl_vendorlib}/XML/Handler/PrintEvents.pm
+%{perl_vendorlib}/XML/Handler/PrintEvents/*.pm
+%{perl_vendorlib}/XML/Handler/*
+%{_mandir}/man3/*
This page took 0.059752 seconds and 4 git commands to generate.