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