]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/commitdiff
- first release
authorgrabba <grabba@pld-linux.org>
Sun, 14 Apr 2002 14:23:50 +0000 (14:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-LibXSLT.spec -> 1.1

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

diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec
new file mode 100644 (file)
index 0000000..ccc8903
--- /dev/null
@@ -0,0 +1,55 @@
+%include       /usr/lib/rpm/macros.perl
+
+%define        pdir    XML
+%define        pnam    LibXSLT
+
+Summary:       XML-LibXSLT perl module
+Summary(pl):   Modu³ perla XML-LibXSLT
+Name:          perl-%{pdir}-%{pnam}
+Version:       1.31
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 4.0.2-56
+BuildRequires: perl-devel >= 5.6.1
+BuildRequires: perl-XML-LibXML >= 1.30
+BuildRequires: libxslt-devel >= 1.0.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires:      libxslt >= 1.0.6
+
+%description
+This module is an interface to the gnome project's
+libxslt. This is an extremely good XSLT engine, highly
+compliant and also very fast. I have tests showing this to
+be more than twice as fast as Sablotron.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make} OPTIMIZE="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+gzip -9nf Changes README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{perl_sitearch}/XML/LibXSLT.pm
+%dir %{perl_sitearch}/auto/XML/LibXSLT
+%{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.bs
+%attr(755,root,root) %{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.so
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
This page took 0.154165 seconds and 4 git commands to generate.