docs/template.spec
author Guido Berhoerster <gber@openindiana.org>
Mon, 25 Oct 2010 22:04:53 +0200
changeset 0 10291c5dc856
permissions -rw-r--r--
Initial revision.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     1
#
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     2
# spec file for package: [pkg name]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     3
#
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     4
# This file and all modifications and additions to the pristine
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     5
# package are under the same license as the package itself.
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     6
#
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     7
# includes module(s): [pkg module(s)]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     8
#
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
     9
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    10
%define owner [owner]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    11
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    12
%include Solaris.inc
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    13
%include oi-extra.inc
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    14
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    15
Name:           [pkg name]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    16
Summary:        [short description]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    17
Version:        [pkg version]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    18
License:        [license type (ie. GPLv2, BSD...)]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    19
Url:            [url to open source project]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    20
Source:         [url to compressed tarball]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    21
Group:          [ips pkg classification]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    22
Distribution:   OpenIndiana
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    23
Vendor:         OpenIndiana
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    24
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    25
SUNW_Basedir:   %{_basedir}
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    26
SUNW_Copyright: %{name}.copyright
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    27
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    28
%include default-depend.inc
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    29
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    30
# OpenSolaris IPS Package Manifest Fields
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    31
Meta(info.upstream):            [name email of open source project leader]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    32
Meta(info.maintainer):          [name email of ips pkg porter/maintainer]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    33
Meta(info.repository_url):      [open source code repository]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    34
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    35
%description
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    36
[long description]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    37
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    38
%prep
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    39
[pre-build commands]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    40
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    41
%build
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    42
[build commands]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    43
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    44
%install
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    45
[install commands]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    46
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    47
%clean
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    48
[cleanup commands]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    49
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    50
%files
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    51
[file groups and permissions]
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    52
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    53
%changelog
10291c5dc856 Initial revision.
Guido Berhoerster <gber@openindiana.org>
parents:
diff changeset
    54
[change log entries]