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