specs/SUNWhicolor-icon-theme.spec
author Jon Tibble <meths@btinternet.com>
Sat Oct 06 16:11:50 2012 +0100 (2012-10-06)
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17937 664c0536875a
child 20341 9b62d6a9b069
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
     1 #
     2 # spec file for package SUNWhicolor-icon-theme
     3 #
     4 # includes module(s): hicolor-icon-theme
     5 #
     6 # Copyright 2009 Sun Microsystems, Inc.
     7 # This file and all modifications and additions to the pristine
     8 # package are under the same license as the package itself.
     9 #
    10 %define owner calumb
    11 #
    12 %include Solaris.inc
    13 %include base.inc
    14 
    15 %use hicolor = hicolor-icon-theme.spec
    16 
    17 Name:                    SUNWhicolor-icon-theme
    18 IPS_package_name:        gnome/theme/hicolor-icon-theme
    19 Meta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
    20 Summary:                 GNOME Hi Color Icon Theme
    21 Version:                 %{hicolor.version}
    22 SUNW_BaseDir:            %{_basedir}
    23 SUNW_Copyright:          %{name}.copyright
    24 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
    25 
    26 %include default-depend.inc
    27 BuildRequires: SUNWgtk2
    28 BuildRequires: SUNWgtk2-devel
    29 
    30 %prep
    31 rm -rf %name-%version
    32 mkdir %name-%version
    33 
    34 mkdir %name-%version/%{base_arch}
    35 %hicolor.prep -d %name-%version/%{base_arch}
    36 
    37 %build
    38 export PKG_CONFIG=/usr/bin/pkg-config
    39 PKG_CONFIG_DISABLE_UNINSTALLED=
    40 unset PKG_CONFIG_DISABLE_UNINSTALLED
    41 
    42 %hicolor.build -d %name-%version/%{base_arch}
    43 
    44 %install
    45 rm -rf $RPM_BUILD_ROOT
    46 
    47 %hicolor.install -d %name-%version/%{base_arch}
    48 
    49 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
    50 
    51 %clean
    52 rm -rf $RPM_BUILD_ROOT
    53 
    54 
    55 %files
    56 %defattr(-, root, other)
    57 %dir %attr (0755, root, sys) %{_datadir}
    58 
    59 %{_datadir}/icons/hicolor/*/animations
    60 %{_datadir}/icons/hicolor/*/categories
    61 %{_datadir}/icons/hicolor/*/emotes
    62 %{_datadir}/icons/hicolor/*/mimetypes
    63 %{_datadir}/icons/hicolor/*/intl
    64 %{_datadir}/icons/hicolor/*/devices
    65 %{_datadir}/icons/hicolor/*/status
    66 %{_datadir}/icons/hicolor/*/places
    67 %{_datadir}/icons/hicolor/*/filesystems
    68 %dir %{_datadir}/icons/hicolor/*/actions
    69 %{_datadir}/icons/hicolor/*/emblems
    70 %{_datadir}/icons/hicolor/*/apps
    71 %{_datadir}/icons/hicolor/*/stock/object
    72 %{_datadir}/icons/hicolor/*/stock/text
    73 %{_datadir}/icons/hicolor/*/stock/image
    74 %{_datadir}/icons/hicolor/*/stock/code
    75 %{_datadir}/icons/hicolor/*/stock/navigation
    76 %{_datadir}/icons/hicolor/*/stock/table
    77 %{_datadir}/icons/hicolor/*/stock/io
    78 %{_datadir}/icons/hicolor/*/stock/data
    79 %{_datadir}/icons/hicolor/*/stock/media
    80 %{_datadir}/icons/hicolor/*/stock/chart
    81 %{_datadir}/icons/hicolor/*/stock/net
    82 %{_datadir}/icons/hicolor/*/stock/form
    83 %{_datadir}/icons/hicolor/index.theme
    84 
    85 %doc -d %{base_arch} hicolor-icon-theme-%{hicolor.version}/README
    86 %doc(bzip2) -d %{base_arch} hicolor-icon-theme-%{hicolor.version}/COPYING
    87 %doc(bzip2) -d %{base_arch} hicolor-icon-theme-%{hicolor.version}/ChangeLog
    88 %dir %attr (0755, root, other) %{_datadir}/doc
    89 
    90 %changelog
    91 * Thu Nov 19 2009 - christian.kelly@sun.com
    92 - Adding a %changelog. Fixing directory permissions.