#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
value=pkg:/library/libspectre@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="libspectre Postscript rendering library"
set name=pkg.description \
value="libspectre is a small library for rendering Postscript documents. It provides a convenient easy to use API for handling and rendering Postscript documents"
set name=com.oracle.info.description \
value="the libspectre Postscript rendering library"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value=org.opensolaris.category.2008:Applications/Office
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/051 value=PSARC/2016/025 \
value=PSARC/2016/321
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
dir path=usr/include/libspectre
file path=usr/include/libspectre/spectre-document.h
file path=usr/include/libspectre/spectre-exporter.h
file path=usr/include/libspectre/spectre-macros.h
file path=usr/include/libspectre/spectre-page.h
file path=usr/include/libspectre/spectre-render-context.h
file path=usr/include/libspectre/spectre-status.h
file path=usr/include/libspectre/spectre-version.h
file path=usr/include/libspectre/spectre.h
link path=usr/lib/$(MACH64)/libspectre.so target=libspectre.so.1.1.7
link path=usr/lib/$(MACH64)/libspectre.so.1 target=libspectre.so.1.1.7
file path=usr/lib/$(MACH64)/libspectre.so.1.1.7
file path=usr/lib/$(MACH64)/pkgconfig/libspectre.pc
link path=usr/lib/libspectre.so target=libspectre.so.1.1.7
link path=usr/lib/libspectre.so.1 target=libspectre.so.1.1.7
file path=usr/lib/libspectre.so.1.1.7
file path=usr/lib/pkgconfig/libspectre.pc
license libspectre.license license=GPLv2
# libspectre was previously in the 'desktop' consolidation as part of the
# evince package. In moving it to Userland, libspectre is now delivered in
# its own package. In order to install libspectre, if the evince package
# is already installed, it must be at build #92 (or later). In other words,
# the Userland version.
depend type=optional fmri=desktop/pdf-viewer/evince@2.10.11,5.12-5.12.0.0.0.92.0