summaryrefslogtreecommitdiff
path: root/packaging/perl-XML-Simple.spec
blob: 64d2a7b4d7fff4d90e33c9b00afed5b1347ca83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name:           perl-XML-Simple
Version:        2.25
Release:        0
License:        GPL-1.0 or Artistic-1.0
Summary:        Easy API to read/write XML (Perl module)
Group:          Development/Libraries/Perl
Url:            http://cpan.org/modules/by-module/XML/
Source:         XML-Simple-%{version}.tar.gz
Source1001: 	perl-XML-Simple.manifest

BuildRequires:  perl-XML-Parser
BuildRequires:  perl-macros

Requires:       perl-XML-Parser

%description
XML::Simple - Easy API to read/write XML (esp config files)

%prep
%setup -q -n XML-Simple-%{version}
cp %{SOURCE1001} .

%build
perl Makefile.PL
%{__make}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%remove_docs
%perl_gen_filelist

%files -f %{name}.files
%manifest %{name}.manifest
%license LICENSE