ipfire-3.x/opensp/opensp.nm

72 lines
1.6 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = opensp
version = 1.5.2
release = 4
thisapp = OpenSP-%{version}
groups = Application/Text
url = https://openjade.sourceforge.net/
license = MIT
summary = SGML and XML parser
description
OpenSP is an implementation of the ISO/IEC 8879:1986 standard SGML
(Standard Generalized Markup Language).
end
source_dl = https://prdownloads.sourceforge.net/openjade/
build
requires
gcc-c++
docbook-dtds
docbook-xsl
libtool
libxml2
libxslt
perl
xmlto
end
configure_options += \
--disable-dependency-tracking \
--disable-static \
--disable-rpath \
--enable-http \
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml:/usr/share/xml
prepare_cmds
%{MACRO_FIX_AUTOTOOLS}
end
install_cmds
# Create symlinks and manpages for binaries wtitout "o".
for file in nsgmls sgmlnorm spam spent sx ; do
ln -s o${file} %{BUILDROOT}/usr/bin/${file}
echo ".so man1/o${file}.1" > %{BUILDROOT}/usr/share/man/man1/${file}.1
done
# Rename sx to sgml2xml.
mv %{BUILDROOT}/usr/bin/sx %{BUILDROOT}/usr/bin/sgml2xml
mv %{BUILDROOT}/usr/share/man//man1/{sx,sgml2xml}.1
end
end
packages
package %{name}
package %{name}-devel
template DEVEL
end
package %{name}-debuginfo
template DEBUGINFO
end
end