components/gocr/gocr.p5m
author Rich Burridge <rich.burridge@oracle.com>
Mon, 01 Jul 2013 16:32:16 -0700
changeset 1378 6c901b6d9116
parent 1251 f1fb66b52f41
child 1948 2d1537e7942d
permissions -rw-r--r--
17036827 gocr needs TPNO and license adjustments
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
295
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     1
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     3
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     7
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    12
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    18
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    20
#
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    21
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
295
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    22
#
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    23
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    24
<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    25
set name=pkg.fmri \
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    26
    value=pkg:/image/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    27
set name=pkg.summary \
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    28
    value="GOCR is an open source Optical Character Recognition program"
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    29
set name=pkg.description \
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    30
    value="gocr(1) is an optical character recognition program that can be used from the command line. It takes input in PNM, PGM, PBM, PPM, or PCX format, and writes recognized text to stdout."
1378
6c901b6d9116 17036827 gocr needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1251
diff changeset
    31
set name=com.oracle.info.description \
6c901b6d9116 17036827 gocr needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1251
diff changeset
    32
    value="the gocr Optical Character Recognition program"
6c901b6d9116 17036827 gocr needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents: 1251
diff changeset
    33
set name=com.oracle.info.tpno value=8587
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    34
set name=info.classification \
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    35
    value="org.opensolaris.category.2008:Applications/Graphics and Imaging"
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    36
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
464
08f94c414553 7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 295
diff changeset
    37
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    38
set name=org.opensolaris.arc-caseid value=LSARC/2008/746
295
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    39
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    40
file usr/bin/$(MACH64)/gocr path=usr/bin/gocr
295
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    41
file README path=usr/share/gocr/doc/README
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    42
file doc/examples.txt path=usr/share/gocr/doc/examples.txt
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    43
file doc/gocr.html path=usr/share/gocr/doc/gocr.html
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    44
file examples/handwrt1.jpg path=usr/share/gocr/examples/handwrt1.jpg
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    45
file examples/handwrt1.readme path=usr/share/gocr/examples/handwrt1.readme
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    46
file usr/bin/$(MACH64)/gocr.tcl path=usr/share/gocr/gocr.tcl mode=0555
295
ae0cd5b7bed2 7053226 move gocr to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    47
file path=usr/share/man/man1/gocr.1
1197
2cb98ee9bc03 PSARC 2013/054 gocr 0.49
Rich Burridge <rich.burridge@oracle.com>
parents: 629
diff changeset
    48
license gocr.license license=GPLv2