pkgbuild/pkgbuild.spec
changeset 11 7002e18f9aec
parent 6 678173477765
equal deleted inserted replaced
10:013ce4d15ea3 11:7002e18f9aec
    13 %{?!pkgbuild_prefix:%define pkgbuild_prefix /usr}
    13 %{?!pkgbuild_prefix:%define pkgbuild_prefix /usr}
    14 %define _prefix %{pkgbuild_prefix}
    14 %define _prefix %{pkgbuild_prefix}
    15 
    15 
    16 %define srcname pkgbuild
    16 %define srcname pkgbuild
    17 %define _pkg_docdir %_docdir/%srcname
    17 %define _pkg_docdir %_docdir/%srcname
       
    18 %include packagenamemacros.inc
    18 
    19 
    19 Name:         SFEpkgbuild
    20 Name:         SFEpkgbuild
    20 IPS_Package_Name: package/pkgbuild
    21 IPS_Package_Name: package/pkgbuild
    21 License:      GPL
    22 License:      GPL
    22 Group:        Development/Tools
    23 Group:        Development/Tools
    56 Meta(info.classification):	org.opensolaris.category.2008:System/Packaging
    57 Meta(info.classification):	org.opensolaris.category.2008:System/Packaging
    57 %endif
    58 %endif
    58 
    59 
    59 %ifos Solaris
    60 %ifos Solaris
    60 Requires:     SUNWbash
    61 Requires:     SUNWbash
    61 Requires:     SUNWperl510core
    62 Requires:     %pnm_requires_perl_default
    62 Requires:     library/perl-5/xml-xpath
    63 Requires:     library/perl-5/xml-xpath
    63 Requires:     SUNWgpch
    64 Requires:     SUNWgpch
    64 %else
    65 %else
    65 Requires:     perl >= 5.0.0
    66 Requires:     perl >= 5.0.0
    66 Requires:     patch
    67 Requires:     patch
    84 # patch for publishing to a local repository via the file protocol
    85 # patch for publishing to a local repository via the file protocol
    85 #%patch3
    86 #%patch3
    86 # patch to make pkgbuild recognize xz compressed archives
    87 # patch to make pkgbuild recognize xz compressed archives
    87 %patch5
    88 %patch5
    88 %patch6 -p1
    89 %patch6 -p1
       
    90 # patch to get IPS_package_name tags from packages.xml and set them
    89 %patch7 -p1
    91 %patch7 -p1
    90 # stop pkgtool from building source packages
    92 # stop pkgtool from building source packages
    91 # Originally, pkgtool called pkgbuild with -bb, not -ba. Really, an option controlling this should be added.
    93 # Originally, pkgtool called pkgbuild with -bb, not -ba. Really, an option controlling this should be added.
    92 %patch8 -p1
    94 %patch8 -p1
    93 
    95