]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blobdiff - perl-XML-LibXSLT.spec
- updated to 1.78
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
index 9d94e1769df768c0108640b956bb5aa1dd18d34b..278644ba17c5dd7d1feda0e70db53fa3dd6af84b 100644 (file)
@@ -6,22 +6,28 @@
 %define                pdir    XML
 %define                pnam    LibXSLT
 Summary:       XML::LibXSLT - interface to the GNOME libxslt library
-Summary(pl.UTF-8):   XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
+Summary(pl.UTF-8):     XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
 Name:          perl-XML-LibXSLT
-Version:       1.61
+Version:       1.78
 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: 830ec12454ae14ee9145fee9b3b7c6aa
-Patch0:                %{name}-error.patch
-BuildRequires: libxslt-devel >= 1.0.6
-BuildRequires: perl-XML-LibXML >= 1.60
-BuildRequires: perl-devel >= 1:5.8.0
+Source0:       http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ec64aa8025e72171fd15e6e41c454354
+URL:           http://search.cpan.org/dist/XML-LibXSLT/
+BuildRequires: libxslt-devel >= 1.1.26
+BuildRequires: perl-XML-LibXML >= 1.75
+BuildRequires: perl-devel >= 1:5.8.1
+BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov >= 4.1-13
-Requires:      libxslt >= 1.0.6
-Requires:      perl-XML-LibXML >= 1.57
+%if %{with tests}
+%if "%(perl -MXML::LibXML -e 'print XML::LibXML::LIBXML_VERSION == XML::LibXML::LIBXML_RUNTIME_VERSION || 0' 2>/dev/null)" == "0"
+BuildRequires: REBUILD-perl-XML-LibXML
+%endif
+%endif
+Requires:      libxslt >= 1.1.26
+Requires:      perl-XML-LibXML >= 1.70
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,12 +42,12 @@ szybki. Według testów jest ponad dwa razy szybszy od Sablotrona.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -62,7 +68,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorarch}/XML/LibXSLT.pm
-%{perl_vendorarch}/XML/benchmark.pl
 %dir %{perl_vendorarch}/auto/XML/LibXSLT
 %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.so
This page took 0.06246 seconds and 4 git commands to generate.