]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
perl-SGMLSpm: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 16 Oct 2011 17:18:22 +0000 (19:18 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 16 Oct 2011 17:18:22 +0000 (19:18 +0200)
This perl module is required by docbook-utils to convert docbook files to other formats.

Reference #74

perl-SGMLSpm/perl-SGMLSpm.nm [new file with mode: 0644]

diff --git a/perl-SGMLSpm/perl-SGMLSpm.nm b/perl-SGMLSpm/perl-SGMLSpm.nm
new file mode 100644 (file)
index 0000000..4590ed9
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+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