From ef51663373716fcfc9bc7986c3ddb95e635456d3 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 16 Oct 2011 19:18:22 +0200 Subject: [PATCH] perl-SGMLSpm: New package. This perl module is required by docbook-utils to convert docbook files to other formats. Reference #74 --- perl-SGMLSpm/perl-SGMLSpm.nm | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 perl-SGMLSpm/perl-SGMLSpm.nm diff --git a/perl-SGMLSpm/perl-SGMLSpm.nm b/perl-SGMLSpm/perl-SGMLSpm.nm new file mode 100644 index 000000000..4590ed9ba --- /dev/null +++ b/perl-SGMLSpm/perl-SGMLSpm.nm @@ -0,0 +1,44 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = perl-SGMLSpm +version = 1.03ii +release = 1 +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 = http://www.cpan.org/authors/id/D/DM/DMEGG/ + +thisapp = SGMLSpm-%{version} + +build + DIR_APP = %{DIR_SRC}/SGMLSpm + + build = # Nothing to do. + + install + # Create directory layout. + mkdir -pv %{BUILDROOT}/usr/bin + mkdir -pv %{BUILDROOT}/usr/share/perl5 + + # Install the module. + make install_system \ + BINDIR=%{BUILDROOT}/usr/bin/ \ + PERL5DIR=%{BUILDROOT}/usr/share/perl5/ + end +end + +packages + package %{name} +end