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