############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = perl-SGMLSpm version = 1.1 release = 2 thisapp = SGMLSpm-%{version} arch = noarch groups = Development/Libraries url = http://search.cpan.org/dist/SGMLSpm/ license = GPLv2+ summary = Perl library for parsing the output of nsgmls. description Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML documents into new formats. end source_dl = https://cpan.metacpan.org/authors/id/R/RA/RAAB/ build requires perl(ExtUtils::MakeMaker) perl(Test::More) end build perl Makefile.PL INSTALLDIRS=vendor make %{PARALLELISMFLAGS} end test make test end install_cmds # Drop unwanted script rm -rvf %{BUILDROOT}%{bindir}/sgmlspl.pl end end packages package %{name} end