]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blobdiff - perl-XML-LibXSLT.spec
- release 4 (by relup.sh)
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
index 104344164db3f29a7231e0dfc726900aa69a88b5..1ab2b2b21a8c297c2c5f99146ee76567bb07e0ed 100644 (file)
@@ -1,36 +1,44 @@
 #
 # Conditional build:
-%bcond_with    tests   # perform "make test" (fails in 1.53)
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    XML
-%define        pnam    LibXSLT
-Summary:       XML::LibXSLT - Interface to the GNOME libxslt library
-Summary(pl):   XML::LibXSLT - Interfejs do biblioteki libxslt z GNOME
-Name:          perl-%{pdir}-%{pnam}
-Version:       1.57
-Release:       1
-License:       GPL/Artistic
+%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
+Name:          perl-XML-LibXSLT
+Version:       1.80
+Release:       4
+# 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: 9b831bc5a97444103f345105f0f6fced
-BuildRequires: libxslt-devel >= 1.0.6
-BuildRequires: perl-XML-LibXML >= 1.57
-BuildRequires: perl-devel >= 1:5.8.0
+Source0:       http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: bd8d0eaeee311a6dc148963a3f7753c6
+URL:           http://search.cpan.org/dist/XML-LibXSLT/
+BuildRequires: libxslt-devel >= 1.1.28
+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.28
+Requires:      perl-XML-LibXML >= 1.70
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This module is an interface to the gnome project's libxslt. This is an
+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.
 
-%description -l pl
-Ten modu³ jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
-dobry silnik XSLT, o du¿ej zgodno¶ci ze standardem, a tak¿e bardzo
-szybki. Wed³ug testów jest ponad dwa razy szybszy od Sablotrona.
+%description -l pl.UTF-8
+Ten moduł jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
+dobry silnik XSLT, o dużej zgodności ze standardem, a także bardzo
+szybki. Według testów jest ponad dwa razy szybszy od Sablotrona.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -39,6 +47,7 @@ szybki. Wed
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -59,9 +68,7 @@ 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
 %{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
This page took 0.060342 seconds and 4 git commands to generate.