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