]> git.pld-linux.org Git - packages/perl-XML-Mini.git/blame - perl-XML-Mini.spec
use generic url
[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"
fc2fa4e6 4
75f53839 5%define pdir XML
6%define pnam Mini
fc2fa4e6 7%include /usr/lib/rpm/macros.perl
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
fc2fa4e6 17URL: http://search.cpan.org/dist/XML-Mini/
4806c230 18BuildRequires: perl-devel >= 1:5.8.0
515c2457 19BuildRequires: rpm-perlprov >= 4.1-13
515c2457 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24XML::Mini is a set of Perl classes that allow you to access XML data
25and create valid XML output with a tree-based hierarchy of elements.
26The MiniXML API has both Perl and PHP implementations.
27
ab432e91
JR
28%description -l pl.UTF-8
29XML::Mini to zbiór klas Perla pozwalających na dostęp do danych XML
30oraz tworzenie poprawnego wyjścia w XML-u z drzewiastą hierarchią
31elementów. API MiniXML ma implementacje w Perlu i PHP.
515c2457 32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39%{__make}
40
3a700dd0 41%{?with_tests:%{__make} test}
515c2457 42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
94cb40ad 54%doc Changes
515c2457 55%{perl_vendorlib}/%{pdir}/*.pm
56%{perl_vendorlib}/%{pdir}/%{pnam}
57%{_mandir}/man3/*
This page took 0.069526 seconds and 4 git commands to generate.