]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-XML-SAX/perl-XML-SAX.nm
kernel: Update to 5.1
[ipfire-3.x.git] / perl-XML-SAX / perl-XML-SAX.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-XML-SAX
7 version = 0.99
8 release = 1
9 arch = noarch
10
11 thisapp = XML-SAX-%{version}
12
13 groups = Development/Libraries
14 url = http://search.cpan.org/dist/XML-SAX/
15 license = GPLv2+
16 summary = SAX parser access API for Perl.
17
18 description
19 Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
20 documents into new formats.
21 end
22
23 # Original source
24 # http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-%%{version}.tar.gz
25 #
26 # XML-SAX contains patented code that we cannot ship. Therefore we use
27 # a script to remove the patented code before shipping it.
28 #
29 # Download the upstream tarball and run the following script in the
30 # tarball's directory like this:
31 # ./generate-tarball.sh %%{version}
32 #
33 # Finally we have to store the new tarball on one of our source server.
34
35 sources = %{thisapp}-nopatents.tar.gz
36
37 build
38 requires
39 perl(base)
40 perl(Carp)
41 perl(constant)
42 perl(Encode)
43 perl(Exporter)
44 perl(ExtUtils::MakeMaker)
45 perl(Fatal)
46 perl(File::Path)
47 perl(File::Spec)
48 perl(File::Temp)
49 perl(IO::File)
50 perl(Test)
51 perl(XML::NamespaceSupport)
52 perl(XML::SAX::Base)
53 end
54
55 build
56 perl Makefile.PL INSTALLDIRS=vendor
57 make %{PARALLELISMFLAGS}
58 end
59
60 test
61 make test
62 end
63
64 install
65 make pure_install DESTDIR=%{BUILDROOT}
66
67 touch %{BUILDROOT}%{perl_vendorlib}/XML/SAX/ParserDetails.ini
68 end
69 end
70
71 packages
72 package %{name}
73 configfiles
74 %{perl_vendorlib}/XML/SAX/ParserDetails.ini
75 end
76
77 #Filter string for very weird dependencies.
78 filter_requires
79 XML::SAX::PurePerl
80 end
81 end
82 end