1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 thisapp = XML-SAX-%{version}
12 groups = Development/Libraries
13 url = http://search.cpan.org/dist/XML-SAX/
15 summary = SAX parser access API for Perl.
18 Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
19 documents into new formats.
23 # http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-%%{version}.tar.gz
25 # XML-SAX contains patented code that we cannot ship. Therefore we use
26 # a script to remove the patented code before shipping it.
28 # Download the upstream tarball and run the following script in the
29 # tarball's directory like this:
30 # ./generate-tarball.sh %%{version}
32 # Finally we have to store the new tarball on one of our source server.
34 sources = %{thisapp}-nopatents.tar.gz
45 perl(ExtUtils::MakeMaker)
52 perl(XML::NamespaceSupport)
57 perl Makefile.PL INSTALLDIRS=vendor
58 make %{PARALLELISMFLAGS}
66 make pure_install DESTDIR=%{BUILDROOT}
68 touch %{BUILDROOT}%{perl_vendorlib}/XML/SAX/ParserDetails.ini
75 %{perl_vendorlib}/XML/SAX/ParserDetails.ini
78 #Filter string for very weird dependencies.