]> git.pld-linux.org Git - packages/perl-XML-Mini.git/blame - perl-XML-Mini.spec
- updated to 1.38
[packages/perl-XML-Mini.git] / perl-XML-Mini.spec
CommitLineData
515c2457 1#
2# Conditional build:
3a700dd0 3%bcond_without tests # do not perform "make test"
515c2457 4#
5%include /usr/lib/rpm/macros.perl
75f53839 6%define pdir XML
7%define pnam Mini
c0c1d8c4 8Summary: XML::Mini - Perl implementation of the XML::Mini XML create/parse interface
8a98352c 9Summary(pl.UTF-8): XML::Mini - implementacja perlowa interfejsu tworzącego/analizującego XML
515c2457 10Name: perl-XML-Mini
a00f9964 11Version: 1.38
12Release: 1
515c2457 13License: GPL v2+
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a00f9964 16# Source0-md5: 0262295a6812f4ea1a4c13aefa9067c4
4806c230 17BuildRequires: perl-devel >= 1:5.8.0
515c2457 18BuildRequires: rpm-perlprov >= 4.1-13
515c2457 19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23XML::Mini is a set of Perl classes that allow you to access XML data
24and create valid XML output with a tree-based hierarchy of elements.
25The MiniXML API has both Perl and PHP implementations.
26
ab432e91
JR
27%description -l pl.UTF-8
28XML::Mini to zbiór klas Perla pozwalających na dostęp do danych XML
29oraz tworzenie poprawnego wyjścia w XML-u z drzewiastą hierarchią
30elementów. API MiniXML ma implementacje w Perlu i PHP.
515c2457 31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38%{__make}
39
3a700dd0 40%{?with_tests:%{__make} test}
515c2457 41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
94cb40ad 53%doc Changes
515c2457 54%{perl_vendorlib}/%{pdir}/*.pm
55%{perl_vendorlib}/%{pdir}/%{pnam}
56%{_mandir}/man3/*
This page took 0.114586 seconds and 4 git commands to generate.