specs/SUNWtango-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 19963 2be24100fe2e
child 20368 486a51627a23
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
     1 #
     2 # spec file for package SUNWtango-icon-theme
     3 #
     4 # includes module(s): tango-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 erwannc
    11 #
    12 %include Solaris.inc
    13 %include base.inc
    14 
    15 %use tango = tango-icon-theme.spec
    16 
    17 Name:                    SUNWtango-icon-theme
    18 IPS_package_name:        gnome/theme/tango-icon-theme
    19 Meta(info.classification): %{classification_prefix}:Desktop (GNOME)/Theming
    20 Summary:                 Tango icon theme
    21 Version:                 %{tango.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 BuildRequires: SUNWicon-naming-utils
    30 BuildRequires: SUNWimagick
    31 
    32 %if %build_l10n
    33 %package l10n
    34 Summary:                 %{summary} - l10n files
    35 SUNW_BaseDir:            %{_basedir}
    36 %include default-depend.inc
    37 Requires:                %{name}
    38 %endif
    39 
    40 %prep
    41 rm -rf %name-%version
    42 mkdir %name-%version
    43 
    44 mkdir %name-%version/%{base_arch}
    45 %tango.prep -d %name-%version/%{base_arch}
    46 
    47 %build
    48 export PKG_CONFIG=/usr/bin/pkg-config
    49 PKG_CONFIG_DISABLE_UNINSTALLED=
    50 unset PKG_CONFIG_DISABLE_UNINSTALLED
    51 
    52 %tango.build -d %name-%version/%{base_arch}
    53 
    54 %install
    55 rm -rf $RPM_BUILD_ROOT
    56 
    57 %tango.install -d %name-%version/%{base_arch}
    58 
    59 %if %build_l10n
    60 %else
    61 # REMOVE l10n FILES
    62 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
    63 %endif
    64 
    65 %{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
    66 
    67 %clean
    68 rm -rf $RPM_BUILD_ROOT
    69 
    70 
    71 %files
    72 %defattr(-, root, bin)
    73 %dir %attr (0755, root, sys) %{_datadir}
    74 %dir %attr (0755, root, bin) %{_datadir}/icons/Tango
    75 %{_datadir}/icons/Tango/*/emotes/*
    76 %{_datadir}/icons/Tango/*/categories/*
    77 %{_datadir}/icons/Tango/*/devices/*
    78 %{_datadir}/icons/Tango/*/status/*
    79 %{_datadir}/icons/Tango/*/places/*
    80 %{_datadir}/icons/Tango/*/mimetypes/*
    81 %{_datadir}/icons/Tango/*/actions/*
    82 %{_datadir}/icons/Tango/*/apps/*
    83 %{_datadir}/icons/Tango/*/animations/*
    84 %{_datadir}/icons/Tango/*/emblems/*
    85 %{_datadir}/icons/Tango/index.theme
    86 %doc -d %{base_arch} tango-icon-theme-%{tango.version}/README
    87 %doc -d %{base_arch} tango-icon-theme-%{tango.version}/AUTHORS
    88 %doc(bzip2) -d %{base_arch} tango-icon-theme-%{tango.version}/COPYING
    89 %doc(bzip2) -d %{base_arch} tango-icon-theme-%{tango.version}/NEWS
    90 %doc(bzip2) -d %{base_arch} tango-icon-theme-%{tango.version}/ChangeLog
    91 %doc(bzip2) -d %{base_arch} tango-icon-theme-%{tango.version}/po/ChangeLog
    92 %dir %attr (0755, root, other) %{_datadir}/doc
    93 %dir %attr (0755, root, other) %{_datadir}/icons
    94 
    95 %if %build_l10n
    96 %files l10n
    97 %defattr (-, root, bin)
    98 %dir %attr (0755, root, sys) %{_datadir}
    99 %attr (-, root, other) %{_datadir}/locale
   100 %endif
   101 
   102 %changelog
   103 * Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
   104 - Updated BuildRequires to fit SourceJuicer.
   105 * Sun Jan  3 2010 - christian.kelly@sun.com
   106 - Fix %files.
   107 * Fri Nov 20 2009 - christian.kelly@sun.com
   108 - Fix %files, add %changelog.